PhotoPlog

Go Back   PhotoPlog > PhotoPlog Lite > "How Do I..." Questions
Screens Demo Purchase Download Register

Reply
Attention: Last reply in this thread was more than 16 Years ago
 
Thread Tools
  #1  
Old 01-14-2008, 06:48 PM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
Green Plog
 
Join Date: Jul 2007
Posts: 14
Gallery: 2
Comments: 1
Arrow Random Appearance/Disappearance of Thumbnails

A few months ago I asked about getting Photoplog thumbs to not show thumbs from a certain category. http://www.photoplog.com/forum/showthread.php?t=1538

The final solution worked fine for me, but when I upgraded today and made the edit to the settings.php file, something strange happened.

If you take a look at the page, you may see thumbs, you may not. Each time I refresh the page, or re-click the gallery link, it's random. Sometimes the thumbs show, sometimes they don't show at all. Any reason why that would happen?
Reply With Quote
  #2  
Old 01-14-2008, 08:17 PM
Morgan's Avatar
Morgan Morgan is offline
Head Plog
Admin
 
Join Date: Dec 2005
Posts: 5,324
Gallery: 10
Comments: 25
Default

This was by design to prevent the selection of all rows from the table, i.e., a way to optimize an ORDER BY RAND() query without grabbing all the rows. The downside, especially for small galleries, is that sometimes no random thumbnails show. As you currently have a small gallery, remove the following from the query in the PhotoPlog Forum Home Thumbs plugin, but as the gallery gets bigger, you should put it back:
Code:
Content visible to registered users only.
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks.
While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams
Reply With Quote
  #3  
Old 01-14-2008, 09:46 PM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
Green Plog
 
Join Date: Jul 2007
Posts: 14
Gallery: 2
Comments: 1
Default

Alrighty, thank you. So I could safely comment this line out until the Gallery grows a little larger?
Reply With Quote
  #4  
Old 01-15-2008, 09:33 PM
Morgan's Avatar
Morgan Morgan is offline
Head Plog
Admin
 
Join Date: Dec 2005
Posts: 5,324
Gallery: 10
Comments: 25
Default

Yep, you can remove that line, but bigger galleries should keep that line.
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks.
While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams
Reply With Quote
Reply

Tags
disappear, reappear, settings.php, thumbs

« Previous Thread | Next Thread »

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Vbadvanced change thumbnails to random Daz wilde "How Do I..." Questions 1 04-19-2010 10:44 PM
File List and Random Thumbnails Images missing Marris Troubleshooting & Problems 7 01-19-2006 04:54 PM


All times are GMT. The time now is 02:32 PM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.