I like it. Click Install
Quote:
Originally Posted by vbb-vietnam
I don't want forums isn't active appear the latest replies column. How to ?
Forum isn't Active mean: Will not appear but remains accessible if the forum's URL is known
(Edit in ACP -> Forum Manager -> Chose Forum, see blow:
Forum is Active (Will not appear if set to no, but remains accessible if the forum's URL is known)
)
|
Hi vbb-vietnam. I understand and I think I can help you
Open
topXstats.php and plugin
Top 'X' Stats by InfiniteWebby (Hook Location : forumhome_complete)
Find:
PHP Code:
// ## HIDE FORUMS WITHOUT THE CANVIEW, CANVIEWOTHERS OR CANSEEDELNOTICE PERMISSION ##
if (!($forumpermissions[$forum["forumid"]] & $vbulletin->bf_ugp_forumpermissions['canview']) AND !$vbulletin->options['showprivateforums']) {
$excludedforums = $excludedforums . ',' . $forum['forumid'];
}
Add Below
PHP Code:
// ## HIDE FORUMS WITHOUT THE Not ACTIVE, DISPLAYORDER=0 ##
if (!$forum['displayorder'] OR !($forum['options'] & $vbulletin->bf_misc_forumoptions['active']) AND !$getinvisibles)
{
$excludedforums = $excludedforums . ',' . $forum['forumid'];
}
If i have time, I will write it as a option in ACP for U.
Enjoy it, compatriot