"assigned albums" goes to memberlist when bridged "assigned albums" goes to memberlist when bridged
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

"assigned albums" goes to memberlist when bridged

Started by Tranz, February 10, 2006, 06:59:00 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Tranz

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?

Nibbler

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();

Tranz


Tranz


king_beard

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

spiros71

#5
I am trying to figure out the exact same thing  :)

Tranz

Open usermgr.php

FIND:
$cpg_udb->view_users();

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