vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=87090

[Release] Permanent + Custom User Titles For Staff (or any other user you wish)
by kitzzy
26 Jun 2003 21:25

2 Attachment(s)
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 26 Jun 2003 21:49

Installed this, it worked, and was really easy.

Thanks!!

Tony G 27 Jun 2003 09:38

That way works alot easier, neat idea. I've used it before. :)

MegaHertz 02 Jul 2003 20:49

Very nice Mod thanks.

imported_Rubicant 17 Jul 2003 18:52

A very nice hack, thanks! :) I've also added that field to the getinfo template above the custom title.

kitzzy 20 Jul 2003 17:44

Yeah I did that too, dunno why I didn't include that in there.

The Wise One 05 Sep 2003 22:12

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 :)

mx3 14 Sep 2003 17:27

Ive done this before...thanks for posting this so I have a reference next time i decide to ^_^

imported_Vigile 19 Sep 2003 10:39

Quote:

Originally Posted by The Wise One
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 06 Oct 2003 21:46

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 08 Oct 2003 09:25

I am getting the same problem, Kitz - and I am following the instructions correctly :) I am using vBulletin Version 2.3.2 :D

RandyP3 08 Oct 2003 10:03

[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 08 Oct 2003 13:43

Hmm ... ok ... will do that tonight as I am at work right now. I will post screenshots of each step.

imported_Vigile 11 Oct 2003 22:06

Quote:

Originally Posted by kitzzy
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 31 Oct 2003 09:18

aha!

http://www.vbulletin.com/forum/showt...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 01 Nov 2003 20:19

works a treat ! cheers!

imported_Michael 03 Nov 2003 23:30

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 22 Nov 2003 13:19

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 29 Nov 2003 16:42

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 18 Dec 2003 23:33

Please help me!

deemon 26 Dec 2003 16:00

hi!

Quote:

STEP 3: ADD TO POSTBIT

Open the "postbit" template

find "$post[usertitle]"

Right before this, add "<b>$userinfo[field5]</b>"
aand..

Quote:

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 27 Dec 2003 07:23

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 28 Jan 2004 21:41

Really nice little hack. :)

Re: [Release] Permanent + Custom User Titles For Staff (or any other user you wish)
by David Coutts
13 Feb 2004 05:04

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

Re: [Release] Permanent + Custom User Titles For Staff (or any other user you wish)
by imported_Synicide
15 Feb 2004 16:16

Once could actually use Rank to do this. But this is still a very nice mod. :D Great job.

Re: [Release] Permanent + Custom User Titles For Staff (or any other user you wish)
by Lexina
16 Jul 2004 00:31

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?

Re: [Release] Permanent + Custom User Titles For Staff (or any other user you wish)
by spiritmage
17 Sep 2004 21:13

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?

Re: [Release] Permanent + Custom User Titles For Staff (or any other user you wish)
by Dark Queen
21 Apr 2005 03:01

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 [email protected]

Thanks.

Re: [Release] Permanent + Custom User Titles For Staff (or any other user you wish)
by Caligatio
18 Jun 2005 08:02

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 23 Jun 2005 03:34

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.

http://www.vbulletin.org/forum/showt...325#post724325

mystic10 15 Nov 2007 17:32

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]


All times are GMT. The time now is 16:09.

Powered by vBulletin® Version 3.8.14
Copyright © 2021, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.