View Full Version : User Titles based upon Reputation, not post count?
Antivirus
09-03-2005, 10:03 PM
Would anyone happen to know what and where I would need to change in order to have the User Titles for members change based upon Reputation Point Level instead of Post Count?
Currently in the default installation of 3.5rc2 in AdminCP>UserTitles>UserTitleManager this is governed by each user's total post count. I would like to hack this so it is instead, governed by each user's Reputation point level.
Thanks!
phlogiston
09-03-2005, 10:20 PM
as another method, if you don't need seperate Reputation hover comments you could use them in place of User Titles and get away with just a template edit an customising them :)
Antivirus
09-03-2005, 11:14 PM
Ooo that sounds like a much better approach, what variables should i look for and replace? I assume i'll have to do so in postbit and possibly some others? thanks!
phlogiston
09-03-2005, 11:46 PM
hrmm, yout have a point I never thought of - it's not just a matter of the postbit templates! :S
In the two postbits though look for $post[usertitle] and try replacing it with $post[level]
You may get away with only needing to do the same in MEMBERINFO
- I'm assuming here you don't let users override the user titles and have their own custom text there? If so then that you won't be able to do a straight replace like this.
Antivirus
09-03-2005, 11:57 PM
hrmm, yout have a point I never thought of - it's not just a matter of the postbit templates! :S
In the two postbits though look for $post[usertitle] and try replacing it with $post[level]
You may get away with only needing to do the same in MEMBERINFO
- I'm assuming here you don't let users override the user titles and have their own custom text there? If so then that you won't be able to do a straight replace like this.
correct, no custom user titles for users. So $post[level] is the user reputation level and i'll replace $post[usertitle] with that in postbit. I suppose it's called something else in the view user profile, perhaps $user[usertitle] and $user[level] respectively?
Thanks!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.