The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
![]()
It happens I'm working on an update to a mod that ignores a list of forums. Here's a little code snippet for not listing selected forums:
Code:
$ignore_array = array(11,12,23,24); //example of forum id's you don't want to show $cache = array(); foreach($vbulletin->forumcache AS $forumcache) { $i = $forumcache['forumid']; if(!in_array($i, $ignore_array)) { $cache[$i] = $forumcache; } } $vbulletin->forumcache = $cache; |
3 благодарности(ей) от: | ||
fxdigi-cash, kh99, MarkFL |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|