PDA

View Full Version : Forum name?


Xplorer4x4
10-21-2005, 12:38 AM
What is the variable to show a forum name?

Is $showforumname correct by any chance?

Omega Prime
10-21-2005, 01:12 AM
I believe it's this:

$vboptions[bbtitle]

Marco van Herwaarden
10-21-2005, 05:09 AM
In 3.5 that would be $vbulletin->options['bbtitle']

Paul M
10-21-2005, 05:15 AM
In 3.5 that would be $vbulletin->options['bbtitle']or still $vboptions[bbtitle] in templates ?

Marco van Herwaarden
10-21-2005, 05:28 AM
Hmm think you're right about that.

Alan @ CIT
10-21-2005, 06:19 AM
You can use (not tested, but it should work) {$vbulletin->options[bburl]} in templates

Xplorer4x4
10-21-2005, 06:20 AM
Any chance you guys help me insert this code after $thread['title'] ?

Thank you guys as it is. Also is there some where with a list of all these variables?

while($thread = $db->fetch_array($getthreads)) { $threads = true;
$thread['title'] = fetch_censored_text(fetch_trimmed_title(unhtmlspec ialchars($thread['title']), 90));
$thread['date'] = vbdate($vbulletin->options['dateformat'], $thread['lastpost'], 1);
$thread['time'] = vbdate($vbulletin->options['timeformat'], $thread['lastpost']);
$thread['preview'] = preg_replace('#\[quote(=("|"|\'|).*\\2)?\](.*)\[/quote\]#siU', '', $thread['preview']);
$thread['preview'] = htmlspecialchars_uni(fetch_trimmed_title(strip_bbc ode(fetch_censored_text($thread['preview']), false, true), $vbulletin->options['threadpreview']));
$thread['replycount'] = vb_number_format($thread['replycount']);
$thread['views'] = vb_number_format($thread['views']);