The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
One problem it changes the color for everyone
|
#12
|
||||
|
||||
It shouldn't if you have that condition in place. What usergroupid did you use in the condition?
|
#13
|
|||
|
|||
i got it i was suppose to add a extra =
--------------- Added [DATE]1236211699[/DATE] at [TIME]1236211699[/TIME] --------------- HTML Code:
<if condition="$post[usergroupid]==6"> <td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px; background-color: purple"> <else /> <td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px"> </if> thank you very much for all your help. I'am very gratefull. with the post this other guy made i can change the top bar that has the time you posted the thread right? |
#14
|
||||
|
||||
Whoops! That's what I get for copying stuff and not really looking at it!
|
#15
|
|||
|
|||
now i just want to match the top bar with the color with the code you supplied. If its not much to ask.
if i want to add the same thing to another usegroup do i just add something like this HTML Code:
<if condition="$post[usergroupid]==6""$post[usergroupid]==4">
|
#16
|
||||
|
||||
HTML Code:
<if condition="is_member_of($post[usergroupid], 4, 6)">
|
#17
|
|||
|
|||
ok got it how about if I want group 6 to be X color and group 4 to be Y color.
|
#18
|
||||
|
||||
You could go:
HTML Code:
<if condition="$post[usergroupid]==6"> <td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px; background-color: purple"> <else /> <if condition="$post[usergroupid]==4"> <td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px; background-color: red"> <else /> <td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px"> </if> </if> |
#19
|
|||
|
|||
i tried this code to add color to admins and mods text but everyones text turned into the color i chose.
HTML Code:
<!--message--> <div> <if condition="is_member_of($post[usergroupid], 6, 7)"> <div style="color:#CCCC66"> </if> $post[message] <if condition="is_member_of($post[usergroupid], 6, 7)"> </div> </if> </div> <!--message--> |
#20
|
||||
|
||||
When something doesn't work, you should post exactly what you did so we can see what went wrong. I have tried it on my forum and it works just fine. (And boy is purple very, very purple!)
Are you sure you have the correct usergroupids? (4 is usually the COPPA users) |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|