The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I know you can change the color of a certain usergroup's username but how do make the rest of their font that color like underneath their avatar where all their info like age and such is in the postbit. I've seen it done on several vb boards. I tried just not putting end tags and it works but on the whos' online list the next person name, the comma after it is the color of my font.
|
#2
|
||||
|
||||
![]()
<a href="https://vborg.vbsupport.ru/showthread.php?t=110025" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=110025</a>
|
#3
|
|||
|
|||
![]()
That wasn't my question.
http://www.gopednation.com/forum/sho...d.php?t=207930 Look at the first person who posted, his entire postbit is yellow, not just his name. I want to achieve this. |
#4
|
|||
|
|||
![]()
I don't see any reason why you can't throw an if / else into postbit or postbit_legacy for the span class.
|
#5
|
|||
|
|||
![]()
I'm kind of new to this, can you write the clause and tell me where I have to put it?
|
#6
|
||||
|
||||
![]()
Oh, ok I misread your question. You can do this easily with:
HTML Code:
<if condition="$post[usergroupid]==X"><font color ="#XXXXXX"></if> <!-- the text you want to be a different color --> <if condition="$post[usergroupid]==X"></font></if> |
#7
|
|||
|
|||
![]()
Thanks, I'm still alittle confused on where to enter that. For example, I want the admin's postbit a certain color and the rest of the usergroups default. I would just copy and paste the entire postbit into <!-- the text you want to be a different color --> and set the appropriate id for admin usergroup. Then what's the 2nd if condition for, what goes there?
|
#8
|
||||
|
||||
![]()
The second condition is just to close the </font> tag if the fist is opened. Put the same usergroup id there. :-)
You don't need to copy and paste into that middle area. Instead, just take the first condition above and place it where the XXXX is below (based on the default postbit legacy template): HTML Code:
<tr valign="top"> <td class="alt2" width="175"> XXXX <div id="postmenu_$post[postid]"> <if condition="$show['profile']" HTML Code:
$post[msnicon] $post[yahooicon] $post[skypeicon]</div> </div> XXXX </td> |
#9
|
|||
|
|||
![]()
Thanks, worked perfectly
|
#10
|
||||
|
||||
![]()
No problem. :-) Good to hear.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|