• REGISTRATION REQUIREMENTS:

    Your username here MUST MATCH your XenForo username (connected to your XF license).

    Once you have registered here, then you need to start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

How to disable the login block?

Alpha1

Active Member
AMS Premium
CAS Premium
EMS Early Adopter
IMS Premium
LD Premium
RMS Premium
SC Premium
UBS Premium
I want to turn off / remove the login button / fb login button from the sidebar of item pages.
How do I do this?
 
IN ALL of the showcase sidebar templates, you will need to remove the IF statement at the top of the template.

Remove the if statement wrapping the code that disables the block. It currently only disables the block for logged in users.
HTML:
    <xen:if is="{$visitor.user_id}">
        <xen:container var="$noVisitorPanel">1</xen:container>
    </xen:if>

so it looks like this.
HTML:
    <xen:container var="$noVisitorPanel">1</xen:container>
 
Last edited:
Thanks!

I am not sure why, but it suffices to apply this to nflj_showcase_item_sidebar
The login block does not show up anywhere else.
 
Probably because they are ALREADY disabled...

ie the nflj_showcase_category_sidebar template is ALREADY disabling the block for ALL. The ITEM was wrapped with a conditional to check if the viewing user was LOGGED IN (hence having a user_id).

HTML:
<xen:sidebar>
    <xen:container var="$noVisitorPanel">1</xen:container>

This template code is what disables the Visitor Panel block. Removing that line of code would display the Block with the Users Avatar and specific user data.
HTML:
<xen:container var="$noVisitorPanel">1</xen:container>
 
Back
Top