MyBB Community Forums

Full Version: Can't login to new site
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I recently created a MyBB website, edited the theme, the css, the settings, etc...
The most recently changed thing would be the htaccess files

But for some odd reason, whenever I try to login the page refreshes and I'm not logged in. I'm definitely using the correct info.

my site is www.centaurilegion.net

the cookie settings are:
$settings['cookiedomain'] = ".centaurilegion.net";
$settings['cookiepath'] = "/";
$settings['cookieprefix'] = "";

My settings.php CHMOD is set to 666

I cleared all cookied in my browser.

I AM able to login to the Admin Control Panel, however.

I also tried this on Internet Explorer and Google Chrome, same issue.
I even tried creating a different account, same issue.

Someone please help!
Thanks.
Replace this code:

<a id="slide-in-loginform" onclick="return false;" href="http://centaurilegion.net/member.php?action=login">Log-in</a>

with this one

<a id="slide-in-loginform" href="http://centaurilegion.net/member.php?action=login">Log-in</a>

header_welcomeblock_guest
template

I am not an expert but there is something wrong with this one!

<script src="images/noise/script/jquery-1.7.1.min.js" type="text/javascript"></script>
<script type="text/javascript">
    jQuery(function() {    
        jQuery("#slide-in-loginform").click(function () {    
            jQuery('.logintext').animate({
                marginTop: '-50px'
            }, "slow").css('margin-top', '-50px');
        });
    });
</script>
(2014-01-05, 02:51 PM)marcus123 Wrote: [ -> ]Replace this code:

<a id="slide-in-loginform" onclick="return false;" href="http://centaurilegion.net/member.php?action=login">Log-in</a>

with this one

<a id="slide-in-loginform" href="http://centaurilegion.net/member.php?action=login">Log-in</a>

header_welcomeblock_guest
template

I am not an expert but there is something wrong with this one!

<script src="images/noise/script/jquery-1.7.1.min.js" type="text/javascript"></script>
<script type="text/javascript">
    jQuery(function() {    
        jQuery("#slide-in-loginform").click(function () {    
            jQuery('.logintext').animate({
                marginTop: '-50px'
            }, "slow").css('margin-top', '-50px');
        });
    });
</script>

Whatever I tried isn't working. Do you mind coming onto the acp yourself and fixing it?

Actually, you DID fix it, thanks, but the login box I was referring to (which is still broken) is this one:
http://puu.sh/6auf6.png

This is the code of the BROKEN login box on my Portal page:


<span class="smalltext">{$lang->guest_welcome_registration}</span><br />
<br />
<form method="post" action="{$portal_url}"><input type="hidden" name="action" value="do_login" />
{$username}<br />&nbsp;&nbsp;<input type="text" class="textbox" name="username" value="" /><br /><br />
{$lang->password}<br />&nbsp;&nbsp;<input type="password" class="textbox" name="password" value="" /><br /><br />
<label title="{$lang->remember_me_desc}"><input type="checkbox" class="checkbox" name="remember" value="yes" /> {$lang->remember_me}</label><br /><br />
<br /><input type="submit" class="button" name="loginsubmit" value="{$lang->login}" /></form>
It looks like some kind of problem with Jquery or JavaScript which I don't understand I am very sorry!
(2014-01-05, 04:05 PM)marcus123 Wrote: [ -> ]It looks like some kind of problem with Jquery or JavaScript which I don't understand I am very sorry!

It's okay, I'm having someone from myskins.org look at it
Thanks though, you DID manage to fix my other log in box, after all.
No problem just wait and I am sure someone with more experience than me will help you out Smile
please update the following template files:

In "codebuttons" replace
PHP Code:
<script type="text/javascript" src="jscripts/editor.js?ver=1600"></script> 
with
PHP Code:
<script type="text/javascript" src="jscripts/editor.js?ver=1609"></script> 



In "portal_welcome_guesttext" replace
PHP Code:
<form method="post" action="{$portal_url}"><input type="hidden" name="action" value="do_login" /> 
with
PHP Code:
<form method="post" action="{$mybb->settings['bburl']}/member.php"><input type="hidden" name="action" value="do_login" /><input type="hidden" name="url" value="{$portal_url}" /> 



In "loginbox", please remove these lines
PHP Code:
<tr>
<td class="trow1"><strong>{$lang->password}</strong></td>
<td class="trow1"><input type="password" class="textbox" name="password" size="30" value="{$password}" /></td>
</tr> 

it should work now.