Opened 12 years ago
Closed 12 years ago
#4834 closed defect (bug) (wontfix)
Can't create groups
Reported by: | rhodez | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 1.7 |
Component: | Core | Keywords: | reporter-feedback |
Cc: |
Description
In 1.7 beta the "create new Group" button has disappeared from the groups page. I can't create groups (there is not create group option in the back end groups panel either). I have checked "Enable group creation for all users" in the BP options and logged in as admin.
I am testing 1.7 with Avada theme. Everything else seems to work fine.
Change History (3)
#2
@
12 years ago
Latest trunk does not help.
It is probably an issue with the way the theme is coded.
Avada is a premium theme, but I've found a free theme in WP repo (Infoway) with similar behaviour.
#3
@
12 years ago
- Milestone Awaiting Review deleted
- Resolution set to wontfix
- Status changed from new to closed
luccame - Thanks for the pointer to Infoway.
The problem, at least in the case of Infoway, is that it's coded incorrectly. In page.php, their call to the_title()
occurs *outside the loop*, which means that BP's dummy post trick (which is necessary to make much of theme compatibility work) doesn't stick. Not only do they put the loop in the wrong place, they also didn't do it right. Instead of
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
the template does this:
<?php if ( have_posts() ) : the_post(); ?>
In other words, they skip the while
part of the loop (which is, of course, the loop itself). I guess WP's loop functionality is generous enough to make this syntax work on a regular WP page (where the loop only contains a single post, which has already been pulled up in $wp_the_query
) but it won't work for BP.
I'm closing as wontfix. This is, at root, a case of the theme author doing it wrong. If anyone has ideas for how BP might address this sort of error without introducing a bunch of weird mechanisms, please reopen with suggestions.
Hi rhodez,
Can you try the latest trunk version of BuddyPress? We recently put in some CSS media queries that might help with this issue. See #4810.
If you're not using SVN, you can use this ZIP build:
https://buddypress.trac.wordpress.org/changeset/6811/trunk?old_path=/&format=zip
Let us know if that works or not.