The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Looking for full vBulletin documentation
Hello,
I'm looking for full vBulletin documentation. I'm interested in learning everything - conditions like "$show['newthreadlink']", phrases etc. For example, I'd like to know what condition does work when I set "Act As Forum" to "No"? I wonder, where can I get one? |
#2
|
|||
|
|||
here is for vbulletin documentation .
http://www.vbulletin.com/docs/html/ but i dont think u can learn here about "$show['newthreadlink']" |
#3
|
|||
|
|||
Just run a var_dump($show); in a plugin to see whats been stored.
|
#4
|
||||
|
||||
Thanks. But I'd like to have list of conditions also.
|
#5
|
|||
|
|||
what?
there is no list of conditions you can put everything (all the variables from the scope ) in a condition |
#6
|
||||
|
||||
Ok. How can I know which conition to use if I want to show some HTML when "Act As Forum" set to "No" without list of conditions?
|
#7
|
||||
|
||||
Anyone?
|
#8
|
|||
|
|||
It really isn't reasonable to try and list all possible combinations of available conditionals. They vary by page, mods, etcetera, so what you need to do is var_dump like already suggested, but even then those variables might not be recognized in templates. So what do you do? You are interested in 'Act as Forum' so look at the HTML source of that ACP page to see that 'cancontainthreads' is part of the input variable, and then search the code for something that might be appropriate. Here are a couple of goodies you can find:
Code:
// example_1 $forum = $vbulletin->forumcache[$forumid]; if ($forum['options'] & $vbulletin->bf_misc_forumoptions['cancontainthreads']) { // can contain threads } else { // cannot contain threads } // example_2 if ($foruminfo['cancontainthreads']) { // can contain threads $show['threadslist'] = true; } else { // cannot contain threads $show['threadslist'] = false; } |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|