coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 bridging => Topic started by: Starrbuck on July 12, 2006, 07:59:52 PM

Title: SMF Profiles
Post by: Starrbuck on July 12, 2006, 07:59:52 PM
I have the following issue when trying to bridge Coppermine and SMF:
Using the "my profile" link causes the SMF profile to come up inside the iframe where the Coppermine is.  I would prefer that it brings up the profile either in the main window or a new window as having it in the same iframe causes it to have multiple headings.  To bring up Coppermine wrapped in the site, use http://www.fioch.org/index.php?action=gallery (http://www.fioch.org/index.php?action=gallery).


Coppermine install: http://www.fioch.org/gallery/
Forum install: http://www.fioch.org
Coppermine version: cpg1.4.8
Forum version: SMF 1.1 RC2 / TinyPortal 0.8.6
Test user account: Ben / Passw0rd

BridgeManager settings:
Forum URL:  http://www.fioch.org
Relative path to your BBS's config file:  ../
Use post-based groups?:  0
Title: Re: SMF Profiles
Post by: Nibbler on July 12, 2006, 09:14:23 PM
Feel free to change the redirect method to something that supports frames. Check in bridge/udb_base.inc.php for


        // Redirect
        function redirect($target)
        {
                header('Location: '. $this->boardurl . $target);
                exit;
        }
Title: Re: SMF Profiles
Post by: Starrbuck on July 12, 2006, 10:08:42 PM
But I don't think I really want iframes.  I want the "my profile" link to bring up "/index.php?action=profile" from SMF instead of through Coppermine with its "/gallery/profile.php?op=edit_profile" as it does now.