The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
PhotoPost vBGallery - Forum Home Details »» | |||||||||||||||||||||||||
Ok it's Beta time !!!!!
Please only install to beta test. Even thow I have it running there may be problems still in the works. (there were many countless errors in the past) - Feedback Please :squareeyed: /* -----------------12/13/2005 6:41pm ----------------- Add Gallery Images to your Forum Index v1.7 (vB 3.5) Tested on:
Demo: - http://www.gzhq.net/forums/index.php // ------------------------------------------------------ Overview:
Hack includes: - Hack Active (yes / no) - Enable Navbar (yes / no) - Image Count (number of images) - Image Order (Random, Newest, Most Views, Most Comment, Highest Rated) - Exclude Catagories - Only Catagories - On/Off options for all of the "info" per image - If gallery is not active hack will vanish (all usergroups) ** Admin will get "Alert: The gallery is currently turned off!" on FORUMHOME - If gallery settings of a usergroup does not see "thumbnails" the hack will vanish - No Template edits Change Log =========== 1.7 Beta 2 - 01.17.06 - Fixed usergroups not able to see the hack - Fixed sort order problems 1.7 - Install w/ product and 2 edits in 1 file. - Killed the need for FORUMHOME template edit. - AdminCP options to change the hack settings - Added: Parts of the gallery's Nav bar w/ dropdowns (My Stuff*, What's New, What's Popular,Search) to the hack with on/off option. * My Stuff will not be seen if you are a guest. 1.6 - Added: If the gallery is off or disabled the hack not show up. - Added: templates to support the hack vs. gallery templates (allows you to customize the templates for the look and feel you want vs. mess up the way your gallery templates look.) --------------------------------------------------*/ Whats Going On Please click " install " for updates Show Your Support
|
Comments |
#112
|
||||
|
||||
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) |
#113
|
||||
|
||||
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. |
#114
|
||||
|
||||
hmm ok ready to do file edits if that can be done.
can you give the code if its possible |
#115
|
||||
|
||||
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 --> <if condition="$forumid=1,2,3,4,5"> <if condition="$randomimagebits"> <table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%"> <thead> <tr> <td class="tcat" colspan="$vba_options[gallery_columns]"> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_gallery_random')"> <img id="collapseimg_forumhome_gallery_random" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_forumhome_randomtopic].gif" alt="" border="0"/> </a> <a href="$vba_options[gallery_url]">$vba_options[gallery_title]</a> </td> </tr> </thead> <tbody id="collapseobj_forumhome_gallery_random" style="$vbcollapse[collapseobj_forumhome_gallery_random]"> <tr>$randomimagebits</tr> </tbody> </table><br /></if></if> <!-- end Gallery Images --> edit: showthread.php HTML Code:
Find 'hidprofilecache' Replace with: 'hidprofilecache', 'gallery_c_cache', 'adv_gallery_opt', 'gallery_ugroups' 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 --> <if condition="$forumid=1,2,3,4,5"> <if condition="$randomimagebits"> <table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%"> <thead> <tr> <td class="tcat" colspan="$vba_options[gallery_columns]"> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_gallery_random')"> <img id="collapseimg_forumhome_gallery_random" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_forumhome_randomtopic].gif" alt="" border="0"/> </a> <a href="$vba_options[gallery_url]">$vba_options[gallery_title]</a> </td> </tr> </thead> <tbody id="collapseobj_forumhome_gallery_random" style="$vbcollapse[collapseobj_forumhome_gallery_random]"> <tr>$randomimagebits</tr> </tbody> </table><br /></if></if> <!-- end Gallery Images --> |
#116
|
||||
|
||||
Quote:
Plugin: Forumhome: Gallery Main Find: require_once('./includes/class_bbcode.php'); after add: $show['category'] = true; |
#117
|
|||
|
|||
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 |
#118
|
|||
|
|||
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 |
#119
|
|||
|
|||
Quote:
where is this code located? |
#120
|
||||
|
||||
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. // Useage: $catlimit = 3,5,10,30,70; // $catlimit = 3; // Enter 1 newest, 2 most viewed, 3 most comments, 4 highest rated, 5 random. $galleryorderby = 5; Added Extra Options // If you DON'T want these fields to show then value = "0" (zerro) $showfields['title'] = 0; $showfields['description'] = 0; $showfields['rating'] = 0; $showfields['user'] = 0; $showfields['dateline'] = 0; $showfields['views'] = 0; $showfields['dimensions'] = 0; $showfields['filesize'] = 0; $showfields['posts'] = 0; $showfields['lastpost'] = 0; $show['category'] = 0; |
#121
|
|||
|
|||
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 |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|