BuddyDev

Search

Replies

  • Participant
    Level: Initiated
    Posts: 4
    Giovanni on #5392

    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.

  • Participant
    Level: Initiated
    Posts: 4
    Giovanni on #5391

    s2Members adds an additional div.register-section after the base signup fields using this code:

    https://www.s2member.com/codex/stable/source/s2member/includes/classes/custom-reg-fields-4bp.inc.php/

    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.

  • Participant
    Level: Initiated
    Posts: 4
    Giovanni on #5327

    That solution doesn’t work with s2Member Plugin, when one adds extra “Custom Fields”.

    The base registration form shows up, the extra s2Member “Custom Fields” does not.

    Any hint?

  • Participant
    Level: Initiated
    Posts: 4
    Giovanni on #5155

    (other than the registration page itself)