Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Member Role gone after update

  • Avatar of WebEndev
    WebEndev
    Participant

    @munman

    Hi

    I updated from BP 1.5.7 to 1.6.2 and when I did, the Member role is no longer listed. All users are now assigned to ‘No role for this site’.

    This is causing the WP Toolbar to not be visible when a user is logged in, no matter what I do.

    I saw a similar post here http://buddypress.org/support/topic/bp-member-role-not-listed/

    I want to try to delete the BuddyPress plugin, and completely reinstall, but I have 600 members on the live site, and do not want to adversely affect it.

    My question:

    If I delete the plugin, then reinstall it, will I lose all BP user data (such as activity, groups, etc)? Or will the BP structure (Activity, Groups, etc) still be there after the reinstall?

    Thanks much

    P.S. – Running on WP 3.5

Viewing 11 replies - 1 through 11 (of 11 total)
  • Avatar of Paul Gibbs
    Paul Gibbs
    Keymaster

    @djpaul

    BuddyPress doesn’t add, remove, or change user roles, so something else must have happened (did you update something else at the same time)?

    If you deactivate and delete the plugin, all BuddyPress will NOT be removed. It will stay in your database.

    Avatar of WebEndev
    WebEndev
    Participant

    @munman

    Hi Paul,

    I did upgrade to WP 3.5 just before the upgrade to BP 1.6.2.

    Doesn’t BuddyPress create the Member role when it first installs?

    Regarding the data in the database – I had thought it would be OK, but wanted to verify.

    I’m just not sure what my next step is going to be. I’ve never seen a user role disappear like that before…

    Avatar of WebEndev
    WebEndev
    Participant

    @munman

    Hi Paul,

    I did upgrade to WP 3.5 just before the upgrade to BP 1.6.2.

    Doesn’t BuddyPress create the Member role when it first installs?

    What would you do at this point?

    Thanks for your help.

    Avatar of John James Jacoby
    John James Jacoby
    Keymaster

    @johnjamesjacoby

    BuddyPress only does this when you turn on the old version of Forums. The “Member” role is part of bbPress 1.x, but was never intended to be used anywhere.

    Avatar of WebEndev
    WebEndev
    Participant

    @munman

    Hi JJJ,

    That sort of makes sense, but why is it that every upgrade of Buddypress 1.5.X and bbPress 2.X I’ve had until now left the Member role there?

    It’s only this last upgrade from BuddyPress 1.5.7 to 1.6.2 that the role disappeared…

    If what you say is true and I don’t need the Member role, I still have a problem now because every User that was Member role is now assigned to NO role at all.
    I believe that this is causing an issue with displaying the WP Toolbar, which does not show up for any of the ‘No Role’ users. Not having the WP Toolbar with the Buddypress menus is not desirable because the user cannot access the BP menus from the WP Toolbar, as they normally would.
    Also, I haven’t tested yet to see if the ‘No Role’ users can add to BP Activity, Groups, etc. I need to test that.

    So what would you recommend? Me creating a custom role for Member? If so, I would have to have the correct capabilities to make the BP stuff work?

    Thanks for your help on this.

    Avatar of John James Jacoby
    John James Jacoby
    Keymaster

    @johnjamesjacoby

    You could grant them all the Subscriber role. How did they all end up with the Member role? It’s not BuddyPress’s default role; did you set it to be in WordPress’s settings?

    Avatar of WebEndev
    WebEndev
    Participant

    @munman

    Hi JJJ,

    Hmmmm…
    This is my first BP site so please forgive the seemingly ignorant statements and questions :)

    I thought that BP created the Member role when it was first installed?
    It is possible that another plugin I use did, but I’m not sure…
    I definitely did not add_role for Member myself…
    So you are saying that BP never created a ‘Member’ role at any time (i.e. it is not a default role for BP)?

    I just tested on the site. In addition to to not being able to see the WP Toolbar, the users with Role = ‘No role for this site’ cannot post activity, etc in BP (as I guessed since they have no Capabilities.

    Avatar of John James Jacoby
    John James Jacoby
    Keymaster

    @johnjamesjacoby

    I’m saying that BuddyPress creates several roles when you activate the Forums component, as the roles are specific to bbPress 1.x. That said, those roles never actually do anything, and likely can be safely removed.

    So, I’m asking, how all of your members were assigned that role.

    Avatar of WebEndev
    WebEndev
    Participant

    @munman

    So, I’m asking, how all of your members were assigned that role.

    I wish I could remember :)
    I thought it was via either BuddyPress, or bbPress at one point in time.

    The roles the site currently has are all of the standard WP roles, and one custom one that I did via add_role.
    I am running bbPress 2.2.3. Shouldn’t I see the Keymaster, Moderator, Participant, etc roles also? I do NOT have Discussion Forums activated in BuddyPress options (I am running bbPress as stand alone).

    Thanks

    Avatar of John James Jacoby
    John James Jacoby
    Keymaster

    @johnjamesjacoby

    It sounds like maybe you’re confusing two different things:

    How the roles were added and removed.
    How the users were granted those roles.

    I know how they got there, and how they were removed. I’m curious why your users have those roles at all.

    bbPress 2.2 and beyond have their own secondary user roles, that do not mix in with WordPress’s role picker. Basically, to avoid exactly this kind of scenario, where users are left without roles at all.

    bbPress 2.2.3 should be automatically granting users a forum role when they login and browse the site. Whether or not they have a WordPress role on the site shouldn’t dictate their ability to create activity stream content. The only users that can’t create content in BuddyPress are spammed or deleted users.

    Do you have some other role-based custom thing happening on your site that’s interfering somewhere?

    Avatar of WebEndev
    WebEndev
    Participant

    @munman

    Hi JJJ,

    After a bunch of troubleshooting on plugins, I found that it was the Events Calendar Pro plugin that had a WP 3.5 issue. So the mystery of no WP Toolbar, and the lack of ability for users to post to Activity, Groups etc is now solved once I disabled the plugin.

    Thank you so much for your patience on this. You are a great resource for WP, BP, and bbPress, and I appreciate what you do!

Viewing 11 replies - 1 through 11 (of 11 total)

You must be logged in to reply to this topic.