The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
vBulletin 4 Request - Postbit edit 'member name'
Im running vbulletin 4.2.2 and need to edit the postbit a tad.
When i add a member to a specific usergroup i would like to be able to add a custom 'tag' infront of the member name. Like clan tag. In postbit1 image attached is how it looks now. In postbit2 image is how i want it to look when i have added a member to a specific usergroup. Is this possible to make happen ? |
#2
|
||||
|
||||
first thing that popped to my mind
https://vborg.vbsupport.ru/showthrea...highlight=clan |
Благодарность от: | ||
CAG CheechDogg |
#3
|
|||
|
|||
That didnt work at all.
Was thinking more of something like <if usergroup 10 [DAB] ellse....... Or mayby if statements doesnt work on vbulletin 4 ? |
#4
|
|||
|
|||
Take a look at https://vborg.vbsupport.ru/showthread.php?t=231525
|
#5
|
|||
|
|||
Thanks i will have a look at it
|
#6
|
||||
|
||||
You could also do this with a plugin...create a plugin with the "Hook Location" of "postbit_display_complete" with the following "Plugin PHP Code":
PHP Code:
I would use an execution order of 0 for the plugin to make sure this gets done before other plugins have a chance to alter the marked up name. |
#7
|
|||
|
|||
This worked great
Is there any hooklocation where the 'TAG' is visible all over the forum and cms ? Quote:
|
#8
|
||||
|
||||
Quote:
First, I go to the Usergroup Manager, and edit the HTML markup to give the span element containing the username a classname: In the "Username HTML Markup" fields, I enter: Opening tag: HTML Code:
<span class="group6" style="font-weight: bold; color: #FF8000;">
HTML Code:
</span>
Now, we can inject a CSS selector on all pages with the following plugin, hook location "parse_templates": PHP Code:
|
#9
|
|||
|
|||
Now that worked great. Thank you and sorry for all the stupid questions
|
2 благодарности(ей) от: | ||
Dr.CustUmz, MarkFL |
#10
|
||||
|
||||
You're welcome, and please don't think your questions are "stupid"...you stated a legit request, and that's what this forum is for.
|
Благодарность от: | ||
Dr.CustUmz |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|