I found this on line 847..?
Code:
// Items to display per page
$perpage = (!$vbulletin->GPC['perpage'] OR $vbulletin->GPC['perpage'] > $vbulletin->options['sg_maxperpage']) ? $vbulletin->options['sg_perpage'] : $vbulletin->GPC['perpage'];
And this on line 776
Code:
// Display groups the current user is in
if ($vbulletin->userinfo['userid'])
{
$mygroups = fetch_socialgroups_mygroups($vbulletin->options['sg_enablesocialgroupicons']);
// Render bits
$mygroup_bits = '';
foreach ($mygroups AS $mygroup)
{
($hook = vBulletinHook::fetch_hook('group_list_mygroupsbit')) ? eval($hook) : false;
eval('$mygroup_bits .= "' . fetch_template('socialgroups_mygroups_' . ($vbulletin->options['sg_enablesocialgroupicons'] ? '' : 'listview_') . 'bit') . '";');
}
}
($hook = vBulletinHook::fetch_hook('group_overview')) ? eval($hook) : false;
$navbits[''] = $vbphrase['social_groups'];
$show['creategroup'] = ($vbulletin->userinfo['permissions']['socialgrouppermissions'] & $vbulletin->bf_ugp_socialgrouppermissions['cancreategroups']);
$templatename = 'socialgroups_overview';
}