The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Cobo - Subforum Hidden (hides specific subforums from forum) Details »» | |||||||||||||||||||||||||||||||||||
Cobo - Subforum Hidden (hides specific subforums from forum)
Developer Last Online: Apr 2015
Description
This modification is used to hide specific subforums from listing on your forum (forumhome) while leaving others displaying. In practice, on your boards you have a couple sections with a lot of subforums like the news and announcements area or community help area and it's starting to clutter your forum. But you do not want to hide all the subforums using the forum listing display options, all you need to do is enter the IDs of the subforums you wish not to display and it will hide them from the forum. So when you click on the category or sub category, they will appear as normal child categories, not as sub forums listing under the category. *refer to screenshot below if unclear* Requirements - Forum display listing options to be enabled (e.x. 2, 1, 1). Install/Upgrade 1. Download and import the product (overwrite if upgrading). 2. Navigate to the following path: Admin Control Panel -> Styles & Templates -> Style Manager -> Your Style -> Forum Home Templates 3. Open up both forumhome_subforumbit_nopost and forumhome_subforumbit_post and add the following if condition (in green) surrounding all the code within it. Code:
<if condition="in_array($forumid, $subforum_hidden) == false"> Your Existing Code </if> (refer to the appendix to view my files if unclear) 4. Edit the Cobo - Subforum Hidden options in the vBulletin options area of the administrative control panel and enjoy! Appendix forumhome_subforumbit_nopost Code:
<if condition="in_array($forumid, $subforum_hidden) == false"> <img class="inlineimg" src="$stylevar[imgdir_statusicon]/subforum_$forum[statusicon].png" alt="" border="0" id="forum_statusicon_$forum[forumid]" /> <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a> </if> forumhome_subforumbit_post Code:
<if condition="in_array($forumid, $subforum_hidden) == false"> <img class="inlineimg" src="$stylevar[imgdir_statusicon]/subforum_$forum[statusicon].png" alt="" border="0" id="forum_statusicon_$forum[forumid]" /> <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a> </if> Revision Log 1.0.0 - Initial release. Download Now
Screenshots
Supporters / CoAuthors Show Your Support
|
Благодарность от: | ||
xorex |
Comments |
#2
|
|||
|
|||
Can't see any screenshot.
|
#3
|
|||
|
|||
Screenshots added, I took three screenshots. One of the boards, one of the forums via the administrative control panel and one via the vBulletin options. Should show a clear example of what this modification does.
The reason it was created is because I found countless posts picked up by Google asking how to hide specific sub forums, this is the ultimate solution to that problem for 3.8.x. |
#4
|
||||
|
||||
I would strongly suggest going forward you include installation instructions in a text file and include it in a zip file so when a user downloads they have all the instructions in one place.
|
#5
|
|||
|
|||
Thanks for the suggestion, I'll be sure to do that for any further releases. For now they will need to follow the instructions on the thread and then download the product.
|
#6
|
|||
|
|||
good job ! Installed
|
#7
|
||||
|
||||
You ripped my forum category names lol.
|
#8
|
|||
|
|||
I am considering releasing a more up-to-date version of this. I've done some tweaking to this modification. None the less, enjoy.
|
#9
|
|||
|
|||
I am now developing a newer version of this modification with a few improvements. I will post the upgrade shortly. For all those that marked it as installed I appreciate the support.
|
#10
|
|||
|
|||
This is just what I need, when do you expect to release the update?
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|