View Full Version : bad link while viewing 'whats new'
June 19th, 2005, 12:11 AM
The links created for 'next image' and 'prev image' are bad while viewing the set of 'whats new' images. You can see the error in the link here:/gallery/showimage.php?i=&c=newimagesI have not found this error while viewing specific categories. Where are these links located in the templates?
June 19th, 2005, 12:37 AM
I can't seem to reproduce this problem on my 1.0.1. Does it do it in the sample gallery here on vBadvanced.com? Post a link?
June 19th, 2005, 02:23 AM
The demo gallery here is fine. I have also checked out some other galleries and they do not show my problem either. Another problem I just realized I am having is that I do not get a dhtml menu for 'whats new'. The other menus are working though.
I submitted a help ticket. :)
June 19th, 2005, 02:24 AM
Sounds like you may need to manually revert some of the Gallery templates.
June 19th, 2005, 01:02 PM
For anyone else that's having this problem, please look in your adv_gallery_navbar template for this code:
Replace with this:
And that should take care of the issue.
June 19th, 2005, 01:48 PM
Thanks Brian!! :) :) :)
June 20th, 2005, 02:45 PM
I am having similar errors with the 3 'newest images' on the gallery index. The prev/next image links are broken in the same way as above. Not sure if this was a problem before my error above was fixed.
Anyone know which template contains the prev/next image links used in the slideshow navigation?
June 21st, 2005, 03:47 PM
Should I create a new ticket?
June 21st, 2005, 04:56 PM
If you'll look in your showimage.php file for this bit of code:
$wherequery = 'images.dateline > ' . iif(!$cutoffdate OR $cutoffdate == 'lastvisit', $bbuserinfo['lastvisit'], (time() - ($cutoffdate * 86400)));
And replace it with this:
$wherequery = 'images.dateline > ' . iif($cutoffdate == 'lastvisit', $bbuserinfo['lastvisit'], (time() - ($cutoffdate * 86400)));
$limit = $vba_options['gallery_newhomeimages'];
That should take care of the problem.
June 21st, 2005, 05:10 PM
That fixed it. Thanks again Brian.
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.