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.
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?
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?
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.
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).
I’ve reported this as a bug since nobody was able to give a solution to me.
I just create three groups in a row on testbp.org. Worked fine.