forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: Oracle9 on March 22, 2007, 09:18:28 pm

Title: Rating photos able to see each voter name ?
Post by: Oracle9 on March 22, 2007, 09:18:28 pm
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
Title: Re: Rating photos able to see each voter name ?
Post by: Stramm on March 24, 2007, 08:19:15 am
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