MyBB Community Forums

Full Version: Register button doesnt work?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
http://prntscr.com/333m88 i click register, then this pops up....

http://prntscr.com/333mhi ........ but when i press agree this page comes up and it's not the proper page does anyone know whats wrong??

http://prntscr.com/333mqe

please help, people cannot register.

thanks

bump ....
You need to provide a forum url.
I'm having a similar issue. If you click "register", it takes you to the registration agreement page, click "I agree" and you are take straight back to the page you were on when you click "register".
http://www.ddodhcalendar.com/

Thank you in advance,
Aaron

I should also mention that I already fixed a logging issue caused by cookie settings, and I can successfully add users manually through the admin cp.

Thanks again!
Thank you for the link - do you see this happen on the MyBB default theme? If not the issue is templates. Check your member_register_agreement.

Make sure this code is at the bottom:

<div align="center">
<input type="hidden" name="step" value="agreement" />
<input type="hidden" name="action" value="register" />
<input type="submit" class="button" name="agree" value="{$lang->i_agree}" />
</div>
</form>
{$footer}
</body>
</html>
You were correct in your assumption that the issue does not present with the default theme. However, I don't see anything wrong with the code in the member_register_agreement file for the template I was using... here is the code:
<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->agreement}</title>
{$headerinclude}
</head>
<body>
{$header}
<br />
<form action="member.php" method="post">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>{$mybb->settings['bbname']} - {$lang->agreement}</strong></td>
</tr>
{$coppa_agreement}
<tr>
<td class="trow1">
<p>{$lang->agreement_1}</p>
<p>{$lang->agreement_2}</p>
<p>{$lang->agreement_3}</p>
<p>{$lang->agreement_4}</p>
<p><strong>{$lang->agreement_5}</strong></p>
</td>
</tr>
</table>

<br />
<div align="center">
<input type="hidden" name="step" value="agreement" />
<input type="hidden" name="action" value="register" />
<input type="submit" class="button" name="agree" value="{$lang->i_agree}" />
</div>
</form>
{$footer}
</body>
</html>
what browser are you using? Can you repeat this issue on your theme in other browsers?
I generally use Firefox. I attempted in IE 11 and had the same result. I agree button takes you back to the previous page while using http://mods.mybb.com/view/gze-style-gamerzelite-de but not while using the default theme.
I'm starting to think that I will simply have to look for a similar looking theme that is already working properly. I also just noticed that with that custom theme there are multiple instances of the member list link in the menu and there is a link to a 'news' page which I cannot see anyplace to edit it or populate it with content. I was so focused on the registration and logging issues that I wasn't really paying attention to much else.

Thank you again.
Aaron

ps I'll let you know if the same issue crops up with a different theme

Problem solved, every theme I have tried [all of which seem to be missing image files] all work correctly with registration.

One final word of thanks

Another workaround. I re-imported the same theme again [the one I linked you to], but told it to ignore compatibility and not to import templates. Works like a charm now. It'll take some tweaking to get it just right, but the issue this thread is about has been resolved.
Thank you for the update. Yes, some of the older themes on the mods site don't work well with latest MyBB. If the theme is mainly css edits and no template changes then not importing templates will probably work well. Most themes template edits are in the header - just a headsup for editing needs.