Author Topic: Top Images  (Read 5468 times)

0 Members and 1 Guest are viewing this topic.

Offline Neo1

  • Full Member
  • ***
  • Posts: 202
    • View Profile
    • http://www.terradreams.de/
Top Images
« on: April 13, 2003, 07:44:13 PM »
Is there a way to show Top-Votes and Top Ratings in Toplist the right way?
I try to show you the problem.
Users in my gallery can vote from 1 to 10. If there are more than one image with a 10, the images has to be sorted from most 10 votes to less.
Look here: http://www.terradreams.de/gallery/top_rate.php
Quote
On first place = 10 Points (2 votes)
On place 18 = 10 points (14 votes)

So the image on place 18 is much better. I get many mails from users cause they think the list is wrong.


Same on Top-Votes http://www.terradreams.de/gallery/top_vote.php
Same votes but less points are sometimes higer in the list.
Is there a way to show the list the right way (better images first)?

Offline Biggi

  • Jr. Member
  • **
  • Posts: 74
    • View Profile
    • http://www.bibodia.de/
Top Images
« Reply #1 on: April 13, 2003, 11:52:05 PM »
Hi  :wink:

try this please:

find in top.php
 
Code: [Select]
// Rating

4 lines unter it you'll find "ORDER by i.image_rating" etc.

Replace this line with

 
Code: [Select]
ORDER BY i.image_rating DESC, i.image_votes DESC


The problem should be solved  :)

Offline Neo1

  • Full Member
  • ***
  • Posts: 202
    • View Profile
    • http://www.terradreams.de/
Top Images
« Reply #2 on: April 14, 2003, 02:19:14 AM »
Thanks a lot  :D  thats what i need

Offline Biggi

  • Jr. Member
  • **
  • Posts: 74
    • View Profile
    • http://www.bibodia.de/
Top Images
« Reply #3 on: April 14, 2003, 06:33:28 AM »
Jawoll - SO siehts gut aus  :D  Warum unterhalten wir uns hier eigentlich in englisch?? :D  :D  :D

Offline Neo1

  • Full Member
  • ***
  • Posts: 202
    • View Profile
    • http://www.terradreams.de/
Top Images
« Reply #4 on: April 14, 2003, 11:26:54 AM »
Quote from: Biggi
Jawoll - SO siehts gut aus  :D  Warum unterhalten wir uns hier eigentlich in englisch?? :D  :D  :D

Hab ich mich auch gerade gefragt als ich auf Deiner HP "Herzlich Willkommen" gelesen hab  :D
Ja....englisch hab ich mir hier angewöhnt weil bei meinen deutschen postings bisher fast niemand reagiert hat *g*


@Cr@zy Sash: Teilweise fällt es mir schon schwer auf englisch genau zu erkläre wo das Problem liegt. Die Schule liegt schon lange zurück ;)

Offline Biggi

  • Jr. Member
  • **
  • Posts: 74
    • View Profile
    • http://www.bibodia.de/
Top Images
« Reply #5 on: April 14, 2003, 05:08:22 PM »
@ Cr@zy Sash:
es war scherzhaft gemeint, weil ich auf terradreams eine deutsche Seite gesehen habe. Just a little joke to NEO1, OK? In general I'm writing in english because I've already noticed the german minority at this place  :roll: