![]() |
help with code
I use this code below
Code:
<vb:if condition="is_member_of($post, 17)" > <vb:if condition="$bbuserinfo['userid'] == x> x being the members userid but it seems to search userid and if theres a member with this number returns a true value thus displaying the image to everyone rather than to his profile only. any help, pls? |
I think you want to check $post['userid'], and if you want it to be instead of the group images for certain users then you'll want to make it part of the existing if/elseif statement, but first. So something like this:
Code:
<vb:if condition="$post[userid] == X" > |
many thanks indeed
All sorted! :up: |
All times are GMT. The time now is 11:19 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:
|