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

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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