The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi Guys,
I have a question.... I would like when posts are made from a certain usergroup in the forum that their posts receive a different background to others so that other members can recognise these posts easier. I understand I need to use an <if> statement to achieve this. I tried: <if condition="is_member_of($vbulletin->userinfo, 1, 2, 3)"></if> <td class="postbox" id="td_post_$post[postid]"> <else /> <td class="postbox2" id="td_post_$post[postid]"> </if> However this only works for the person making the post. It does not change the background for everyone else reading the forum only the individual that made the post can see the difference when they are logged in. Any help would be great! Regards, Joel |
#2
|
|||
|
|||
![]()
* Bump *
|
#3
|
||||
|
||||
![]()
How about:
HTML Code:
<if condition="is_member_of($post, 1, 2, 3)"> <td class="postbox" id="td_post_$post[postid]"> <else /> <td class="postbox2" id="td_post_$post[postid]"> </if> |
#4
|
|||
|
|||
![]()
This is relevant to my interests,
Is there any full way to do this? Ive seen it on some company forums. |
#5
|
||||
|
||||
![]()
Did you try what was posted?
|
#6
|
|||
|
|||
![]()
Sorry, im not too good with this kind of stuff.
What im after, if the background of the posts of admins, mods and super mods to be a different color from the norm. the Age Of Conan forum has it, although they wont tell me how ![]() |
#7
|
||||
|
||||
![]()
This is for 3.6.8, change for your own version...
Find this code in your postbit(_legacy) and add this style info into the div tag: HTML Code:
<tr> <td class="alt1" id="td_post_$post[postid]" style="background-color:yellow"> <!-- message, attachments, sig --> |
#8
|
|||
|
|||
![]()
Sorry to bump this old thread, but anyone got any clues to this ?
|
#9
|
||||
|
||||
![]()
The answer was posted, so I'm not sure what you mean. I think there may even be a mod for this - do a search in "all mods" "titles only" and you may find it.
|
#10
|
|||
|
|||
![]()
I'm sorry, but I tried to search, and found nothing, or, maybe I'm just using the wrong key-words.
Either way, the code above doesn't work, the only thing I get to work is to show all member posts with the same color, regardless of their user group. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|