![]() |
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? |
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']
|
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. :) |
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}} |
Thanks a million Lynne... yap again!! lolz :p
|
All times are GMT. The time now is 03:11 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|