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

XF 1.3 Transparent Login Box Background

Discussion in 'Troubleshooting and Problems' started by Rambro, Mar 11, 2014.

  1. Rambro

    Rambro Well-Known Member

    Anyone else getting something like this:

    CapturFiles.png

    No server errors and file health is 100%.
     
  2. Liam W

    Liam W Well-Known Member

    Do you have any outdated templates?

    Liam
     
  3. Mike

    Mike XenForo Developer Staff Member

    The login form is not normally an overlay, so I suspect there's a change you've applied to do that that's involved.
     
    Liam W likes this.
  4. Rambro

    Rambro Well-Known Member

    Yeah, apparently I do. helper_login_form

    Code:
    <xen:if is="!{$visitor.user_id}">
    
    <xen:container var="$hideLoginBar">1</xen:container>
    
    <form action="{xen:link 'login/login'}" method="post" class="xenForm" id="pageLogin">
    
    <xen:if hascontent="true">
    <div class="errorPanel"><span class="errors">
    <xen:contentcheck>{xen:raw $text}</xen:contentcheck>
    </span></div>
    </xen:if>
    
    <h2 class="textHeading">{xen:phrase log_in_or_sign_up}</h2>
    
    <dl class="ctrlUnit">
    <dt><label for="ctrl_pageLogin_login">{xen:phrase your_name_or_email_address}:</label></dt>
    <dd><input type="text" name="login" value="{$defaultLogin}" id="ctrl_pageLogin_login" class="textCtrl" tabindex="1" /></dd>
    </dl>
    
    <xen:if is="{$xenOptions.registrationSetup.enabled}">
    <dl class="ctrlUnit">
    <dt><label for="ctrl_pageLogin_password">{xen:phrase do_you_already_have_account}</label></dt>
    <dd>
    <ul>
    <li><label for="ctrl_pageLogin_not_registered"><input type="radio" name="register" value="1" id="ctrl_pageLogin_not_registered" tabindex="5" />
    {xen:phrase no_create_account_now}</label></li>
    <li><label for="ctrl_pageLogin_registered"><input type="radio" name="register" value="0" id="ctrl_pageLogin_registered" checked="checked" class="Disabler" tabindex="5" />
    {xen:phrase yes_my_password_is}:</label></li>
    <li id="ctrl_pageLogin_registered_Disabler">
    Deleted
    <input type="password" name="password" class="textCtrl" id="ctrl_pageLogin_password" tabindex="2" />
    <div><label for="ctrl_pageLogin_remember" class="rememberPassword"><input type="checkbox" name="remember" value="1" id="ctrl_pageLogin_remember" tabindex="3" /> {xen:phrase stay_logged_in}</label></div>
    <div><label for="ctrl_pageLogin_remember" class="rememberPassword"><input type="checkbox" name="remember" value="1" checked="checked" id="ctrl_pageLogin_remember" /> {xen:phrase stay_logged_in}</label></div>
    </li>
    </ul>
    </dd>
    </dl>
    <xen:else />
    <dl class="ctrlUnit">
    <dt><label for="ctrl_pageLogin_password">{xen:phrase password}:</label></dt>
    <dd>
    <input type="password" name="password" class="textCtrl" id="ctrl_pageLogin_password" />
    <div><label for="ctrl_pageLogin_remember" class="rememberPassword"><input type="checkbox" name="remember" value="1" id="ctrl_pageLogin_remember" tabindex="3" /> {xen:phrase stay_logged_in}</label></div>
    </dd>
    </dl>
    </xen:if>
    
    <xen:if is="{$captcha}">
    <dl class="ctrlUnit">
    <dt>{xen:phrase verification}:</dt>
    <dd>{xen:raw $captcha}</dd>
    </dl>
    </xen:if>
    
    <dl class="ctrlUnit submitUnit">
    <dt></dt>
    <dd>
    <input type="submit" class="button primary" value="{xen:phrase log_in}" data-loginPhrase="{xen:phrase log_in}" data-signupPhrase="{xen:phrase sign_up}" tabindex="4" />
    <a href="{xen:link lost-password}" class="OverlayTrigger OverlayCloser" tabindex="6">{xen:phrase forgot_your_password}</a>
    </dd>
    </dl>
    
    <xen:if is="{$xenOptions.facebookAppId}">
    <xen:require css="facebook.css" />
    <dl class="ctrlUnit">
    <dt></dt>
    <dd><a href="{xen:link register/facebook, '', 'reg=1'}" class="fbLogin" tabindex="10"><span>{xen:phrase login_with_facebook}</span></a></dd>
    </dl>
    </xen:if>
    
    <xen:if is="{$xenOptions.twitterAppKey}">
    <xen:require css="twitter.css" />
    <dl class="ctrlUnit">
    <dt></dt>
    <dd><a href="{xen:link register/twitter, '', 'reg=1'}" class="twitterLogin" tabindex="10"><span>{xen:phrase login_with_twitter}</span></a></dd>
    </dl>
    </xen:if>
    
    <xen:if is="{$xenOptions.googleClientId}">
    <xen:require css="google.css" />
    <dl class="ctrlUnit">
    <dt></dt>
    <dd><span class="googleLogin GoogleLogin JsOnly" tabindex="10" data-client-id="{$xenOptions.googleClientId}" data-redirect-url="{xen:link register/google, '', 'code=__CODE__', 'csrf={$session.sessionCsrf}'}"><span>{xen:phrase login_with_google}</span></span></dd>
    </dl>
    </xen:if>
    
    <input type="hidden" name="cookie_check" value="1" />
    <input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
    <input type="hidden" name="redirect" value="{xen:if $redirect, $redirect, $requestPaths.requestUri}" />
    <xen:if is="{$postData}">
    <input type="hidden" name="postData" value="{xen:escape {xen:helper json, $postData}}" />
    </xen:if>
    
    </form>
    
    <script>
    $(function()
    {
    var $button = $('#pageLogin input.button.primary');
    $('#pageLogin input[name="register"]').click(function()
    {
    $button.val(
    $('#pageLogin input[name="register"]:checked').val() == '1'
    ? $button.data('signupphrase')
    : $button.data('loginphrase')
    );
    });
    });
    </script>
    </xen:if>
    The bolded asks me if I want to resolve using the parent changes.
     
  5. Rambro

    Rambro Well-Known Member

    The merge fixed the issue, in case anyone was curious.
     

Share This Page