wolfe
10-18-2007, 02:41 PM
i have 5 forums in a vboption sepereated by commas (,)
and i use this code but its only working for the first forum in the list.
if (in_array($foruminfo['forumid'], array($vbulletin->options['info_forumids'])))
{
eval('print_output("' . fetch_template('newinfo') . '");');
} else {
eval('print_output("' . fetch_template('newthread') . '");');
}
is it right
and i use this code but its only working for the first forum in the list.
if (in_array($foruminfo['forumid'], array($vbulletin->options['info_forumids'])))
{
eval('print_output("' . fetch_template('newinfo') . '");');
} else {
eval('print_output("' . fetch_template('newthread') . '");');
}
is it right