The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Cyb - Sub-Forum Manager Details »» | |||||||||||||||||||||||||
vB 3.7 VERSION HERE:
https://vborg.vbsupport.ru/showthread.php?t=177954 ====== Info: This plugin is useful when you have big number of sub-forums. It arranges them into columns. You can easily choose number of columns (1 to 7) to arange sub-forums into. There are options to enable/disable hack, exclude forums, enlarge font for sub-forums titles, hide commas, hide "Sub-Forums" phrase, show thread/reply counts, and more... Installation: -Import XML file (as product): AdminCP > Plugin System > Manage Products > [Add/Import Product] Notes: -To get this hack working you must set "Depth of Sub-Forums" to "1" in vBulletin Options > Forum Listings Display Options -To set hack options go to: AdminCP > vBulletin Options > Cyb - Sub-Forum Manager Versions: v1.0 - Apr 24. 2006. -First release v1.1 - Apr 24. 2006. -Typo fixed v1.2 - Apr 25. 2006. -TC bug fixed v1.3 - May 30. 2006. -Added ability to use original font size for subforums titles (requested) v1.4 - May 30. 2006. -Added ability to hide commas (shown after every subforum title except the last one) - requested v1.5 - May 30. 2006. -Fixed little bugs (phrase, variable) v1.6 - Aug 04. 2006. -Release of this hack for vB v3.6 v1.7 - Aug 12. 2006. -Added option to hide "Sub-Forums" phrase -Added options to customize sub-forums table attributes -Little improvements in the code v1.8 - Sep 06. 2006. -Added: Option to exclude forums -Added: Options to show thread-count or reply-count or both after sub-forum title -Hack name changed from "Cyb - Sub-Forums Arranger" to "Cyb - Forumhome Sub-Forums Manager" -Added "Product Version Checking" v1.9 - Sep 06. 2006. -Fixed bug (if you choose to arrange sub-forums into two columns it arranges it into one) -Added: When you mouseover count(s) it shows you what count(s) are for, depending on settings v2.0 - Sep 09. 2006. -Thread/post counts are hidden automatically if sub-forum is link or contains "child forums" -Added option to turn on/off extra style and counts for excluded forums v2.1 - Sep 14. 2006. -Added: Option to change text size for thread/reply counts -Fixed bug (unneded space before commas) v2.2 - May 31. 2007. -Option to hide thread/reply counts for selected sub-forums -Counts automatically hidden for sub-forums with '0' threadcount -Option to add blank lines after selected sub-forums -Options to change CSS attributes for sub-forums inner table (change background color, text size,...) -Several other improvements and general code cleanup v2.3 - Jun 01. 2007. -Fixed bug with some XHTML validation errors -Fixed bug where some sub-forums are not arranged properly v2.4 - Jun 01. 2007. -Fixed bug where excluded forums shows "Cybernetec" between sub-forums v2.5.1 - Jun 20. 2009. -Minor bugs fixed (CSS, variables, phrases, product info) If you like this hack please click INSTALL. LIVE DEMO Show Your Support
|
Comments |
#462
|
||||
|
||||
I got this working with 3.7 RC2 however today, when I went to integrate vbadvanced with my forums, something got messed up. Now my sub-forums are all listed on 1 line, for example:
Forum Name Forum Description Sub-Forums: SubForumName , SubForumName , SubForumName , SubForumName , SubForumName I have a lot of sub forums since I run a Virginia State-wide forum and I show sub-forums by city and county. I had the VBSEO addon installed so I uninstalled that thinking maybe something there was causing it, however when I turn off the cyb-sub forums addon, all sub-forums start wrapping within the forum area below the main forum. Anyone know what would be causing this? Thanks in advance, Jim |
#463
|
|||
|
|||
make sure it didn't revert any templates when you installed vbadvanced? dunno just a suggestion, maybe re-install the subforum manager xml file
|
#464
|
||||
|
||||
Quote:
Thank you for your suggestions. I tried a couple times uninstalling this addon and reinstalling it.. as well as deleting the forums and recreated them and resetting the forum information in the maintenance section. None of these worked. It's weird. This is what I did to integrate a vba page, went to VBA CMPS secton in AdminCP: 1. Created a new page of type "module" 2. Set the title to "Forum" 3. Set the Id to "forum". 4. Set the display order to 2. 5. Added the Site Navigation block to the left column. 6. Excluded the Forum module page from the Site Navigation menu. 7. Set the Forum module page as the page to integrate with. 8. Changed the "THIS_SCRIPT" variable in the index.php file to "forum_index". 9. Added "forum_index" to the "THIS_SCRIPT Integration Method" box. Integration went fine, but sub-forums are listed all on one line. If I have a lot of subforums, it will stretch the forum category table way out to the right. I just found out tonight, if I undo the integration, and put the THIS_SCRIPT variable in the index.php file back to "index", and refresh the page, this addon (cyb_sub-forums) will work again, and all subforums will be listed in columns as set in the cyb_sub-forum settings. I'm not sure where the issues is to be honest. |
#465
|
||||
|
||||
Ok, I'm not sure if this is the correct way to do this but I took a look at the plugin for this addon and noticed that the code in the "parse_templates" hook is expecting the "THIS_SCRIPT" variable in the forum index.php file to be set to "index". I modified it to look at the new value I set for the integration ("forum_index") and this seems to allow the sub-forums addon to work.
At the top of the Parse_Templates" Hook there is the following line of code: PHP Code:
PHP Code:
|
#466
|
|||
|
|||
Thank you bro!
|
#467
|
|||
|
|||
I have this hack installed and I want my sub forums to look like this. I've done everything I can imagine to get mine to config this way and nothing works.
|
#468
|
||||
|
||||
Worked on my setup. I didn't use depth 1 though, I set it to 2 on all three depths and it works beautifully for my purposes.
Thanks (Using 3.7.0 RC2 |
#469
|
|||
|
|||
Any chance of having an "include these forums" as opposed to the exclude? Or any advice on what to change to make it that way?
Also, if I have a sub-forum with no posts, the post count doesn't show and the alignment gets stuffed as those that do have posts are a little wider - can I get it to show (0/0)? |
#470
|
|||
|
|||
Seems I had a few issues as I had changed some of the styles that this mod works with (My style changes were primarily to add a <br /> after the "," so I had subforums in a sigle column by default)
I wanted this MOD to enable me to have the long sub-forums listed in several columns, but I still wanted all the "excluded" forums as a single column Long story short, I modified the mod to add two new options 1) show excluded forums as a list [forced excluded forums to be treated as a single column list] 2) show counts as 0/0 for sub-forums with no threads PS : Great work Cybernetec - I've PM'd you my modifications if you are interested |
#471
|
|||
|
|||
Quote:
Change 1 was to move the icon to the top (not necessary to solve your problem) Change 2 was the fix Code:
<tbody> <tr align="center"> <td class="alt1Active" colspan="2" align="$stylevar[left]" id="f$forum[forumid]"> <table cellpadding="0" cellspacing="0" border="0"> <tr valign="top"> <td><img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" /></td> <td><img src="$vboptions[cleargifurl]" alt="" width="9" height="1" border="0" /></td> <td width="100%"> <div> <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a> <if condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if> </div> <if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if> <if condition="$show['forumsubscription']"><div class="smallfont"><strong><a href="subscription.php?$session[sessionurl]do=removesubscription&f=$forum[forumid]" rel="nofollow">$vbphrase[unsubscribe_from_this_forum]</a></strong></div></if> <if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if> </td> </tr> </table> </td> <td class="alt2" nowrap="nowrap">$forum[lastpostinfo]</td> <td class="alt1">$forum[threadcount]</td> <td class="alt2">$forum[replycount]</td> <if condition="$vboptions['showmoderatorcolumn']"> <td class="alt1"><div class="smallfont">$forum[moderators] </div></td> </if> </tr> </tbody> <if condition="$childforumbits"> <tbody> $childforumbits </tbody> </if> Quote:
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|