Quote:
Originally Posted by Darat
<bitfield name="allow_bbcode_admin" group="advanced_bbcode_permissions" phrase="allow_bbcode_admin">1024</bitfield>
<bitfield name="allow_bbcode_mod" group="advanced_bbcode_permissions" phrase="allow_bbcode_mod">2048</bitfield>
|
What is 1024 and 2048?
Quote:
Originally Posted by Delphiprogrammi
well,
if u use that hack called "advanced bbcode permissions" then something like this should work
PHP Code:
if(!$vbulletin->userinfo['permissions']['advanced_bbcode_usergroup_permissions'] & !$vbulletin->bf_ugp_advanced_bbcode_usergroup_permissions['allow_bbcode_modwarn'])//this is set in the bitfield XML
{
//no permission
}
|
would work? instead of Darat's solution? And where to put it?
Details please !