Quote:
Originally Posted by Remulon
Great, thanks Dismounted.
What I need to know now is where that variable is assigned its value, once the value has been retrieved from the database.
This is so that I can use the variable that I have added to the setting table in the same manner..
ie: $vbulletin->options['bbtitle_discrete']
|
At a guess the setting is in a loop of data from the db, like
while name=>value
option[name] = value
I don't know where that would be.
Here's a grep of all the include files that reference it, hope it helps
adminfunctions.php:124: <b><a href="../<?php echo $vbulletin->options['forumhome']; ?>.php"><?php echo $vbulletin->options['bbtitle']; ?></a></b><br />
adminfunctions.php:260: case 'AdminCP': $titlestring = iif($title, "$title - ") . $vbulletin->options['bbtitle'] . " - vBulletin $vbphrase[admin_control_panel]"; break;
adminfunctions.php:261: case 'ModCP': $titlestring = iif($title, "$title - ") . $vbulletin->options['bbtitle'] . " - vBulletin $vbphrase[moderator_control_panel]"; break;
adminfunctions.php:262: case 'Upgrade': $titlestring = iif($title, "vBulletin $title - ") . $vbulletin->options['bbtitle']; break;
adminfunctions.php:263: case 'Install': $titlestring = iif($title, "vBulletin $title - ") . $vbulletin->options['bbtitle']; break;
adminfunctions.php:264: default: $titlestring = iif($title, "$title - ") . $vbulletin->options['bbtitle'];
class_bbcode.php:2331: 'html' => '<a href="' . $prepend_path . 'showthread.php?' . $vbulletin->session->vars['sessionurl'] . 't=%2$s" title="' . htmlspecialchars_uni($vbulletin->options['bbtitle']) . ' - ' . $vbphrase['thread'] . ' %2$s">%1$s</a>',
class_bbcode.php:2345: 'html' => '<a href="' . $prepend_path . 'showthread.php?' . $vbulletin->session->vars['sessionurl'] . 'p=%2$s#post%2$s" title="' . htmlspecialchars_uni($vbulletin->options['bbtitle']) . ' - ' . $vbphrase['post'] . ' %2$s">%1$s</a>',
class_mail.php:196: $mailfromname = construct_phrase($this->fetch_first_line($vbphrase['x_mailer']), $vbulletin->options['bbtitle']);
class_mail.php:200: $mailfromname = $vbulletin->options['bbtitle'];
class_mail.php:218: $mailfromname = "$username @ " . $vbulletin->options['bbtitle'];
functions_online.php:214: $userinfo['where'] = '<a href="' . $vbulletin->options['forumhome'] . '.php' . $vbulletin->session->vars['sessionurl_q'] . '">' . $vbulletin->options['bbtitle'] . '</a>';
functions_online.php:892: $userinfo['where'] = '<a href="index.php?' . $vbulletin->session->vars['sessionurl'] . '">' . $vbulletin->options['bbtitle'] . '</a>';
functions_online.php:933: $userinfo['where'] = '<a href="' . $vbulletin->options['forumhome'] . '.php' . $vbulletin->session->vars['sessionurl_q'] . '">' . $vbulletin->options['bbtitle'] . "</a>";
functions_online.php:947: $userinfo['where'] = '<a href="' . $vbulletin->options['forumhome'] . '.php' . $vbulletin->session->vars['sessionurl_q'] . '">' . $vbulletin->options['bbtitle'] . "</a>";
functions_online.php:963: $userinfo['where'] = '<a href="' . $vbulletin->options['forumhome'] . '.php' . $vbulletin->session->vars['sessionurl_q'] . '">' . $vbulletin->options['bbtitle'] . "</a>";
functions.php:2602: $title = $vbulletin->options['bbtitle'];
functions.php:2730: $title = $vbulletin->options['bbtitle'];
line numbers are for 3.6.6