-
Author
-
March 5, 2014 at 15:33 #11961zoesitesParticipant
Hi Guys,
I would like the register modal to register the user, instead of redirecting to the signup form.
Where is the PHP function that handles the current user registration? Was thinking of changing the code.
Or is there a better way?
Tx
Rob
March 8, 2014 at 00:31 #12294AbeKeymasterHi, That need to be done by some Javascript code that you need to develop. The modal form template can be found here: wp-content\themes\sweetdate\page-parts\general-register-modal.php
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.March 10, 2014 at 09:35 #12372zoesitesParticipantHi Abe,
Thank you for the reply, I have modified the file and I can redirect via javascript or just pointing the form to a custom php file that handles the submission.
But I would like to know which current php file / function handles the submission of the main registration form, so that I can simply point the modal to that and then modify it to handle the custom modal form / submission.
I assume it’s a buddypress file/function, do you know which one it is?
Tx
March 12, 2014 at 20:26 #12566AbeKeymasterThe form inside the registration modal already has the good link which normally is yoursite.com/register on your site.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.March 14, 2014 at 10:40 #12696zoesitesParticipantYes, I understand this, but this is not what I am asking for.
I want to know where does yoursite.com/register go to? Which file/function handles this form submission?
<form action="" name="signup_form" id="signup_form" class="standard-form custom" method="post" enctype="multipart/form-data">
When using Chrome Inspect Element tool, Network Tab, I see that on submission the page goes to itself, but I can’t find where in the theme files or buddypress plugin files the actual form processing takes place – as I want to modify that code.
Hope that provides you with clarity regarding my question and what I need to know.
March 17, 2014 at 22:48 #12868AbeKeymasterThat is handled by Buddypress and it sends the data to the same page as a POST request with form data.
See an example for registration trough the modal directly:
http://d.pr/n/s2KOWe don’t do custom work but that is some code provided to someone and you can start from that
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer. -
AuthorPosts
You must be logged in to reply to this topic.