Skip to:
Content

BuddyPress.org

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#4034 closed defect (bug) (no action required)

No Create Group Page

Reported by: markyeoj's profile markyeoj Owned by: markyeojyahoocom's profile markyeoj@…
Milestone: Priority: normal
Severity: normal Version:
Component: Core Keywords: needs-codex
Cc:

Description (last modified by johnjamesjacoby)

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)

#1 @johnjamesjacoby
12 years ago

  • Description modified (diff)
  • Resolution set to invalid
  • Status changed from new to closed
  1. Not a great idea to post your admin login and password
  2. This is our development tracker, and not the place to come for support. Please check out our support forums.

Cheers

#2 @johnjamesjacoby
12 years ago

  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.