![]() |
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?
|
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> |
Thanks, I might give it a try. Is it also possible to give admission to certain usergroups only?
|
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."
|
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. |
All times are GMT. The time now is 06:56 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:
|