Ok I have a latest thread plug in on my forum. I am wanting to be able to print the forum name in the latest thread table.
What would the code be to insert the forum name?
I am asuming it is something like this?
PHP Code:
$forum["forumid"]
I think I have that part right but I am not sure what the call function would be. Here are soem surounding lines.
PHP Code:
$threads = true;
$thread['title'] = fetch_censored_text(fetch_trimmed_title(unhtmlspecialchars($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_bbcode(fetch_censored_text($thread['preview']), false, true), $vbulletin->options['threadpreview']));
$thread['replycount'] = vb_number_format($thread['replycount']);
$thread['views'] = vb_number_format($thread['views']);
Which makes me think I am only missing the code that would go after the = sign.
Thanks to anyone who can help.