The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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? |
#2
|
|||
|
|||
Just seeing if anyone has a solution for this?
|
#3
|
|||
|
|||
this would be very useful
|
#4
|
||||
|
||||
Any update on this???
|
#5
|
|||
|
|||
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> |
#6
|
||||
|
||||
scratch that, I figured it out.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|