Alright, so I have a forum: http://forum.novalisgaming.net/index.php
I've swapped over from SMF 2.0 to MyBB, and I recently bought a theme and series of plugins.
The biggest issue I cannot understand, is why my login button does not work... If you click it, it is supposed to make a Jquery popup where you login from.
I'm not sure what's wrong, but below is the code involved for login and register functions.. Please tell me if you spot the issue.
I've swapped over from SMF 2.0 to MyBB, and I recently bought a theme and series of plugins.
The biggest issue I cannot understand, is why my login button does not work... If you click it, it is supposed to make a Jquery popup where you login from.
I'm not sure what's wrong, but below is the code involved for login and register functions.. Please tell me if you spot the issue.
PHP Code:
<!-- begin sidepanel 1 -->
<div class="sidepanel1">
<div class="tpanel" style="padding: 10px 6px;">
Welcome Guest!
</div>
<div class="tpanel2" >
<div class="userstats2"> <br />
<a class='inline' href="#login_box" style="margin-right: 10px;" id="login">Please sign in</a> or
<a href="{$mybb->settings['bburl']}/member.php?action=register" style="margin-left: 10px;" id="login">Create an account</a><br /><br />
</div>
</div>
</div>
<!-- end sidepanel 1 -->
<div style='display:none;'>
<div id='login_box' style='padding:0px; background:#181818; text-align: left;'>
<div class="thead" style="border-radius: 0px; padding: 10px 0 10px 0;margin-top:-2px;">
<span class="largetext"> Login to {$mybb->settings['homename']}</span>
</div>
<div style="padding: 10px;">
<span style="font-size: 15px;">Please enter your username and password to log in.</span>
<form class="form" action="member.php" method="post">
<input name="action" value="do_login" type="hidden"/>
<input name="url" value="{$mybb->settings['bburl']}" type="hidden"/>
<input name="quick_login" value="1" type="hidden"/>
<div class="login_row">
<input name="quick_username" id="quick_login_username" value="Username" class="login_input" onfocus="if(this.value == 'Username') { this.value=''; }" onblur="if(this.value == '') { this.value='Username'; }" type="text" size="35"/>
</div>
<div class="login_row">
<input name="quick_password" id="quick_login_password" value="Password" class="login_input" onfocus="if(this.value == 'Password') { this.value=''; }" onblur="if(this.value == '') { this.value='Password'; }" type="password" size="35"/>
<a class="forgot" href="{$mybb->settings['bburl']}/member.php?action=lostpw">Forgot my password</a>
</div>
<div class="login_row">
<input name="quick_remember" id="quick_login_remember" value="yes" class="checkbox" type="checkbox"/>
<label>Keep me signed in</label>
</div>
<div class="login_row">
<input name="submit" value="Login" class="button" type="submit" title="Login"/>
<input value="do_login" name="action" type="hidden"/>
<input value="" name="url" type="hidden"/>
</div>
</form>
</div>
</div>
</div>