The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
How can I decode the forum options?
For example, I would like to know the following information from the column 'options' thats in the forum table. Act as Forum (Will act as category if no) Forum is Active (Will Not Appear if No) Forum is Open (Set this to 'No' to prevent any new posts being made in this forum) Right now all it says is: 86017 Thanks! |
#2
|
||||
|
||||
![]() Quote:
![]() |
#3
|
||||
|
||||
![]()
I see. Thanks Zachery,
So if I wanted to find out if it's acting as a forum, active, and opened, what would i do? |
#4
|
||||
|
||||
![]()
argh i can't seem to figure this out, I tried something like this, but no dice:
$getforums = $DB->query("SELECT * FROM " . $tableprefix . "forum WHERE (options & 1)"); I chose 1 because I saw this in the init.php: $_FORUMOPTIONS = array( 'active' => 1, 'allowposting' => 2, 'cancontainthreads' => 4, |
#5
|
||||
|
||||
![]()
Nevermind, I figured it out
![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|