View Full Version : Random Images on Index page not showing all
September 28th, 2005, 08:06 AM
I have Random images set to show on index page but not all windows are showing images.
This changed after the upgrade to 5.2.
Site is Here (http://www.iloco.org/photopost/index.php)
September 28th, 2005, 09:48 AM
i have this same problem.
September 28th, 2005, 10:27 AM
I'll have to look into it, but the problem may be that when the cache is refreshed it takes on the permissions of the user when refreshing it.
September 28th, 2005, 10:41 AM
I think you are right Michael. If I close out of my forum for a few and come back I can see all the random images. If I relaod the page then only 7 of the 10 are showing.
Same with uploading a test image it takes for ever before it shows in Recent Photos as the last image to be uploaded. :)
September 28th, 2005, 10:47 AM
I set cache to 0 and now they show every time I refresh the page. Its something to do with cache when it was set at default 10.
What is the advantage when its set to a number like 10 or is it ok to use 0 for the cache settings.
Not sure I understand what the cache is all about. :)
September 28th, 2005, 11:12 AM
Do you have alot of categories that are "private" to different usergroups?
The number is an indiciation of how many minutes the cache should be used before being refreshed.
September 28th, 2005, 11:14 AM
None of my categories are private to different usergroups.
All user groups can view same categories.
September 28th, 2005, 11:41 AM
The problem is caused when you have two Random Image PALs running on the page.
In pp-inc.php at line 615, change it to:
$grabnum = $Globals['recentnum'] + 5;
September 28th, 2005, 01:09 PM
Thanks for the fix. I have changed mine.
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.