#4034 closed defect (bug) (no action required)
No Create Group Page
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | |
| Component: | Core | Keywords: | needs-codex |
| Cc: |
Description (last modified by )
Hello Buddy Press, I have a big problem, I can't create a group using my wordpress custom theme everytime click the "create page" it gives me an error, "page has been moved". Here are the details
url: http://dev.freelanceu.net/mjl/miamischoolstudent/
Wordpress 3.3,
Theme is just a custom theme.I'm the one who created it.
before that, there is no "create group" button, that's why I added this to functions.php
function groups_subnav_hook() {
global $bp;
$groups_link = $bp->loggedin_user->domain . $bp->groups->slug . '/';
bp_core_new_subnav_item( array(
'name' => 'Create New Group' ,
'slug' => 'create',
'parent_slug' => $bp->groups->slug,
'parent_url' => $groups_link,
'position' => 10,
'screen_function' => 'groups_screen_group_members',
'user_has_access' => bp_is_my_profile() // Only the logged in user can access this on his/her profile
) );
}
add_action( 'wp', 'groups_subnav_hook', 2 );
add_action( 'admin_menu', 'groups_subnav_hook', 2 );
Hope you can help me
Change History (2)
Note: See
TracTickets for help on using
tickets.
Cheers