Add user in BuddyPress without using BuddyPress registration form - php

I have a landing page with a call to action that points a user to a video and a quiz. The quiz is powered by a larger LMS, LearnDash.
LearnDash has the option to require the end user to enter information (fields are customization) before receiving their grade on the quiz.
When the user submits that information, I'd like to have it register them an account on the site. I'm not sure where to begin linking this process together.
I do know buddypress uses register.php to create an account,how do I hook that up to a button?

You can utilize the following three hooks to customize the registration form: register_form, registration_errors, & user_register.
You can learn more about customizing the registration form in the WordPress Codex by visiting this link.
https://codex.wordpress.org/Customizing_the_Registration_Form
If using hooks is to complicated, there are a number of WordPress plugins available that make customizing the registration page a breeze.
RegistrationMagic - Plugin
Ultimate Member - Plugin

Related

Functionality behind the contact us form which is built with site origin plugin in wordpress

I am new to wordpress and I create a contact form using site origin plugin.
When user filled his details in the contact form and click on CONTACT US button, then I want that the all the details of the user should be go to admin in the form of email, but I am tried to figure it out but I can't understand how all the functionality does-->
1.how to access form values using site origin plugin
2.process behind the mailing the user data to admin
3.how to access and store this form values
4.where all the files and data of the site origin are stored
5.And If I want edit or add something then in which template file I have to add that.
Please help to me Solve these.
It would be best to post on the SiteOrigin forum: https://siteorigin.com/thread.
Documentation for the SiteOrigin Contact Form Widget: https://siteorigin.com/widgets-bundle/contact-form-widget/.
1.how to access form values using site origin plugin
Edit the page, edit the SiteOrigin Contact Form Widget. If the form is in a sidebar then edit the widget via Appearance > Widgets.
2.process behind the mailing the user data to admin
Edit the SiteOrigin Contact Form Widget. Enter the admin email address in the "To email address" field.
3.how to access and store this form values
Form entries aren't stored by the SiteOrigin Contact Form Widget. You can add a plugin like https://wordpress.org/plugins/wp-mail-log/ to do so.
4.where all the files and data of the site origin are stored
In the WordPress plugin folder. Files shouldn't be edited here as they are overwritten during updates.
5.And If I want edit or add something then in which template file I have to add that.
Edit the page concerned. Edit the SiteOrigin Contact Form Widget. Make use of the fields provided.

Caching disables the ability to register to my site

I'm using joomla 3, a catalog website that requires registration in order to get access to several pages.
I'm using RS Form Pro registration plugin. when i turn Joomla's cache on, my users are filling the registration fields and they are also being saved to RS Form Pro submissions list BUT, it doesn't actually register them, no new registered user is being created in the admin and there is no such user when trying to log-in.
Important to say: when caching is disabled, everything works correctly.
how can i make it work without disabling my website's cash?
You will need to change the order of the plugins. Make sure that the RS Form system plugin is ordered after the cache plugin.
A quick Google found this...
"If you wish to keep Cache enabled on your website, as an alternate solution, you can create a RSForm! Pro menu item (Menus > Add new menu item > Select - RSForm! Pro - Form > Choose the form and publish"
http://www.rsjoomla.com/support/documentation/view-article/474-my-forms-are-not-working-correctly-with-cache-enabled.html
If that doesn't work, then asking on their forum may be better than here as the people who actually coded it should be around to help.

Drupal create duplicate registration form with extra fields

I have a site built using drupal7. The site has a registration form now. There is a new requirement now for add a couple of new fields in the registration form and put it in a new page.
ie http://example.com/register is the existing drupal registration form and user submitting this form will be registered.
http://example.com/newpage is a new page with some content and registration form in it with two extra fields. When user submits this page a new user account will be created along with saving the new fields to the user profile.
Any ideas for implementing this in drupal is appreciated.
Thanks
Does it really have to be separated? Meaning that you need in both of your registration form (normal and a custom one). If not you can just add new fields to the "normal form" in the administration of your site, going to this path:
/admin/config/people/accounts/fields
In this interface you can add custom fields (like for content types) for user's profile. You can as well choose if the field appears during regitration.
You can do this in about 15 minutes with basic understanding of the form API by creating a custom module.
What you need to look into:
Creating a module
Creating a menu hook (for your new custom page)
go to /admin/config/people/accounts/fields and create the new fields and add them to registration form
hook_form_alter - add logic in your module to check if arg(0) != your new page, and if so then hide the additional fields.
This should be enough to get you started. If this answer freaks you out then your probably in over your head. Pull up your socks or get some help.

Show Registration form in front end wordpress

I've searched and search but to no avail. I cant find a simple way to have the registration form on a page in my wordpress site. I've seen a lot of plugins that kind of do it but they also make you customize the form or have a gazzlion bugs in them. I just want to reproduce the register form that appears at:
www.example.com/wp-login.php?action=register
I dont want a members plugin either as I am in the midst of creating my own CRM type plugin.
Here is an (old) article about customizing your registration / login form:
http://digwp.com/2010/12/login-register-password-code/

Magento - Need to customize cutomer login & registration form but the login form and registration form are coming from Persistent folder

I want to customize the style and text details in customer login and registration form in Magento.
I use the default theme. And I should edit the login page located in:
/app/design/frontend/base/default/template/customer/form/login.phtml and register.phtml for registration page.
My issue is when I make changes in the above files, nothing reflecting in the display/frontend. So I enabled the template hints from the admin and I could do it by changing the 'Current Configuration scope' to 'Main Store' instead of 'Default Config'. Now I got the phtml page is from:
'/app/design/frontend/base/default/template/persistent/customer/form/login.phtml'.
What is the difference between these two? If I edit the login page from the persistent folder, do I have to change anything in admin? Currently I am checking locally and using default theme.
Also if someone knows, please mention why the form is pulled from persistent?
Persistent Module
This feature basically adds a Remember Me option to the login and registration page. Its add overwrite new feature to the existing modules.

Categories