Skip to:
Content
Pages
Categories
Search
Top
Bottom

BuddyPress group creation broken

  • @primetimejas

    Participant

    After adding one group I decided it was a good idea to add a new one. After adding the 2nd group, there is some error which does not allow for more groups to be created. When I click the add group button, it takes me to the group creation page but it is really an edit page where i can only edit that 2nd group. I tried to change the information to add a new group, but it just edits the 2nd group EVERYTIME. I tried changing settings, like allowing or disallowing group creation by admins, but that didn’t work. If you delete all groups, then try to create one, it says there is no groups, and you can’t create one. I’m at a loss here, this is a basic element of BuddyPress that is not working. Losing faith…

Viewing 8 replies - 1 through 8 (of 8 total)
  • @primetimejas

    Participant

    In addition (could be related..) when I was changing the setting that only allows admins to create groups, it wouldn’t save the setting. It just left it blank, not yes or no, just blank. And I tried both yes and no, it wouldn’t save either of them.

    @brianjschweitzer

    Member

    Please help…

    @mercime

    Participant

    BP and WP versions? Could be a theme or plugin conflict. Have you tried basic troubleshooting by changing to bp-default theme and deactivating all plugins except BuddyPress?

    @primetimejas

    Participant

    I tried the bp-default theme, I’m not using any other BuddyPress plugins.

    Found a solution – the problem is a cookie set by BuddyPress that isn’t changing correctly or has the wrong expiration time.

    Line 130 of bp-groups-actions.php (in the bp-groups folder):
    setcookie( ‘bp_new_group_id’, $bp->groups->new_group_id, time()+60*60*24, COOKIEPATH );

    I commented this line out. You could also change the time to a shorter time so bots don’t create groups, is that why this is in there? As it is now, this cookie prevents anyone from creating more than 1 group per 24 hours. Why?

    @djpaul

    Keymaster

    Said cookie is cleared when a group is created. I’ve only seen conflicts from other plugins on the group creation screen – never edit core.

    @primetimejas

    Participant

    Well it is not clearing. I don’t want to edit core files, how can I force it to clear after a group is created? Should I put a setcookie() that hooks into the bp_after_create_group() ? Please advise.. something is obviously not working correctly here.

    It is not clearing even when using the bp-default theme with no other plugins running. I have the latest stable version of WordPress (3.3.1) and BuddyPress (1.5.4).

    @primetimejas

    Participant

    I’ve reported this as a bug since nobody was able to give a solution to me.

    @djpaul

    Keymaster

    I just create three groups in a row on testbp.org. Worked fine.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘BuddyPress group creation broken’ is closed to new replies.
Skip to toolbar