Jump to content

Zasha_82

New Members
  • Content Count

    1
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Zasha_82

  • Rank
    Newbie
  1. Hi, Can anyone please help me with the following: The code below is the function to display users created groups on a page. I want to change this to display groups user has joined. Can anyone please help with this? public function userViewSidebarGroups($user) { if ( !$user['total_groups'] || !session::permission('groups_browse', 'groups') && $user['user_id'] != session::item('user_id') ) { return ''; } loader::helper('groups/groups'); echo groups_helper::getGroups(array('user' => $user, 'limit' => 4, 'select_users' => false, 'template' => 'groups/helpers/groups_sidebar')); } Thanks
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.