![]() |
Hide/Show Profile Fields per Usergroup
I'd like for some custom profile fields to only be viewable by certain user groups, but others only viewable by admins/mods.
Is there any way to specify which private fields are viewable by which usergroups? |
Just seeing if anyone has a solution for this?
|
this would be very useful
|
Any update on this???
|
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> |
scratch that, I figured it out.
|
All times are GMT. The time now is 12:12 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|