Forums

BuddyPress Groupblog
BP Groupblog Plugin Users Still Not Added to Blog (6 posts)

  1. AnnieFrancis
    Member
    Posted 1 year ago #

    wp3.0.1 – bp 1.2.5.2 – groupblog 1.4.9 (All other plugins off including mu-plugins, sites are in subfolders not subdomains)

    Originally was using wp2.9.2 – bp 1.2.4.1 – gb1.4.4, users not being added to the group’s blog
    Upgraded to wp3.0.1 & gb1.4.9, (kept bp same) still not
    Upgraded bp to 1.2.5.2 still not

    I’ve tried everything and have tested creating a new blog after all the upgrades, still not adding users to the group's blog. Is there something simple about my configuration to check, or is anyone else having the same problem??? Or is there something I need to do to cleanup the db or reset the thing after having used gb1.4.4 for a month?

  2. AnnieFrancis
    Member
    Posted 1 year ago #

    Not sure if anyone is reading this, have posted in many places but no replies. In troubleshooting I installed a fresh out of the box wp3.0.1, bp 1.2.5.2 and gb1.4.9 and it works as it's supposed to, users are added to groupblog. I put my theme in there and it still works as it should. Somewhere in the upgrade process is a hitch. I'm not a php guru so not sure what to try other than all variations of upgrades possible from where I started, have seen some info about xml-rpc problems, have also heard of some problems going straight from wpmu to wp3.0.1, anyone have any input or suggestions?

  3. AnnieFrancis
    Member
    Posted 1 year ago #

    Update, still beating my head against the wall on this. If there was a decent way to rebuild it on top of the new install I would, but there's 200 members in there using the wire pretty heavily and I don't know of a good way to migrate that stuff to a fresh install. There must be someone out there who's having the same problem? Or someone who has any upgrade process advice that may help?

  4. ccottet
    Member
    Posted 1 year ago #

    Hi,

    I was struggling with the same issue and finally figured out how to solve it. The problem lies in the implementation of the bp_groupblog_get_user_role function found in bp-groupblog.php
    Removing the line stating "global $bp, $blog_id, $current_blog;" will magically solve all your problems.

  5. AnnieFrancis
    Member
    Posted 1 year ago #

    Thanks much ccottet. Glad to hear I'm not the only one! What it boiled down to for me is if a user had any role on the main site they would not be added to group blogs when joining a group. Noticed in testing if a user was "Wiki Editor" role in the main site everything worked. So figuring it was just the native roles in wp that groupblog didn't play well with I installed User Role Editor and created new roles with same capabilities as existing wp roles and that took care of it. Only activated those roles on main site, works for us since we're not using the main blog like the sub blogs. I did try removing that line you mention but it didn't work for me. I think that function probably needs to be reworked completely. But in the meantime happy happy. Thank you so much for your response, hopefully all of this helps someone else avoid lots of time-consuming troubleshooting.

  6. Mariusooms
    Member
    Posted 1 year ago #

    Thanks for posting a fix for your situation.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic