View Full Version : [Release] Permanent + Custom User Titles For Staff (or any other user you wish)
kitzzy
06-25-2003, 10:00 PM
Author: Kitzzy
Description: On my board, I allow members to change their usertitles at will. However, I wanted staff to have a set usertitle in bold right under their name so everyone can tell who they are. This means that if they changed their user title via their profile, it will wipe out that title. We used to just change their usertitles for them manually via the admin CP so we could keep their bolded user title then add a break tag with their custom one but this got old. I know there is a hack for this but here is a quick and dirty way to do it without hacking but you will need to edit the permanent title for each user you wish to give it to but once its done, you do not have to worry about it after that.
Screenshot: (Use your imagination)
When done, your postbit will look like this:
Username
Permanent Title
Custom Title
For those whom you do not specify anything in that field, it will look like this:
Username
Custom Title
Demo: You can see this in action at any of the boards found on my sig.
TerriersRUs
06-26-2003, 08:49 PM
Installed this, it worked, and was really easy.
Thanks!!
Tony G
06-27-2003, 08:38 AM
That way works alot easier, neat idea. I've used it before. :)
MegaHertz
07-02-2003, 07:49 PM
Very nice Mod thanks.
imported_Rubicant
07-17-2003, 05:52 PM
A very nice hack, thanks! :) I've also added that field to the getinfo template above the custom title.
kitzzy
07-20-2003, 04:44 PM
Yeah I did that too, dunno why I didn't include that in there.
The Wise One
09-05-2003, 09:12 PM
greetings :)
i like the idea behind this mod. i attempted to install this mod but am running into a bit of trouble.
vbulletin version 2.3.2
i follow the steps described exactly in the text file. when i apply this, in the postbit, this is what i get:
The Wise One
Administrator<br>Administrator
i then applied the break directly to the postbit, but as mentioned above, it creates an extra space for those who have no permanent title.
any ideas why this is happening and how i can fix it?
thanks in advance :)
Ive done this before...thanks for posting this so I have a reference next time i decide to ^_^
imported_Vigile
09-19-2003, 09:39 AM
greetings :)
i like the idea behind this mod. i attempted to install this mod but am running into a bit of trouble.
vbulletin version 2.3.2
i follow the steps described exactly in the text file. when i apply this, in the postbit, this is what i get:
The Wise One
Administrator<br>Administrator
i then applied the break directly to the postbit, but as mentioned above, it creates an extra space for those who have no permanent title.
any ideas why this is happening and how i can fix it?
thanks in advance :)
I am having the same issue as this fellow is.
is there a compatabilty issue with 2.3.2 or is this a simple mistake elsewhere?
I'd like this to work as to not have a line break for those not getting a custom usertitle.
Thoughts, suggestions?
kitzzy
10-06-2003, 08:46 PM
I do not have 2.3.2 installed but it works fine on 2.3.0
maybe they've changed the templates or they way it handles HTML in 2.3.2?
How are you entering the text in the field? From the AdminCP or from the profile as a user?
Jeremy Kurucz
10-08-2003, 08:25 AM
I am getting the same problem, Kitz - and I am following the instructions correctly :) I am using vBulletin Version 2.3.2 :D
RandyP3
10-08-2003, 09:03 AM
[Edge on TP ;)]
Kitzzy, I'm using 2.2.9 and its giving me the same problem as well. Maybe you could include screenshots on where you put your line break? ;) :p
kitzzy
10-08-2003, 12:43 PM
Hmm ... ok ... will do that tonight as I am at work right now. I will post screenshots of each step.
imported_Vigile
10-11-2003, 09:06 PM
Hmm ... ok ... will do that tonight as I am at work right now. I will post screenshots of each step.
Hey kitzzy, I'm interested in these screenshots as well.
I would like to have this work as you have shown us, so I dont have to put the permanent title UNDER the user edited one.
Thanks
imported_Vigile
10-31-2003, 08:18 AM
aha!
http://www.vbulletin.com/forum/showthread.php?t=80546&highlight=profile+fields
those using 2.3.1 or higher are SOL.
FWIW, using a user.php from an old copy of 2.30 makes this mod work.
cdrive
11-01-2003, 07:19 PM
works a treat ! cheers!
imported_Michael
11-03-2003, 10:30 PM
Ok, I did this hack or modification to templates. But see for me I had to put the pagebreak (<BR>) before the custom title instead of the field for the group.
RandyP3
11-22-2003, 12:19 PM
I finally realise the problem :p You need to have a custom title that is changed already before using the mod. Yeah... and that'll make the <br> work. :nod:
imported_Michael
11-29-2003, 03:42 PM
Nothing happens! See this is what is in my template:
<a name="post$post[postid]"></a>
$post[firstnewinsert]
<normalfont><b>$post[username]</b></normalfont><br>
<smallfont><b>$post[field9]</b></smallfont>
<smallfont>$post[usertitle]</smallfont><br>
<BR>
$post[avatar]<p>
and than in the Profile Editor in the AdminCP:
Permeanent User Title: Psychic Reader<br>
imported_Michael
12-18-2003, 10:33 PM
Please help me!
deemon
12-26-2003, 03:00 PM
hi!
STEP 3: ADD TO POSTBIT
Open the "postbit" template
find "$post[usertitle]"
Right before this, add "<b>$userinfo[field5]</b>"
aand..
In the field enter whatever you wish to appear for that user in bold before their chosen custom title followed by <br>, for example: Moderator<br>
i think.. it would be nice if you place the <br> right after "<b>$userinfo[field5]</b>" like <b>$userinfo[field5]</b><br> ..
because then you dont haveto put it in to the user profile field separately .. or something like this..
RandyP3
12-27-2003, 06:23 AM
The reason why we do that is because for people without a permanent usertitle, it'll have a gap between the user name and the user title itself. :)
WaterTrooper
01-28-2004, 08:41 PM
Really nice little hack. :)
David Coutts
02-13-2004, 04:04 AM
Thanks so much, Kittzy. This was one of the easiest hacks I have ever installed, it took me all of 2 minutes, and you explained it so well. Thanks, That made my life a whole lot easier. :D
imported_Synicide
02-15-2004, 03:16 PM
Once could actually use Rank to do this. But this is still a very nice mod. :D Great job.
Lexina
07-15-2004, 11:31 PM
Hi, I was wondering if there was any way you could have this hack work with a usergroup, and as soon as a person is put in a usergroup, it automatically adds a permanent usertitle for them?
spiritmage
09-17-2004, 08:13 PM
Okay, I know this is a OLD thread but can anyone help me with this... call me dense but I don't get how the problem with the gap was fixed :(. If I don't put <br> then the custom title and the username run together unless each are long enough... If I do then there is the gap. How was it fixed?
Dark Queen
04-21-2005, 02:01 AM
I was simply wondering (if anyone still comes here) if you could send me the file on how to do it because it won't let me download at all... :( I click on the link and a new page loads but the download doesn't start.
I am liscence registered and all that. I don't know what's wrong.
So if anyone has it could you please send it to nessa@wizardingblood.net
Thanks.
Caligatio
06-18-2005, 07:02 AM
I'm trying this hack, but it's not working. Does anyone have a copy of user.php from 2.3.0 they want to share?
The Phantom
06-23-2005, 02:34 AM
I've posted a Beta release of a fix that I've done on my own boards that allows me to add html to custom profile fields via the user.php in the admin panel, just like in 2.3.0. I run 2.3.7 and it works like a charm.
https://vborg.vbsupport.ru/showthread.php?p=724325#post724325
mystic10
11-15-2007, 04:32 PM
this is what i did but still not showing i dont know why
<if condition="$post['usertitle']"><div class="smallfont"><br><br><br><b>$userinfo[field7]</b><br>$post[usertitle]</div></if>
<if condition="$WWU002_ranktext"><div class="smallfont"><strong>$WWU002_ranktext</strong></div></if>
<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
$template_hook[postbit_userinfo_left]
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.