Skip to:

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

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

groups_is_user_admin doesn't work on pages under /groups/group-name

Reported by: nicolagreco's profile nicolagreco Owned by: nicolagreco's profile nicolagreco
Milestone: Priority: critical
Severity: Version:
Component: Keywords:
Cc: nicolagreco


the function groups_is_user_admin works only if it's on groups page, it i add a subnav (aka a new page) undet /groups/group-name like /groups/group-name/my-page and i put

global $bp, $group_obj;
groups_is_user_admin( $bp['logged_userid'], $group_obj->id)

Nicola Greco,
it doesn't work

Change History (2)

#1 @nicolagreco
15 years ago

  • Resolution set to invalid
  • Status changed from new to closed

it works sorry, my own error

#2 @(none)
15 years ago

  • Milestone Groups 1.0 deleted

Milestone Groups 1.0 deleted

Note: See TracTickets for help on using tickets.