PhotoPlog

Go Back   PhotoPlog > PhotoPlog Lite > Troubleshooting & Problems
Screens Demo Purchase Download Register

Reply
Attention: Last reply in this thread was more than 16 Years ago
 
Thread Tools
  #11  
Old 04-24-2008, 05:15 AM
Morgan's Avatar
Morgan Morgan is offline
Head Plog
Admin
 
Join Date: Dec 2005
Posts: 5,324
Gallery: 10
Comments: 25
Default

The query says, "Get five random items that are not in moderation." There isn't an error in the query, and assuming there are no files in moderation, the only other thing I can think of is that maybe you have a cache type add-on. The change you made looks find, and there is nothing in the code that needs to be fixed. Something else seems to be interfering with the results. One thing you can try is to run the following query in phpMyAdmin and see whether you get five results:
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
  #12  
Old 05-27-2008, 07:27 PM
outlook outlook is offline
Green Plog
 
Join Date: Apr 2008
Posts: 14
Gallery: 0
Comments: 0
Default

I had put this on the back burner, but now I'm working on it again. I got this msg when I ran the query.
Code:
Content visible to registered users only.
Thx
Reply With Quote
  #13  
Old 05-28-2008, 03:47 PM
Morgan's Avatar
Morgan Morgan is offline
Head Plog
Admin
 
Join Date: Dec 2005
Posts: 5,324
Gallery: 10
Comments: 25
Default

Add your PhotoPlog table prefix (found in the photoplog_prefix.php file) to the photoplog_fileuploads table name and then run the query.
__________________
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
  #14  
Old 06-12-2008, 10:15 PM
outlook outlook is offline
Green Plog
 
Join Date: Apr 2008
Posts: 14
Gallery: 0
Comments: 0
Default

Sorry I keep coming back to this. I ran the query and it was fine. Glad to report that 5 thumbs are now showing, but sometimes they do sometimes they are completely gone.

How can I get it to constantly show images. Currently I have 10 uploaded.

Pls help. Thx for the other assistance.
Reply With Quote
  #15  
Old 06-13-2008, 01:13 AM
Morgan's Avatar
Morgan Morgan is offline
Head Plog
Admin
 
Join Date: Dec 2005
Posts: 5,324
Gallery: 10
Comments: 25
Default

The 'PhotoPlog Forum Home Thumbs' plugin is coded to avoid a full table scan, so it is possible that less that five thumbs show, especially for small galleries. You'll need to edit the plugin and remove the line in bold red, but that also removes the reduction in examined rows, so if the gallery ever gets big, you should put the line 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
  #16  
Old 06-14-2008, 05:08 AM
outlook outlook is offline
Green Plog
 
Join Date: Apr 2008
Posts: 14
Gallery: 0
Comments: 0
Default

Still not working with or without the line. Here's the entire code. All 5 thumbs will show at once, but if you refresh they all disappear. I do have some empty categories, but that shouldn't make a difference right? BTW the thumbs is located in the main gallery. Here a link to my site to get a better understanding PSO. Thx.

Code:
Content visible to registered users only.
Reply With Quote
  #17  
Old 06-14-2008, 11:21 AM
Morgan's Avatar
Morgan Morgan is offline
Head Plog
Admin
 
Join Date: Dec 2005
Posts: 5,324
Gallery: 10
Comments: 25
Default

You didn't remove the variable. See the red bit in the below quote.
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
  #18  
Old 06-15-2008, 01:40 AM
outlook outlook is offline
Green Plog
 
Join Date: Apr 2008
Posts: 14
Gallery: 0
Comments: 0
Default

Thanks for the response...It's like when you take a car in to be fixed...

Code:
Content visible to registered users only.
I did remove it, then I put it back to see if that would make a difference, but it didn't. So I have removed it again, and still it either shows or removes photos entirely. Thx for the help you're providing.

Code:
Content visible to registered users only.
Reply With Quote
  #19  
Old 06-16-2008, 05:11 AM
Morgan's Avatar
Morgan Morgan is offline
Head Plog
Admin
 
Join Date: Dec 2005
Posts: 5,324
Gallery: 10
Comments: 25
Default

The code is fine. The only other things I can think of for you to check are as follows:
  • There are no files in moderation
  • The PhotoPlog Forum Home Thumbs plugin is active
  • The $photoplog_forumhome variable is in vB FORUMHOME template for the skin you are using
Nothing else comes to mind, so if it's not one of those things, I'm not sure what else to offer up for suggestions.
__________________
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
  #20  
Old 06-19-2008, 03:56 AM
outlook outlook is offline
Green Plog
 
Join Date: Apr 2008
Posts: 14
Gallery: 0
Comments: 0
Default

Code:
Content visible to registered users only.
Thanks for the check. Replies to your thoughts:
1. None
2. Yes
3. The photos aren't in forumhome, I'm referring to the actual product page. Please see here. If they do happen to show, refresh your window a couple of times to see what I mean how they disappear.

BTW, this is the original vb I just changed the colors in the template itself.

Thx for the help.
Reply With Quote
Reply

« 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
$photoplog_forumhome not displaying rgourley "How Do I..." Questions 2 03-30-2006 04:48 PM


All times are GMT. The time now is 12:52 AM.


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