User is not added to a site when registering

Hello All,

Basic Config: WordPress Multi Site, WordPress Multi Network, BuddyPress, BuddyPress Multi Network

Issue: When a site visitor registers at any site the user is not added as a user of that site and does not receive at least Subscriber permissions. The user does show up at the top Network Level.

Is this normal behavior? If so is there anyway that I can accomplish the end result of a user automatically being at least a subscriber member of a site that they register on?

Any help would be greatly appreciated.

TYIA, Eric

Here is my configuration:

1. Which version of WordPress are you running?

3.3.2

2. Did you install WordPress as a directory or subdomain install?

Domain

3. If a directory install, is it in root or in a subdirectory?

root

4. Did you upgrade from a previous version of WordPress? If so, from which version?

Clean install

5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting.

NA

6. Which version of BP are you running?

1.5.5

7. Did you upgraded from a previous version of BP? If so, from which version?

Nope

8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones?

Yes, BuddyPress Multi Network (@sbrahesh), and a several others including Members (to control site permissions) http://wordpress.org/extend/plugins/members/

9. Are you using the standard BuddyPress themes or customized themes?

WPMU DEV BuddyPress Social Theme

10. Have you modified the core files in any way?

No

11. Do you have any custom functions in bp-custom.php?

No, other than the Theme

12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?

No

13. Please provide a list of any errors in your server’s log files.

NA

14. Which company provides your hosting?

Private on AWS EC2

15. Is your server running Windows, or if Linux; Apache, nginx or something else?

Windows Bitnami xAMP stack

  • Atlanta
    • Syntax Hero

    Questions- when you are checking for the subscriber are you looking in network users or site users? If you add the user to the network he won’t show on the individual site.

    I am not familiar with members plugin, if it is anything like membership plugin you need to assign a role to users in the membership level that you create. Scroll down to role in access levels.

    Do you have a plugin like new user approve? It gets a little wonky and the user sits there until manually approved…

    Just some things to check out:slight_smile:

  • ericslangley
    • The Incredible Code Injector

    Update: I just created a completely fresh install of WordPress Multi Site, and registered a new user. The user account is not added to the site and, of course, does not have any permissions. Yet the user has access to the site.

    Kinda weird. It’s like there is some hidden permissions granted.

  • aecnu
    • WP Unicorn

    Greetings ericslangley,

    Is this the way WP is supposed to work?

    Absolutely not and it does not work that way on any Linux based server I have ever seen.

    Probable problem: Windows based hosting.

    Personal Opinion: Works almost as good as Windows Vista

    Cure suggestion: Linux based hosting.

    Thank you for being a WPMU Dev Member!

    Cheers, Joe

  • ericslangley
    • The Incredible Code Injector

    Joe,

    Thank you for your input. This install and the second one I tested are running the Bitnami xAMP stack. Which you probably know is Apache, MySQL and PHP. So Windows is probably not the culprit here.

    Just for giggles though I went ahead and spooled up a clean Ubuntu LAMP stack with WordPress Multi Network, created a new account by registering and got the same result.

    So it appears that this is just how WordPress works. When a user registers on a site they can login but do not have any assigned role/permissions. Essentially it seems that they are still just a guest yet logged in.

    I was poking around the WordPress plugins and there are some that provide for setting a default role. I will check those out.

    ~eric

  • ericslangley
    • The Incredible Code Injector

    After more research this is expected behavior in WP Multi Network. Users are only added to the main blog, not the sub blog they join on. Kinda weird but that is the way it works.

    I tried the WPMU Default User Role http://wordpress.org/extend/plugins/wpmu-default-user-role/screenshots/ but it didn’t work for me.

    Multisite User Management http://wordpress.org/extend/plugins/multisite-user-management/installation/ did the trick!

    ~eric

    @elangley

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.