coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 bridging => Topic started by: Tranz on February 10, 2006, 06:59:00 PM

Title: "assigned albums" goes to memberlist when bridged
Post by: Tranz on February 10, 2006, 06:59:00 PM
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?
Title: Re: "assigned albums" goes to memberlist when bridged
Post by: 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();
Title: Re: "assigned albums" goes to memberlist when bridged
Post by: Tranz on February 11, 2006, 06:02:48 AM
Great! Thanks, Nibbler. :)
Title: Re: "assigned albums" goes to memberlist when bridged
Post by: Tranz on February 18, 2006, 08:00:12 PM
Is this something to add to CVS?
Title: Re: "assigned albums" goes to memberlist when bridged
Post by: king_beard on April 24, 2006, 11:39:53 PM
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
Title: Re: "assigned albums" goes to memberlist when bridged
Post by: spiros71 on April 25, 2006, 03:07:34 AM
I am trying to figure out the exact same thing  :)
Title: Re: "assigned albums" goes to memberlist when bridged
Post by: Tranz on April 25, 2006, 06:34:09 AM
Open usermgr.php

FIND:
$cpg_udb->view_users();

REPLACE with:
if (!$_GET['op'] == 'group_alb_access') $cpg_udb->view_users();