Study Step 3 in the code I posted here: http://xenforo.com/community/resources/meebo-instant-messaging-chat-bar.570/
<xen:if is="{$user.customFields.taigachat} == 'off'"> <xen:else /><xen:include template="dark_taigachat_chatbox" /></xen:if>
<xen:if is="{$user.customFields.taigachat} == 'off'"> <xen:else /><xen:include template="dark_taigachat_full" /></xen:if>
<xen:if is="{$user.customFields.taigachat} == 'off'"> <xen:else /><xen:include template="dark_taigachat_" /></xen:if>
Did you do step 5?
Step 5.
For Meebo Bar Always On:
In AdminCP go to Users/User Customization/Custom User Fields/Create New Field
- Basic Information Tab -
Field ID: meebo
Title: Meebo Chat Bar
Description: Select 'off' to disable the Meebo Chat Bar.
Display Location: Preferences
Display Order: 1
Field Type: Radio Buttons
- Options for Choice Fields Tab -
Possible Choices: Put the word 'off' in both boxes.
General Options: Only 'User editable' should be checked.
I tried,
Code:<xen:if is="{$user.customFields.taigachat} == 'off'"> <xen:else /><xen:include template="dark_taigachat_chatbox" /></xen:if>
Code:<xen:if is="{$user.customFields.taigachat} == 'off'"> <xen:else /><xen:include template="dark_taigachat_full" /></xen:if>
Code:<xen:if is="{$user.customFields.taigachat} == 'off'"> <xen:else /><xen:include template="dark_taigachat_" /></xen:if>
none of those worked ;_;
@Luke Foreman could you possibly chime in?
You need to use $visitor. Not $user.
$visitor is definitely correct.
So you need to be a bit more detailed.
What template are you putting the code in? Where in the template? What type of user field have you created?
This one should definitely work...Code:<xen:if is="{$visitor.customFields.taigachat} == 'off'"> <xen:else /><xen:include template="dark_taigachat_full" /></xen:if>
Code:<xen:hook name="forum_list_nodes"> <xen:if is="{$visitor.customFields.taigachat} == 'off'"> <xen:else /><xen:include template="dark_taigachat_full" /></xen:if> <xen:if is="{$renderedNodes}"><xen:include template="node_list" /></xen:if> </xen:hook>
We use essential cookies to make this site work, and optional cookies to enhance your experience.