PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro Bug Reports (http://www.photopost.com/forum/photopost-pro-bug-reports/)
-   -   Random Images on Index page not showing all (http://www.photopost.com/forum/photopost-pro-bug-reports/115875-random-images-index-page-not-showing-all.html)

iloco September 28th, 2005 08:06 AM

Random Images on Index page not showing all
 
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
User: test
Pass: test

SaN-DeeP September 28th, 2005 09:48 AM

i have this same problem.

Michael P 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.

iloco 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. :)

iloco 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. :)

Michael P 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.

iloco September 28th, 2005 11:14 AM

None of my categories are private to different usergroups.
All user groups can view same categories.

Michael P 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;

iloco September 28th, 2005 01:09 PM

Thanks for the fix. I have changed mine.


All times are GMT -5. The time now is 01:24 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97