The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
I currently have a conditinal so that if the thread viewer is apart of usergroup x, he/she will get displayed a certain amount of text.
however I want it to be so that if the poster in the thread is apart of usergroup x, text is displayed in the postbit. Example below. Thread Viewer = A Thread Poster = B X = <vb:if condition="is_member_of($bbuserinfo, 6)">Text</vb:if> Currently If A views post by B. The box will display the text (X) if he/she (A) is apart of usergroup 6. What i'm after If A views post by B. The box will display the text (X) if B is apart of usergroup 6. |
|
#2
|
|||
|
|||
|
I think what you want is:
Code:
<vb:if condition="is_member_of($post, 6)">Text</vb:if> |
|
#3
|
|||
|
|||
|
Brilliant thanks as always KH99
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|