PDA

View Full Version : [SOLVED] Exception forum condition code dose not working


omardealo
11-01-2016, 03:35 PM
That My Code And i think is correct but i don't know where is the problem



$forums = explode(",", $vbulletin->options['forums']);

if ($vbulletin->options['form_onoff'] AND in_array($foruminfo['forumid'], $forums))
{
//CODE
}

MarkFL
11-01-2016, 04:50 PM
Try adding:

global $foruminfo;

to the beginning of your plugin.

omardealo
11-02-2016, 03:48 AM
Try adding:

global $foruminfo;

to the beginning of your plugin.

i already try it
global $db ,$vbulletin ,$foruminfo;

but now is working , I discovered that the problem from another plugin in same Mod

Thanks Bro :up: