Advanced search  

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

Pages: [1]   Go Down

Author Topic: Rating photos able to see each voter name ?  (Read 1973 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.019 seconds with 20 queries.