I am trying to integrate my CPG and my PHPBB
The directories where each is installed is as follows
PHPBB www.mysite.com/msgboard/nfphpbb
CPG www.mysite.com/Group101Actors/nfpicturepro
Should the qookie path be set for both to be / . Or should it be // or ./ or ..// or what?
I have it 99.9% integrated. But that feels so far from 100.
I know, from reading all the posts on the subject, that the only problem I am having is getting CPG to read the friggin' PHPBB's cookie.
I click on the CPG Log In link, it takes me to the BB Log In screen. I type the username and password and it redirects me to CPG where I am not logged in. Yet, if I go back to the BB, I am logged in. Definitely a cookie thing, right?
http://www.group101clt.com/Group101Actors/nfpicturepro/index.php u=test p=test
2nd question:
Should changes be made to this part of the phpbb.in.php file?
// Retrieve cookie stored login information
if (!isset($HTTP_COOKIE_VARS[PHPBB_COOKIE_PREFIX . '_data'])) {
$cookie_uid = 0;
$cookie_pass = '*';
I know it says: "// Nothing to edit below this line." But... I was wondering if that's for when you are doing something other to the files than trying to get it to bridge correctly.
I know these are probably dumb questions. Forgive me.
Issue solved ?
What do you mean? Nobody offered any suggestions or response, yet.
I just went to your site and it works perfectly.
I will be darn. It works for the user accts. but not for the admin acct. Why is that?
Could this be an issue of the group definitions in the bridging file
// Group definitions
define('PHPBB_ADMIN_GROUP', 1);
and the group ID in the phpbb dd?
My phpbb_groups table has
Group ID Group Type 2 Group Name
1 2 Admin
But maybe I'm looking in the wrong table or something.
Solved it. My user ID was 0 in the phpbb db, which I gues was conflicting with stuff in the bridging file. I changed it to 1 and now it works.
Thanks, Nibbler for taking the time to look into it.