2015-07-02, 06:25 AM (This post was last modified: 2015-07-02, 06:25 AM by Cookie123.)
http://dankshit.ga/community/member.php?action=register
Custom register page - removed a lot of irrelevant stuff, including input boxes of confirm email and password. How would I modify the JS to make it so it does not display error saying confirm email and confirm password boxes were not done correctly? Help?
2015-07-02, 05:53 PM (This post was last modified: 2015-07-02, 06:10 PM by Cookie123.)
(2015-07-02, 08:28 AM)Ad Bakker Wrote: I do not understand why you want to get rid of these, because they can avoid a lot of trouble.
I think it requires changes in member.php. I will have a look.
In member.php change line 155 to:
"password2" => $mybb->get_input('password'),
and change line 157 to:
"email2" => $mybb->get_input('email'),
An other option is to delete these lines completely.
Okay, it worked, but what about the image verification code? Also, I'm doing this to make registration less of a hassle.
Image verification is gonna be harder to work around, since you can't simply use PHP to direct it's input to the "normal" one like in confirm email and password, right?
Edit: Hmmm. I could just disable the captcha in ACP, but... no. This is gonna be a theme, so can't do that.
2015-07-03, 10:03 AM (This post was last modified: 2015-07-03, 10:03 AM by Ad Bakker.)
(2015-07-03, 09:54 AM)Leefish Wrote: Its for the member php to prevent the core edit, it has nothing to do with the captcha as indeed you can disable it in ACP
OK, I see it after downloading.
Most times I do these kind of things also through plugins. But here on the forum I was sometimes critisized that I made a lot of trouble for small things.
For my own forums I even use a plugin for core changes.