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 |
#202
|
|||
|
|||
For those wanting it in forumdisplay.. Just change the "Depth of Forums - Forum Display" option to 1.
However, This doesn't quite display correctly if you have "Act as a Forum" set to "No" for the subforum when you have: Parent Forum -> Child Forum -> Subforum (that only acts as a category) -> More Subforums -> Threads. If you have a setup like this, adding the $forumid to "Exclude Forum" in the Subforum Manager doesn't work either... and I'm not sure why. I included an image of how it doesn't display correctly. Attachment 61912 Notice that it uses the "tcat" class, and also has the collapse button which is not needed since nothing will be displaying under it. Fixing these few things is simple: Open forumhome_forumbit_level1_nopost and find: Code:
<tbody> <tr> <td class="tcat" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>"> Code:
<tbody> <tr> <td class="<if condition="!in_array($forumid, array(X,Y,Z))">tcat<else />alt1</if>" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>"> Now for getting rid of the collapse button. In the same template find: Code:
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a> Code:
<if condition="!in_array($forumid, array(X,Y,Z))"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a></if> It should now look like this:Attachment 61913 Not done yet! If you want to fix that column spacing, add the $forumid of that subforum to the "Forum Exclude" in the Subforum Manager. The columns will now space the same as Subforum (Act as forum) in the attached pictures. I haven't tested this thoroughly, but I haven't had problems either. If it's not working, make sure the $forumid's you are using are the actual $forumid's of the subforum.. i.e. "Test Subforum (Category Only)" in the images. ------------------------------------------ Also, if ALL of the subforums you have are "Category Only" you may want to get rid of the table with the Forum, Last Post, Threads, and Posts for that forum, since it won't display post counts, etc. To do this go to forumdisplay. Find: Code:
<thead> <tr align="center"> <td class="thead"> </td> <td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td> <td class="thead" width="175">$vbphrase[last_post]</td> <td class="thead">$vbphrase[threads]</td> <td class="thead">$vbphrase[posts]</td> <if condition="$vboptions[showmoderatorcolumn]"> <td class="thead">$vbphrase[moderator]</td> </if> </tr> </thead> Code:
<if condition="!in_array($forumid, array(X,Y,Z))"><thead> <tr align="center"> <td class="thead"> </td> <td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td> <td class="thead" width="175">$vbphrase[last_post]</td> <td class="thead">$vbphrase[threads]</td> <td class="thead">$vbphrase[posts]</td> <if condition="$vboptions[showmoderatorcolumn]"> <td class="thead">$vbphrase[moderator]</td> </if> </tr> </thead></if> I'm pretty sure with all this info, Cybernetec may be able to incorporate this into the product?? It would be easy to add 2 more Exclude boxes for the 2 conditionals I added above, right? Edit: For some reason "Exclude Forums" doesn't work at all on my forum... It just makes the columns closer together.. does this happen for anyone else? Edit: Nevermind. I understand what the Exclude is for now. I thought it HID the subforums entirely. It just gets rid of the column formatting. |
#203
|
||||
|
||||
*Installed* That was one of the easiest things I've ever done!! Now I feel stupid for putting if off so long LOL I guess I just kinda got it in my head that the cooler the hack the harder it will be to install... apparently that is not the case! Thanks a bunch!! Always, Bree (3.6.5)
|
#204
|
||||
|
||||
I have a forum which has about 10 subforums,
Is it possible to "hide those subforums only" not other subforums from the forumhome? But in forumdisplay it will show them. It would be greate if I only need to specifiy the parent forum to do that. This will be helpfull. Thanks in advance,, |
#205
|
||||
|
||||
Is it possible that i disable Posts Count just for one section ???
Thanks |
#206
|
|||
|
|||
install thanks
|
#207
|
|||
|
|||
Great Excelent Super
rating 11/10 |
#208
|
||||
|
||||
Quote:
any idea !?! |
#209
|
|||
|
|||
Still woking great on my vB 3.6.4. Many thanks.
Suggestion: Support for more than one sub-forum level. Category Sub-forum A (threads/posts) Sub-forum BSub-sub-forum 1 (threads/posts)Sub-sub-forum 2 (threads/posts)Sub-forum C (threads/posts) |
#210
|
|||
|
|||
I'll update this hack soon anyway... please be patient.
|
#211
|
||||
|
||||
Sure and thanks for all ur activities and support |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|