I am actually working on this right now....
Create a bitfield XML for a Product.
Then within the hook profle_editprofile_start:
$djperms = $permissions['radiodj_settings'] & $vbulletin->bf_ugp['radiodj_settings']['radiodj_allowed'];
$show['dj_info'] = ($djperms == 0 ? false : true );
Then within the modifyprofile template, have a conditional
<if condition="$show['dj_info']">
...
</if>
|