zetetic
04-17-2005, 01:10 PM
I've just figured out that this code:
$html_allowed=array(6); // add more by seperating each by commas in the ()'s: (6,8,19)
// ********************* REMOVE HTML CODES ***************************
if(!$dohtml && !in_array($userinfo[usergroupid],$html_allowed)&& !in_array($post[usergroupid],$html_allowed))
which is part of this mini-mod (https://vborg.vbsupport.ru/showthread.php?t=75590), will only work if the groupid's in $html_allowed are primary groups.
What would I change to make it check secondary group memberships too?
$html_allowed=array(6); // add more by seperating each by commas in the ()'s: (6,8,19)
// ********************* REMOVE HTML CODES ***************************
if(!$dohtml && !in_array($userinfo[usergroupid],$html_allowed)&& !in_array($post[usergroupid],$html_allowed))
which is part of this mini-mod (https://vborg.vbsupport.ru/showthread.php?t=75590), will only work if the groupid's in $html_allowed are primary groups.
What would I change to make it check secondary group memberships too?