Page 1 of 1

Hot or not fix

PostPosted: Sat Apr 01, 2006 10:35 am
Author: Simon N
Just found a bug when using the "hot or not" section in the album.

When you rate a photo within the hot or not section you will find you get a message that says click here to rate another photo. When clicking that link you then get a 404 file not found.

This is because the link was not formatted correctly...so here is the fix.

OPEN album_hotornot.php

FIND -around line 282
Code: Select all
      $message = "Your rating has been entered successfully.<br><br>To rate more pictures click <a>here</a> to do so.<br><br>" . sprintf($lang['Click_return_album_index'], "<a>", "</a>");  


REPLACE WITH
Code: Select all
      $message = "Your rating has been entered successfully.<br><br>To rate more pictures click <a>here</a> to do so.<br><br>" . sprintf($lang['Click_return_album_index'], "<a>", "</a>");  


SAVE & CLOSE

This should then make the link work correctly. I know its a minor bug as the page does refresh and load the next picture but it may as well be fixed.

Re: Hot or not fix

PostPosted: Sat Apr 22, 2006 1:22 pm
Author: RedRobin
Nice fix! <img>

Re: Hot or not fix

PostPosted: Wed Jun 07, 2006 6:37 am
Author: maddocks
Hey, nice find, thanks

Maddocks