The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Change Forum Display On Index
I am trying to limit the forums that are displayed on the index. I want to have only one forum listed on the index page and the rest removed.
I know this can be done by hiding the forums in the acp but I would like them to be physically removed from the index not just hidden. I believe this would be done by changing "forumdisplay.php" to only display a selected number of forums, again I would like to do this within the code of vbulletin and not the database. I have looked at the following files, function_forumdisplay.php forumdisaply.php And I am sure there is a way in the code but I am not a programmer so unable to determine what to change to limit the forum id's it draws from the datase. Again I would like to do this through the code of vbulletin and not the database. Any one have any ideas? |
#2
|
||||
|
||||
Just set the display order of the forum to zero?
|
#3
|
|||
|
|||
Are you saying to do that from the admin panel?
Thats what I am trying to avoid, if i do in the amdincp it will change it in the database. I want to do this at a code level so the php code only draws a select forum (s) to display. Does that make sense? |
#4
|
||||
|
||||
Is there a problem with that? Seriously. All it changes is a display order...
|
#5
|
|||
|
|||
Yes thats the whole point, if I do it at a database level it affects multiple domains that is because the database is shared.
If I can do it at a code level it affects only the coded site. |
#6
|
||||
|
||||
The forums are fetched in construct_forum_bit() (functions_forumlist.php). However, from memory, there are no appropriate hooks to use, so you will most likely have to edit that file directly.
Also note that what you're doing may require more than one vBulletin license. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|