![]() |
conditional help needed
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. |
I think what you want is:
Code:
<vb:if condition="is_member_of($post, 6)">Text</vb:if> |
Brilliant thanks as always KH99 :)
|
All times are GMT. The time now is 04:38 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|