View Full Version : Calling text from a textarea.
PaulSonny
04-13-2008, 08:58 PM
Hello everyone,
I have a message in my admincp, in a text area. I want to display this message on a page.
How do I call the text from that text box and display it on a page?
Thanks, Paul.
MoT3rror
04-13-2008, 09:28 PM
I believe it is
PHP:
$vbulletin->options['optionname']
Template
$vboptions['optionname']
PaulSonny
04-13-2008, 09:40 PM
Not sure what I am doing with this, i normally use a phrase but I want this message to be customisable. Basically, if the modification is disabled, display the custom message entered in the admincp.
if ($vbulletin->options['helpcenter_enable'] == 0)
{
show_alert($vbulletin->options['helpcenter_offline_message']);
}
Can anyone help?
Thanks, Paul.
Dismounted
04-14-2008, 06:12 AM
Create a Admin CP option, and use it like you have done.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.