The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Users can select wich group of standerd titles they want
ok, I thought it could be somethin like this. In the usercp --> edit options area an extra field like
What side? Do you want to be good or evil. And then radiobuttons with either good or evil. And that you can edit the titles for both groups in the admin center. So that you have either good or evil And that other members see your title the way you selected it. Hope you understand what I mean |
#2
|
||||
|
||||
hmm, wouldn't be easy to do, because there are more than one file where the usertitle changes
steps to do (theoretically) add one field to usertitle table for example titlesetid add one field to usertable titlesetid edit file admin/user.php to alter the autotitling when editing a user edit file admin/usertitle.php to add a inputbox for titleset id.. edit file newreply.php (same as in user.php) i think also newthread.php too also member.php to give users the chance to select setid and at least one templatemod i'd say you better wait for vb3 because i saw in the already suggested: User title ladder sets for specific usergroups than it should be easier to make what ya want |
#3
|
||||
|
||||
I guess a workaround might be possible:
Add a new mandatory user profile field via Admin CP, then edit register.php and member.php to add a small "if" conditional which changes its default textbox behaviour to a select box (or radio button) with 2 options: evil/good (btw why dont u include nautral? hehe) Then you can add this profile field to postbit template.. |
#4
|
||||
|
||||
has anyone done this yet?
|
#5
|
||||
|
||||
Why this can be a full release hack? Because one section of the code (the part where users past selection is auto selected in edit profile page) requires a custom code which will change in every user according to the profile field info you are using in this hack. But other than that part, here is the hack you wanted:
1- First note profile field id of the profile field you want to convert to radio button or select menu. 2- Now create a new template with this info: TEMPLATE NAME: select_field CONTENT: PHP Code:
3- In member.php AND register.php, find: PHP Code:
PHP Code:
But please remember my warning above: this does not auto-select previous selection of the user when user edits his profile because this section's code would be different according to your select menu items.. Enjoy.. |
#6
|
||||
|
||||
I am very interested in using this. Is it a full release hack yet and/or has anyone implemented it yet?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|