2016-04-08, 05:10 PM
(2016-04-08, 04:19 PM)zomgasd Wrote: I've figured it out: <span> wasn't closed after the registerbutton, I had to add it! New problem my login button isn't working now! I can log in through the default MyBB theme, however not on Square.
{$lang->welcome_guest} <span class="loginbutton"><a href="{$mybb->settings['bburl']}/member.php?action=login" onclick="$('#quick_login').modal({ fadeDuration: 250, keepelement: true, zIndex: (typeof modal_zindex !== 'undefined' ? modal_zindex : 9999) }); return false;"><i style="font-size: 14px;" class="fa fa-sign-in fa-fw"></i> {$lang->welcome_login}</a></span> <span class="registerbutton"><a href="{$mybb->settings['bburl']}/member.php?action=register"><i style="font-size: 14px;" class="fa fa-user fa-fw"></i> {$lang->welcome_register}</a> </span> — <a href="{$mybb->settings['bburl']}/misc.php?action=steam_login"><img border="0" src="http://steamcommunity-a.akamaihd.net/public/images/signinthroughsteam/sits_large_border.png" alt="Login through Steam" style="vertical-align:middle"></a></span> <div class="modal" id="quick_login" style="display: none;" <form method="post" action="{$mybb->settings['bburl']}/member.php"> <input name="action" type="hidden" value="do_login" /> <input name="url" type="hidden" value="" /> <input name="quick_login" type="hidden" value="1" /> <div class="welcometitle"> <h1>{$lang->xstyled_loginat} {$mybb->settings['homename']}</h1> </div> <div class="welcomebox"> {$lang->xstyled_loginfirstphrase}<br /><br /> {$lang->xstyled_loginsecondphrase}<br /><br /> {$lang->xstyled_loginthirdphrase} </div> <div class="welcomelogin"> <ul> <li><span class="log"><i class="fa fa-user fa-fw"></i></span><input name="quick_username" id="quick_login_username" type="text" value="Username" class="textlog" size="25" /></li> <li><span class="log"><i class="fa fa-lock fa-fw"></i></span><input name="quick_password" id="quick_login_password" type="password" value="Password" class="textlog" size="25" /></li> </ul> <br style="clear: both;"/> <input name="quick_remember" id="quick_login_remember" type="checkbox" value="yes" class="checkbox" checked="checked" /> <label for="quick_login_remember" style="color: #363636;">{$lang->remember_me}</label><br /> <a href="{$mybb->settings['bburl']}/member.php?action=lostpw" class="lost_password">{$lang->lost_password}</a> <br style="clear: both;"/><br /> <input class="loginbutton" name="submit" type="submit" value="{$lang->login}" style="cursor: pointer;" /> <span class="registerbutton"><a href="{$mybb->settings['bburl']}/member.php?action=register"><i style="font-size: 14px;" class="fa fa-user fa-fw"></i> {$lang->welcome_register}</a> — <a href="{$mybb->settings['bburl']}/misc.php?action=steam_login"><img border="0" src="http://steamcommunity-a.akamaihd.net/public/images/signinthroughsteam/sits_large_border.png" alt="Login through Steam" style="vertical-align:middle"></a></span> </div> </form> </div> <script type="text/javascript"> $("#quick_login input[name='url']").val($(location).attr('href')); </script>
Try disabling the plugin and see if you can login.
I don't give support on PM.