The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
Would it be possible to set a forum so it doesn't display on the main index with the other forums, but in the forum jump dropdown boxes, it's there as normal?
|
|
#2
|
||||
|
||||
|
There is one easy way I can think of right now.
In functions.php, change this: Code:
$iforums=$DB_site->query('SELECT forumid,parentid,displayorder,title FROM forum WHERE displayorder<>0 AND active=1 ORDER BY parentid,displayorder,forumid');
Code:
$iforums=$DB_site->query('SELECT forumid,parentid,displayorder,title FROM forum WHERE active=1 ORDER BY parentid,displayorder,forumid');
I guess you can add another 'special option' for the display order, let's say -1, but that would take more hacking. |
|
#3
|
||||
|
||||
|
That looks like just what I need
All I want is for my zine-related forums to not appear in the main community listing, so this should be perfect.Thanks as always!
|
|
#4
|
||||
|
||||
|
Just a followup... this doesn't work
They neither display on the forum index OR on the forumjump (I definitely want them displayed on the latter)...Any ideas? ![]() Frustratingly yours Mark
|
|
#5
|
||||
|
||||
|
just add these forums manually to the forumjump template.
eg, place <option value="1">Forum No 1</option> there. |
|
#6
|
||||
|
||||
|
I have multiple template sets, and if I ever need to change which forums are viewable or not, re-editing the templates would be a pain in the bum to say the least
|
|
#7
|
||||
|
||||
|
Ok, I'm sorry.
It's not displayed because it's using a cache already set in a previous code, so it doesn't use what I told you to replace. Sorry. ![]() Only way I can think of is not using the forum cache at all, but that would really slow down the forumjump box. |
|
#8
|
||||
|
||||
|
Ok, that's cool FF
It was more just the icing on the cake rather than something essential ![]() You can't have the answers all the time! ![]() Thanks ![]() Mark |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|