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 18 Years ago
 
Thread Tools
  #1  
Old 12-26-2005, 05:50 AM
Jaki's Avatar
Jaki Jaki is offline
Green Plog
 
Join Date: Dec 2005
Location: Italia
Posts: 8
Gallery: 0
Comments: 0
Default

- possibility to add only the Random Thumbs in the header of some forums and not only in forumhome page.
Reply With Quote
  #2  
Old 12-26-2005, 07:11 AM
Morgan's Avatar
Morgan Morgan is offline
Head Plog
Admin
 
Join Date: Dec 2005
Posts: 5,324
Gallery: 10
Comments: 25
Default

Here's how to add Random Thumbs on forum home and forum display with PhotoPlog Lite.
  • Go to ACP -> Plugin System -> Plugin Manager -> Edit PhotoPlog Forum Home Thumbs
  • Change the Hook Location from forumhome_complete to global_start
  • Wrap the Plugin PHP Code in an if statement:
    Code:
    Content visible to registered users only.
  • Use $photoplog_forumhome right after $navbar appears in the FORUMHOME and FORUMDISPLAY templates.
__________________
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 12-27-2005, 08:36 PM
Jaki's Avatar
Jaki Jaki is offline
Green Plog
 
Join Date: Dec 2005
Location: Italia
Posts: 8
Gallery: 0
Comments: 0
Default

Thank's work fine, but if I want the "random thumbs" only in one or two forum and not in all forums?

Reply With Quote
  #4  
Old 12-27-2005, 08:46 PM
Morgan's Avatar
Morgan Morgan is offline
Head Plog
Admin
 
Join Date: Dec 2005
Posts: 5,324
Gallery: 10
Comments: 25
Default

Wrap using this if statement instead, where 1,3,5 is replaced with comma separated forumids that you'd like for thumbs, i.e., if you want thumbs on forumids 2 and 4 just change 1,3,5 to 2,4 or if you want thumbs on forumid 6 only, just change 1,3,5 to 6 (the OR THIS_SCRIPT == 'index' bit shows thumbs on forum home but you can remove it if you want).
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
  #5  
Old 12-28-2005, 05:25 AM
Jaki's Avatar
Jaki Jaki is offline
Green Plog
 
Join Date: Dec 2005
Location: Italia
Posts: 8
Gallery: 0
Comments: 0
Default

Wow, work!

Just last question: is it possible to add only a "random thumbs" of that category in a specific forum?
If I have a category, example hovers, I would want the "random thumbs" to make to see only the images of that category.



thank's.
Reply With Quote
  #6  
Old 12-28-2005, 11:46 PM
Morgan's Avatar
Morgan Morgan is offline
Head Plog
Admin
 
Join Date: Dec 2005
Posts: 5,324
Gallery: 10
Comments: 25
Default

Go to ACP -> Plugin System -> Plugin Manager -> Edit PhotoPlog Forum Home Thumbs and replace:
Code:
Content visible to registered users only.
With the following:
Code:
Content visible to registered users only.
Where 7,8,9 are category IDs from ACP -> PhotoPlog -> Category Manager.

You could be a bit more fancy by setting the following right before the query:
Code:
Content visible to registered users only.
And then replace:
Code:
Content visible to registered users only.
With the following:
Code:
Content visible to registered users only.
So that, for example, if $forumid is 3 then the PhotoPlog category IDs 7,8,9 are used.
__________________
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
  #7  
Old 12-29-2005, 05:53 AM
Jaki's Avatar
Jaki Jaki is offline
Green Plog
 
Join Date: Dec 2005
Location: Italia
Posts: 8
Gallery: 0
Comments: 0
Default

Thank's.

I allow me to say these:

If it were you possible you should add therefore the choice in the PhotoPlog Pro version of:

- to add or no the "random thumbs" to all forums
- to add or no the "random thumbs" only to specific id forums
- to add or no the "random thumbs" only to a forums rather than to all

or to consider the content of this 3d to insert the configurations in the xml file.

Last edited by Jaki; 12-29-2005 at 05:55 AM..
Reply With Quote
  #8  
Old 02-18-2006, 05:50 AM
Jaki's Avatar
Jaki Jaki is offline
Green Plog
 
Join Date: Dec 2005
Location: Italia
Posts: 8
Gallery: 0
Comments: 0
Default

- is it possible to activate only the random thumbs for two, three forums, and not for the other whole forumses?

- is it possible that the random thumbs in these forums both that related to that two or three forums?
Reply With Quote
  #9  
Old 02-18-2006, 10:50 PM
Morgan's Avatar
Morgan Morgan is offline
Head Plog
Admin
 
Join Date: Dec 2005
Posts: 5,324
Gallery: 10
Comments: 25
Default

Is question one answered in this post? Not quite sure what question two means.
__________________
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
  #10  
Old 04-03-2006, 09:21 AM
Loco.M Loco.M is offline
Orange Plog
 
Join Date: Mar 2006
Location: Kansas
Posts: 115
Gallery: 1
Comments: 2
Default

works great, thank you, is this a phrase "random thumbs" where can i edit these words to "gallery" or something,, thx

*edit, nvm found it,

Last edited by Loco.M; 04-03-2006 at 09:24 AM..
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
Random thumbs do not appear lordtopcat Troubleshooting & Problems 1 02-24-2008 05:52 AM


All times are GMT. The time now is 04:37 AM.


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