The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Allow/Disallow Title changes based on Member ID
I told my first 200 member that they would be able to keep Founding Member Status and also to be able to change their titles.
I am not going to let members after member ID 200 change their titles....they get titles based on post counts. I figured out how to display/not display the title section on the profile screen, but the count logic kicks in and nukes whatever title someone enters.... Can someone give me a good place to start looking so that I can write the code myself to NOT let the count logic overwrite titles if the userid < 201 ??? thanks in advance... - jeff |
#2
|
||||
|
||||
I would suggest changing the usergroup of first 200 members and give necessary permissions for their usergroup. This would solve your problem without a need to hack..
|
#3
|
||||
|
||||
I've look at that but all usergroups seem to be based on number of posts. Am I missing something or is there a way to create groups based on member id????
- jeff |
#4
|
||||
|
||||
H?mm sorry my bad.. Anyway here is your hack:
First find the 200th user's userid, from admin cp Edit member.php Find: -- cut -- if ($ctEnable == 1 and $customtext) {// Custom Titles are ON, Make sure user can actually use them and isn't trying to manipulate them through forms $ctShowTitle = 0; -- cut -- BEFORE THAT ADD: -- cut -- if ($bbuserinfo[userid]<=X) {$ctEnable = 1;} else {$ctEnable = 0;} -- cut -- (Replace X with the 200th user's userid!) ADD the same line, just BEFORE this line too: -- cut -- if ($ctEnable == 1) { // Custom Titles are ON $ctShowTitle = 0; -- cut -- Not tested but should work.. Enjoy! Logician \\=^)) |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|