Hi, ::)
I've installed cpg 1.3 from fantastico cpanel.
I followed all Bridge/Integration documentation.
http://www.texashotboats.com/forums/index.php?sid=c369185ef12a317f56af3af628b2b82e
http://texashotboats.com/gallery/index.php
my files are as follows:
init.inc.php
define('COPPERMINE_VERSION', '1.3.2');
// User database integration
// Uncomment the applicable line if you want to use it
define('UDB_INTEGRATION', 'phpbb');
// define('UDB_INTEGRATION', 'invisionboard');
// define('UDB_INTEGRATION', 'vbulletin23');
// define('UDB_INTEGRATION', 'vbulletin30');
// define('UDB_INTEGRATION', 'yabbse');
// define('UDB_INTEGRATION', 'smf');
// define('UDB_INTEGRATION', 'woltlab21');
// define('UDB_INTEGRATION', 'punbb');
if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');
phpbb.inc.php
// database configuration
define('PHPBB_DB_NAME', 'cookiman_phpb1'); // The name of the database used by the board
define('PHPBB_BD_HOST', 'localhost'); // The name of the database server
define('PHPBB_DB_USERNAME', 'cookiman_phpb1'); // The username to use to connect to the database
define('PHPBB_DB_PASSWORD', '*********'); // The password to use to connect to the database
// The web path to your phpBB directory
// If your URL to your board is for example 'http://yoursite_name.com/phpBB2/',
// you'll have to set the below var to '/phpBB2/'.
define('PHPBB_WEB_PATH', '/forums/')
cpg_redir.php
<?php
if (!$_SERVER['HTTP_HOST']) {
$cpg_host=$HTTP_SERVER_VARS['HTTP_HOST'];
} else {
$cpg_host=$_SERVER['HTTP_HOST'];
}
$cpg_path='/gallery';
header("Location: http://".$cpg_host.$cpg_path);
exit;
?>
I select login from cpg and it directs to forum login then it directs to forum index.
Here I am concerned! It doesen't show that I logged into the forum or the gallery.
at this point im concerned that my forum users won't be logged into the forum correctly.
Note*
I am using an existing forum administrator user name and password to try to login.
I also tried it with the cpg admin admin that I set up when installing.
I tried clearing cookies
I tried login in to the forum and then going to cpg (still not logging in)
can you look things over I really like cpgs look and the fact that it can be bridged with my existing forum. I had complaints about not being able to use the same username and pass on my previous gallery powered by gallery.
Thanks
wingman ::)
Can you post a test user account ?
It looks like your board isn't setting cookies properly, make sure you set a valid cookie domain in phpbb config.
Quote from: Wingman on April 02, 2005, 02:03:09 AM
Hi, ::)
I've installed cpg 1.3 from fantastico cpanel.
I followed all Bridge/Integration documentation.
http://www.texashotboats.com/forums/index.php?sid=c369185ef12a317f56af3af628b2b82e
http://texashotboats.com/gallery/index.php
my files are as follows:
init.inc.php
define('COPPERMINE_VERSION', '1.3.2');
// User database integration
// Uncomment the applicable line if you want to use it
define('UDB_INTEGRATION', 'phpbb');
// define('UDB_INTEGRATION', 'invisionboard');
// define('UDB_INTEGRATION', 'vbulletin23');
// define('UDB_INTEGRATION', 'vbulletin30');
// define('UDB_INTEGRATION', 'yabbse');
// define('UDB_INTEGRATION', 'smf');
// define('UDB_INTEGRATION', 'woltlab21');
// define('UDB_INTEGRATION', 'punbb');
if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');
phpbb.inc.php
// database configuration
define('PHPBB_DB_NAME', 'cookiman_phpb1'); // The name of the database used by the board
define('PHPBB_BD_HOST', 'localhost'); // The name of the database server
define('PHPBB_DB_USERNAME', 'cookiman_phpb1'); // The username to use to connect to the database
define('PHPBB_DB_PASSWORD', '*********'); // The password to use to connect to the database
// The web path to your phpBB directory
// If your URL to your board is for example 'http://yoursite_name.com/phpBB2/',
// you'll have to set the below var to '/phpBB2/'.
define('PHPBB_WEB_PATH', '/forums/')
cpg_redir.php
<?php
if (!$_SERVER['HTTP_HOST']) {
$cpg_host=$HTTP_SERVER_VARS['HTTP_HOST'];
} else {
$cpg_host=$_SERVER['HTTP_HOST'];
}
$cpg_path='/gallery';
header("Location: http://".$cpg_host.$cpg_path);
exit;
?>
I select login from cpg and it directs to forum login then it directs to cpg index.
Here I am concerned! It doesen't show that I logged into the cgp and it won't let me do anything if I'm not logged in.
Note*
I am using an existing forum administrator user name and password to try to login.
I also tried it with the cpg admin admin that I set up when installing.
I tried clearing cookies
I tried login in to the forum and then going to cpg (still not logging in)
can you look things over I really like cpgs look and the fact that it can be bridged with my existing forum. I had complaints about not being able to use the same username and pass on my previous gallery powered by gallery.
Thanks
wingman ::)
Nibbler asked you to post a test user account. Why did you quote your original post?
Just by looking at the links you posted I can tell you your problem may be caused because you have one cookie being set on www.texashotboats.com and another being set on texashotboats.com. You need to decide: either use www. for both of your sites, or don't use it at all.
I'm guessing you have your "Target address for the 'See more pictures' link in e-cards" set to http://texashotboats.com/gallery/. Try changing it to http://www.texashotboats.com/gallery/
Make sure you delete all cookies for your domain (www and no www), close your browser, then try again.
http://texashotboats.com/forums/index.php?sid=07b8fbc1cb8d1a8d9409155d5305d3a2
username: test
password: test1
sorry qoute needed to me more specific.
I changed the paragraph that stated the direct to after login
I will change the cookie as the above reply states to texashotboats.com instead of the www.
Yes check it out please.
and thanks
How would I do that without being able to login to change config cookie?
You need to to change the phpbb's cookie domain. Bridging won't affect your ability to login to phpbb.
It seems to be set to http://www.texashotboats.com/forums
it should be just texashotboats.com
Thanks that worked! ;D ;D ;D
I checked to see if I was logged into the forums as well and I was.
Also I checked to see if I could use another registered user from forums and it worked.
I have a question
If I logg out of one or the other will it log me out of the other? ::)
And do I need to do anything else or am I good to go?
Yes, clicking logout in coppermine will log you out of your forum. Your bridging now seems to be working perfectly. :)
Thanks a lot!
I can't wait for 1.4 and the bridge wizzard.
good luck with the merger gallery seems a bit complicated.
note*
It seems the bridge documentation is very clear. I recomend being more specific in (elementary) terms about the cookies and paths.
;D