The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Let users chose between predefined user titles
I know that I can let user groups have the permission to chose their personal user title. But is there a mod letting admin define a set of user titles that are available to choose from in user CP?
|
#2
|
||||
|
||||
I don't know a mod to do this off-hand, there may be I just never cared to look...
But you could do this on your own by making a custom profile field "User Profile Fields" on the admin cp menu... Make a drop down box, add all your pre-defined titles... then add the field to display in your postbit manually.. just drop in the code: Code:
<div> $vbulletin->userinfo['field7'] </div> |
#3
|
||||
|
||||
Thanks, I might give it a try. Is it also possible to give admission to certain usergroups only?
|
#4
|
||||
|
||||
You could modify the $vbulletin->userinfo['field7'] code to be in an if statement to only display for users of certain groups but off hand I don't know how you would stop user's from outside that group from choosing a title- you can just block it from showing. Maybe put in the description "This field will not affect users in x,y,z usergroups."
|
#5
|
|||
|
|||
Yeah, the method I did was this for something similar. The only way to prevent the drop-down from showing is to create a conditional on the hook that fetches custom fields and telling it to only display for X, Y, Z.
Just put a notice saying it'll only work for certain usergroups. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|