The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hey everybody,
Currently, our board supports user-defined Custom User Titles for every member. The problem is, we also want to display Administrator and Moderator Usergroup User Titles, and from my understanding Custom User Titles overwrite Usergroup User Titles. We could just use User Ranks for this, but those are already in use. So we want to display: User Title Custom User Title User Rank I was hoping I could just make a template edit to the postbit template, and add: PHP Code:
So could somebody point me in the right direction? Sorry for the open-ended question, I'm new to modding vBulletin. |
#2
|
|||
|
|||
![]()
I think this will work:
HTML Code:
<vb:if condition="$post['customtitle']"> <span class="usertitle">{vb:raw post.displayusertitle}</span> </vb:if> if you put it in above the existing user title. |
#3
|
|||
|
|||
![]()
Wow! Thanks for the response: I didn't realize it was post.displayusertitle!
That works perfectly! Thank you very much! |
#4
|
|||
|
|||
![]()
I do realize that I am bumping a post that is very old but I can't seem where to post this line. Does anyone know if it goes in the postbit template under your current style?
|
#5
|
|||
|
|||
![]()
It will go in postbit_legacy template, if you just find where you want to display it and stick it in there.
|
#6
|
|||
|
|||
![]()
Question, will this make it so, that no matter how many usergroups you have, it will show all their usertitles?
As im currently placing custom usertitles, and its abit annoying at last to hold organized. |
#7
|
|||
|
|||
![]()
If you have it on "Stack Usertitle" it will stack all usertitles, otherwise it will just show the display group.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|