|
Attention: Last reply in this thread was more than 16 Years ago |
|
Thread Tools |
#11
|
||||
|
||||
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 |
#12
|
|||
|
|||
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. |
#13
|
||||
|
||||
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 |
#14
|
|||
|
|||
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. |
#15
|
||||
|
||||
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 |
#16
|
|||
|
|||
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. |
#17
|
||||
|
||||
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 |
#18
|
|||
|
|||
Thanks for the response...It's like when you take a car in to be fixed...
Code:
Content visible to registered users only. Code:
Content visible to registered users only. |
#19
|
||||
|
||||
The code is fine. The only other things I can think of for you to check are as follows:
__________________
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 |
#20
|
|||
|
|||
Code:
Content visible to registered users only. 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. |
|
|
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 |