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

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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