![]() |
How do I get a variable?
I'm working in postbit_legacy.
I want to execute the following code, but I believe that the $memberinfo is failing to evaluate because the if-condition is always yielding false, even on posts by administrators. Code:
<vb:if condition="is_member_of($memberinfo, 6)"> Thanks in advance! |
If you want to check if the post is by an administrator, then you want is_member_of($post, 6). If you're trying to check if an administrator is viewing the post, then it would be is_member_of($bbuserrinfo, 6).
|
Worked great. Thank you :)
|
All times are GMT. The time now is 08:43 AM. |
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:
|