The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#2
|
|||
|
|||
![]()
You don't need array() in the conditional, it should be:
Code:
<vb:if condition="is_array($memberpost[userid], $postbuddies)"></vb:if> But that will only work if you register $postbuddies to the template. A way around that would be to add it to an array that is already registered, like: Code:
$memberpost[postbuddies] = $postbuddies; then Code:
<vb:if condition="is_array($memberpost[userid], $memberpost[postbuddies])"></vb:if> I should also mention that rendered posts are cached, so that may also give you trouble. With the post caching, you can't really have the background change based on something that is specific to the user viewing the post. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|