PDA

View Full Version : Info shown in a thread


Andr? Noberto
03-19-2013, 05:22 AM
I've made this sentence to change the forum's logo according to the forum. It works perfectly!
This plugin change the location of image the header, but it can't identify in which forum it is.

the code takes off the 'X' logo inside 'Y' forums. But if I access a thread inside 'Y' forum, it'll show the 'X' logo. Do you know guys any way to make the code work inside the thread too?

$forumid_array = array(159,160,161,162,163,164,165,166,167,168,169, 170,171,172,173,174,175,176);
if($vbulletin->options['change_logo'] AND array_search($_GET['f'], $forumid_array) !== FALSE)

kh99
03-19-2013, 01:39 PM
Try replacing $_GET['f'] with $GLOBALS['forumid']

Andr? Noberto
03-19-2013, 02:18 PM
thank you! it works perfectly