The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
How to get forum name?
Hello
Is there any way to fetch forum name in some variable? The one you set in Admincp->Options->Site Name / URL / Contact Details Forum Name (Name of your forum. This appears in the title of every forum page.) Like is there any way to fetch that text using $vbulletin->????["????"]; if no then how do i fetch it? |
#2
|
||||
|
||||
If you are in debug mode, you can hover over the option in the Options page and it will tell you the name of the variable. In this case it is $vbulletin->options['bbtitle']
|
#3
|
||||
|
||||
Thank you very much.. that did the trick.
I have another small problem. When i create 1 global phrase with message : My Website Name : $vboptions[bbtitle]. It doesnt give me my website name and instead it prints $vboptions[bbtitle] as it is. I also tried with following text : My Website Name : $vboptions['bbtitle']. Kindly help. --------------- Added [DATE]1261568012[/DATE] at [TIME]1261568012[/TIME] --------------- somebody please help. |
#4
|
||||
|
||||
You don't do it that way. You create a phrase like:
Code:
My Website Name : {1} Code:
{vb:rawphrase your_phrase, {vb:raw vboptions.bbtitle}} |
#5
|
||||
|
||||
Thanks a million Lynne... yap again!! lolz
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|