Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Rating photos able to see each voter name ?  (Read 2074 times)

0 Members and 1 Guest are viewing this topic.

Oracle9

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Rating photos able to see each voter name ?
« 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
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Rating photos able to see each voter name ?
« Reply #1 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
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 20 queries.