View Full Version : Random Thumbs
- possibility to add only the Random Thumbs in the header of some forums and not only in forumhome page.
Morgan
12-26-2005, 06:11 AM
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:
Content visible to registered users only.
Use $photoplog_forumhome right after $navbar appears in the FORUMHOME and FORUMDISPLAY templates.
Thank's work fine, but if I want the "random thumbs" only in one or two forum and not in all forums?
:o
Morgan
12-27-2005, 07:46 PM
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).
Content visible to registered users only.
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.
:cool:
thank's.
Morgan
12-28-2005, 10:46 PM
Go to ACP -> Plugin System -> Plugin Manager -> Edit PhotoPlog Forum Home Thumbs and replace:
Content visible to registered users only. With the following:
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:
Content visible to registered users only. And then replace:
Content visible to registered users only. With the following:
Content visible to registered users only. So that, for example, if $forumid is 3 then the PhotoPlog category IDs 7,8,9 are used.
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.
:)
- 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?
Morgan
02-18-2006, 09:50 PM
Is question one answered in this (http://www.photoplog.com/forum/showpost.php?p=31&postcount=4) post? Not quite sure what question two means. :(
Loco.M
04-03-2006, 08:21 AM
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, :)
Loco.M
04-05-2006, 02:26 AM
I made the tag like post #4 the forums that i want to show are 3,4 and 1 is the one I don't want to show.. I still have some images from 1 show in the random block ?
Loco.M
04-05-2006, 05:14 AM
I may of had a picture in the wrong spot, when I clicked it looks in the right place ? anyways I just deleted the section I don't want to show in the random slide.. I'll try adding one later and will try this code again then.
Content visible to registered users only.
Ciao,
if I use this mods on vb 3.6.0 and photoplog 2.0.5 in who's online page all users status is "viewving photoplog" but is false..
Morgan
09-09-2006, 04:47 PM
Untested but go to ACP -> Plugin System -> Plugin Manager -> Edit PhotoPlog WOL Preprocess and find:
Content visible to registered users only.
And replace that line with the following:
Content visible to registered users only.
vBulletin® v3.8.5, Copyright ©2000-2025, Jelsoft Enterprises Ltd.