![]() |
Hide button post thanks
Good, I wish you can help me with the following I'm trying to hide the post thank button postbit_legacy to certain user groups and certain forums using conditional, but can not get it to work, and treated with the following sentence but I disappears the button at all forums.
Code:
<vb:if condition="!is_member_of($bbuserinfo, X,Y)"> Thank you. |
I think what you want is:
HTML Code:
<vb:if condition="!is_member_of($bbuserinfo, X,Y) AND $forum[forumid] != x"> |
Quote:
Thank you very much for the prompt reply, I have also tested this conditional but put me away button post thanks in all categories and/or forums. |
Okay, try replacing $forum[forumid] with $forum['forumid'].
|
Quote:
|
You might need to enclose the x in quotes.
Code:
<vb:if condition="is_member_of($bbuserinfo, X,Y) AND $forum['forumid'] != 'x'"> |
Quote:
And if we take it otherwise, that user groups X, Y button to display the post in all forums thanks least X forum, would it? Code:
<vb:if condition="is_member_of($bbuserinfo, X,Y) AND $forum['forumid'], array(1,2,3)"> |
Quote:
Code:
<vb:if condition="is_member_of($bbuserinfo, X,Y) AND in_array($forum['forumid'], array(1,2,3))"> |
Quote:
|
All times are GMT. The time now is 11:46 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:
|