coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: woolly bugger on April 18, 2006, 11:18:48 PM

Title: okay, my bridged CPG was working then i added a pointer domain...
Post by: woolly bugger on April 18, 2006, 11:18:48 PM
The forum was located @ http://www.kbrcomm.com/forum

I added a pointed domain brfff.com and this is the .htaccess

QuoteRedirect /kbrjava/yabb/YaBB.cgi http://www.brfff.com/forum/

RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
Options +FollowSymlinks
RewriteBase /
RewriteCond %{HTTP_HOST} brfff.com

the old url to the board is http://www.kbrcomm.com/gallery
new is http://www.brfff.com/gallery


I changed the SMF board's url to brfff.com and edited the board.index.php and settings.php to reflect the changed links to the Gallery and Chat

the link to the board woks but users are not logged in....

What do I need to fix?

Thanks,



p.s. i can't include a "guest" account, because none of them work anyway....
Title: Re: okay, my bridged CPG was working then i added a pointer domain...
Post by: Nibbler on April 18, 2006, 11:48:32 PM
Post a test user account. It doesn't matter if you can't login using it, that's not the point.
Title: Re: okay, my bridged CPG was working then i added a pointer domain...
Post by: woolly bugger on April 19, 2006, 01:09:08 PM
user: tester
password: tester

I wasn't sure what version i was running...

looked in the config.php file found this Coppermine version: 1.3.4

oh, and I changed the SMF Cookie Name too....

http://www.brfff.com/forum/

// Set this to the location of your Settings file:

$path = '../forum';



Bridged to SMF

// Comment this out if you want to default user's group to 'Registered'

// rather than using Post Count based groups.

//define('USE_POST_GROUPS', 1);



// Set the names of implied groups here

define('CM_ADMIN_GROUP_NAME', 'Administrators');

define('CM_MEMBERS_GROUP_NAME', 'Registered');

define('CM_GUEST_GROUP_NAME', 'Anonymous');

define('CM_BANNED_GROUP_NAME', 'Banned');

define('CM_GMOD_GROUP_NAME', 'Global Moderators');

thanks
Title: Re: okay, my bridged CPG was working then i added a pointer domain...
Post by: Nibbler on April 19, 2006, 01:49:54 PM
Cookie path in SMF needs to be set as '/'.
Title: Re: okay, my bridged CPG was working then i added a pointer domain...
Post by: woolly bugger on April 19, 2006, 02:43:03 PM
Quote from: Nibbler on April 19, 2006, 01:49:54 PM
Cookie path in SMF needs to be set as '/'.

Nibbler,

I'm not sure what your telling me....

In the SMF admin change the cookie name: to  "/SMFCookie11" ????


Title: Re: okay, my bridged CPG was working then i added a pointer domain...
Post by: woolly bugger on April 19, 2006, 04:27:40 PM
never mind....

i had the cookies set for local and unchecking that smf option cured the bridge....

thanks....