Rating photos able to see each voter name ? Rating photos able to see each voter name ?
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Rating photos able to see each voter name ?

Started by Oracle9, March 22, 2007, 09:18:28 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Oracle9

I read the topic :
http://forum.coppermine-gallery.net/index.php?topic=36276.msg170417;topicseen#msg170417
And I made Stramm instructions (1&2) :
1-add a uid field to the stats table and in rating.php
2- Modify the rating.php to store it in the db , and it work perfect

Now the stats table capture the user_ID

But I still do not know how I display it from the stat_details.php .
any help please ?
I hope it work and I will post the full instruction , think it's very usfull at least to control or give the impression to non serious member that others can see their voting .
Regards

Stramm

you need to extend the query in the stats_details.php file and extend the code to reflect your additional details

-> you need to join the tables USERS and VOTE_STATS and probably do the counting outside the query to make things not to difficult