Speed Bar Modification tabs
I cannot get this to work. I am trying to conditionally show a link in the speedbar tab. However, even if a user is registered but does not have a membership applied yet, the link will still appear. I want only registered users with a membership of "Wholesale" be able to see this link. All other times it is hidden. See code I used below. Any help appreciated.
PHP Code:
|
Re: Speed Bar Modification tabs
Try looking for $userinfo.membershipid eq 2 or whatever the correct id is. If it's not present in $userinfo you might need to do something like add the following to include/check_useraccount.php:
PHP Code:
Then use: Code:
{if $user_membershipid eq 2} |
All times are GMT -8. The time now is 11:11 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.