I have my gallery bridged with SMF. When I click on "assigned albums" in Groups Manager, it goes to the SMF Memberlist. Is this the expected behavior?
Any requests to usermgr.php are redirected to the memberlist when bridged to smf. If you need to use functionality on that page when bridged to smf then you need to evade the redirect under that condition.
if (!$_GET['op'] == 'group_alb_access') $cpg_udb->view_users();
Great! Thanks, Nibbler. :)
Is this something to add to CVS?
Quote from: Nibbler on February 10, 2006, 08:10:32 PM
Any requests to usermgr.php are redirected to the memberlist when bridged to smf. If you need to use functionality on that page when bridged to smf then you need to evade the redirect under that condition.
if (!$_GET['op'] == 'group_alb_access') $cpg_udb->view_users();
I had a look in the
usermgr.php and was unsure where exactly to add the above code. Could you tell me where about's to paste this code, maybe a line number or something, i'm not even sure what file it goes into. I'm using CPG 1.4.5 bridged to SMF 1.1 RC2
-thanks
I am trying to figure out the exact same thing :)
Open usermgr.php
FIND:
$cpg_udb->view_users();
REPLACE with:
if (!$_GET['op'] == 'group_alb_access') $cpg_udb->view_users();