Tagged: s2member, Signup form
Hi Giovanni,
Welcome to the BuddyDev Forum. Please refer the following url. It will help you.
https://buddydev.com/buddypress/show-buddypress-user-registration-form-everywhere-buddypress-site/
Thank You
RaviHi Giovanni,
I am sorry but that tutorial only shows BuddyPress registration fields. Are the s2 members fieds added via BuddyPress Profile Field?Please note that at the moment only fields from the First profile field Group are displayed on the registration page/form.
s2Members adds an additional div.register-section after the base signup fields using this code:
When calling get_template_part() that s2Member Plugin code is not executed.
(as any other signup form hooked code from other Plugins).Is there a better solution?
Thank you.
In that file, s2Members checks if we are on the BP registration page using bp_is_register_page().
If one removes that call, s2Member custom fields will show.
Since I’ve added the registration form on the Home Page, I’ve modified bp_is_register_page() this way:
function bp_is_register_page() {
return is_home() || (bool) bp_is_current_component( ‘register’ );
}It seems it’s working everything now.
I know it’s not a good idea to modify core files.
But this is the simplest and fastest way to use two registration pages on BP without breaking compatibility with other Plugins.
You must be logged in to reply to this topic.