Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

[SOLVED] CB substitution usage...

11 years 8 months ago #221104 by opensaucesystems
Replied by opensaucesystems on topic CB substitution usage...
Thanks Kyle,

I tried your code and it didn't work for me. It didn't like user="#displayed" being used for the user list, but I got it working this way:
Code:
[cb:if user_id!="myid"][cb:if user="#me" cb_userprofilelevel="member"]<div id="contactMember[user_id]" class="contactMember"><form method="post" action="/messages?option=com_uddeim&task=new&recip=[user_id]&nouserlist=7"><button class="button">Contact member</button></form></div>[/cb:if][/cb:if] [cb:if user="#me" cb_userprofilelevel!="member"]<div id="contactMember[user_id]" class="contactMember"><form method="post" action=""><button disabled class="button">Contact member</button></form></div>[/cb:if]

Thanks again.
The following user(s) said Thank You: krileon

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum