hm
very strange
i don't understand this
the is_member_of is built this way:
PHP Code:
// #############################################################################
/**
* Works out if a user is a member of the specified usergroup(s)
*
* This function can be overloaded to test multiple usergroups: is_member_of($user, 1, 3, 4, 6...)
*
* @param array User info array - must contain userid, usergroupid and membergroupids fields
* @param integer Usergroup ID to test
* @param boolean Pull result from cache
*
* @return boolean
*/
function is_member_of(&$userinfo, $usergroupid, $cache = true)
as 2 parameter it gets many integers ( all the usergroupid's)
when i now have in my option: 2,3,4 it should look like this:
PHP Code:
if (is_member_of($vbulletin->userinfo, 2,3,4))
{
and this should be ok :/
very strange
i think i have to check this part one more time
thx for your help

i
opened a thread because i think its a important point^^