1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.3 Facebook and Google+ Login

Discussion in 'Styling and Customization Questions' started by billybatz9, Jun 12, 2014.

  1. billybatz9

    billybatz9 Active Member

    My facebook button is showing, but not my google plus button on the visitor panel.

    Here is my code:
    Code:
    <xen:else />
    
    <div class="section loginButton">
        <div class="secondaryContent">
            <label for="LoginControl" id="SignupButton"><a href="{xen:link login}" class="inner">{xen:if $xenOptions.registrationSetup.enabled, {xen:phrase sign_up_now}, {xen:phrase log_in}}</a></label>
    <div align="center">
    <xen:if is="{$xenOptions.facebookAppId}">
    <li><a href="{xen:link register/facebook, '', 'reg=1'}" class="fbLogin"><span>{xen:phrase login_with_facebook}</span></a></li>
    </xen:if>
    <xen:if is="{$xenOptions.googleAppId}">
    <li><a href="{xen:link register/google, '', 'reg=1'}" class="googleLogin"><span>{xen:phrase social_login_with_google}</span></a></li>
    </xen:if>
    </div>
    
    </xen:if>
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

  3. billybatz9

    billybatz9 Active Member

    It was enabled. Code wasnt working. The file you gave me made it work though.

    Thanks
     

Share This Page