The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#21
|
|||
|
|||
the code i posted on my last response is the one i used. and all the post text turns yellow i mean everyones text.
|
#22
|
||||
|
||||
Just adding that one line is hopefully not all you did. I mean when you make a change, you should post ALL the code change like this (changed code shown in red):
Code:
<tr valign="top"> <if condition="is_member_of($post[usergroupid], 4, 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> <div id="postmenu_$post[postid]"> |
#23
|
|||
|
|||
That code change the bottom left border into yellow on postbit_legacy 6 is admin and 7 is mods. I want the text in the post to change for the mods also. here is the code im trying to use to change the admin and mod post text. the code for the color behind the avatars works fine its the one for the post text.
HTML Code:
<!-- message --> <div id="post_message_$post[postid]"> $ad_location[ad_showthread_firstpost_start] <!--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--> </div> <!-- / message --> <if condition="$show['attachments']"> |
#24
|
||||
|
||||
If the code I posted only changed a border, then you are posting it in the wrong place or something. Images and posting your code (with a couple lines before and after the change) always helps if something isn't working.
This should (I haven't tested it) change the text color just for posts by a user in group 6 or 7: HTML Code:
<!--message--> <div <if condition="is_member_of($post[usergroupid], 6, 7)">style="color:#CCCC66"</if>> $post[message] </div> <!--message--> </div> <!-- / message --> |
#25
|
|||
|
|||
I tried the code but it still didnt work I'am posting it in postbit_legacy. does the red text have anything to do with it.
|
#26
|
||||
|
||||
I just tested that code and it works just fine on my test board. My posts now look like this from the two edits I've tried out of yours. Other users posts are completely normal.
Attachment 95950 |
#27
|
|||
|
|||
Did you put it in the postbit? also this is the code I put i modified it a little and now it give colors to all the special groups but not to members
HTML Code:
<!--message--> <div> <if condition="is_member_of($post[usergroupid], 6, 7)"> <div style="color:#CCCC66"> </if> $post[message] </div> <!--message--> </div> <!-- / message --> |
#28
|
||||
|
||||
I put my code in the postbit_legacy template (that is what is shown in the image).
Your code is going to cause your page to not validate since you are missing a </div> tag. |
#29
|
|||
|
|||
like this
HTML Code:
<!--message--> <div> <if condition="is_member_of($post[usergroupid], 6, 7)"> <div style="color:#CCCC66"> </div> </if> $post[message] </div> <!--message--> |
#30
|
||||
|
||||
No, that won't work. Did you try what I posted? Actually copy/paste it over what is between the <!-- message --> area? As you can see in my image, it worked fine.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|