[buddypress-trac] [BuddyPress] #4034: No Create Group Page

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Wed Feb 22 08:00:10 UTC 2012


#4034: No Create Group Page
--------------------------+--------------------------------
 Reporter:  markyeoj      |      Owner:  markyeoj@…
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Core          |    Version:
 Severity:  normal        |   Keywords:  needs-codex
--------------------------+--------------------------------
 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,
  user and password: admin
  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,,

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4034>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list