• Resolved amckinnell

    (@amckinnell)


    Hi there, I am having the exact problem as described in issue #162 that was apparently fixed in release 140603:
    https://github.com/websharks/s2member/issues/162

    I was using s2member 140520 and buddypress 2.0.1 when I discovered the problem.

    I created a staging copy and updated s2member to version 140725, but the exact same thing happened. Namely, the newly registered user is a “participant” and not a “basic member” (which is my level 1 member). So as a result, I have to manually upgrade every new member on registration.

    Thank you very much for any help you can provide.

    Anne.

    https://www.ads-software.com/plugins/s2member/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter amckinnell

    (@amckinnell)

    anyone? all my new members are coming in as participants instead of basic members.

    You can overcome this problem by adding the following to your s2hacks.php file in your mu-plugins folder:

    /* Forces the default role of a new user to be set to "s2member Level 1" instead of "Subscriber" */
    add_filter("ws_plugin__s2member_force_default_role", "default_role",10,1);
    function default_role($role) {
    	$return = 's2member_level1';
    	return $return;
    }
    Thread Starter amckinnell

    (@amckinnell)

    Hi KTS915, thanks for trying. I put that code into the s2hacks.php file, but it didn’t make any difference. New accounts are still coming in as “participant” (which is their forum role) and their main role says “no role for this site” instead of “basic member” (which is the level 1 member name).

    Sorry it didn’t work. I suppose that this just proves your point that s2Member isn’t “seeing” those registrations through BuddyPress.

    A bit of Googling has turned up this, though, which leads to this snippet of code, which redirects those attempting to sign up using BuddyPress to the default WP sign-up, which s2Member will then take over.

    Would this work for you?

    Thread Starter amckinnell

    (@amckinnell)

    Well … I don’t know … honestly it’s making my head hurt. I don’t really get why I would have to do that when everything worked just fine when I did a sale on July 1st. Then the plugins were updated and this problem turned up when I did a sale on August 1st. According to issue #162, it was supposed to be fixed, but it isn’t. I’m not a developer … so … I don’t know what to do.

    I don’t know if I want to just start adding code that turns off the buddypress registration … because what’s that going to do to all the buddypress profile stuff?

    I wish there was premium support because I would happily pay for someone who knows what they’re doing to solve this problem for me. I don’t want to start messing around with how registration works.

    I appreciate your effort KTS915, thanks. I just wish they would fix the bug so I could update the plugin and have everything work the way it used to.

    I completely understand.

    But there is Pro Support. It’s at https://www.s2member.com/contact/

    Thread Starter amckinnell

    (@amckinnell)

    I figured out the problem, so I thought I would just put a note here in case anyone else has the same problem.

    It turns out that it was being caused by a plugin I was using “bp disable activation”. There is now a new plugin called “bp disable activation reloaded” and now that I am using it the problem is gone.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘BuddyPress registration not picking up s2 role’ is closed to new replies.