![]() |
anyway to make this work so that the images are shown only in a specific forumdisplay rather than the forumhome?
eg if i have a movie forum, then in that forumdisplay i want to show the images from the gallery (moovie subsection) |
Quote:
This hack edits forums/index.php. To show on a fourmdisplay there will have to be some edits to forumdisplay.php and/or showthread.php. Untill VB DEVS re-code $specialtemplates to allow a plugin. |
hmm ok ready to do file edits if that can be done.
can you give the code if its possible :) |
Quote:
1) edit plugin: Forumhome: Gallery Main change hook to: forumdisplay_complete 2) edit forumdisplay.php PHP Code:
Now add the following in your 'FORUMDISPLAY' template where you would like the images to appear change $forumid to forums you want. Code:
<!-- start Gallery Images --> edit: showthread.php HTML Code:
Find Now add the following in your 'SHOWTHREAD' template where you would like the images to appear change $forumid to forums you want. Code:
<!-- start Gallery Images --> |
Quote:
Plugin: Forumhome: Gallery Main Find: require_once('./includes/class_bbcode.php'); after add: $show['category'] = true; |
Quote:
Thank you so much for looking into this for me. I have added the code as per your instructions and I get the same error. Thank you, Michael |
I opted to use this http://www.vbadvanced.com/forum/showthread.php?t=10224
Until we can figure out why the call member function is not working correctly for me. Thank you! Michael |
Quote:
where is this code located? |
Quote:
Old code: now looks like this. USEAGE: When you create the Module: Title Row Colspan: image count (you choose a value) Admincp => Plugin Manager => Hook Location : forumhome_complete => Forumhome: Gallery Main => EDIT Code:
// If you HASH out "$catlimit" images will pull from all categories. |
I had some serious problems when I installed this. It worked at first, but then threw off my entire forum. I'd like to run it, so please let me know when there is an update or other people are running this stable.
-V |
All times are GMT. The time now is 06:01 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|