forum.coppermine-gallery.net
Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: gosha on December 17, 2004, 07:59:32 pm
-
Hi!
I have a strange problem with a "top rated" page, only first image (rating 4) is displayed correctly. Any other images after a cliecking on a thumbnail loads absolutley another image, that present on a "top rated" page on another position. This is not the case when the rating has been changed between the page loading and clicking on a thumbnail, I know that I'm alone on the site. Anyone knows something about it?
-
link?
Joachim
-
I'm sorry, but I'm preffer to email the link the the login, this is a functional private gallery...
-
then I can't help you, as I prefer not to be emailed nor contacted by PM. I'm not so sure you have understood the nature of the internet though ::):
Joachim
-
Hi,
Address is http://testcf.island.ee/
I've created the thest installation with the test users and test pics, placed a test votes and got the same result.
-
unable to replicate this on the test page you posted about, it shows expected behaviour. Are you sure we're talking about "top rated" and not "most viewed"?
Joachim
-
Yes, top rated. First 2 images displays expected after a click, but all another - dont. I cleared the browser's cache, and even tried to check with another browser, still the same.
-
OK, now I can see what you mean. This is being caused by the small number of votes you have, and the fact that you allow pics with only one vote to appear on the top rated page. I'm not sure wether a fix has been posted already, please search the board.
Joachim
-
Did not found any solution ???
;) any advices welcome
-
I had the same problem. I've solved it by doing this:
Replace the following in /include/functions.inc.php
ORDER BY ROUND((pic_rating+1)/2000) DESC, votes DESC $limit");
in
ORDER BY ROUND((pic_rating+1)/2000) DESC, votes DESC, pid DESC $limit");
Surfer