Advanced search  

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

Pages: [1]   Go Down

Author Topic: Bridging to phpBB 2.0.22  (Read 5683 times)

0 Members and 1 Guest are viewing this topic.

CD69

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 56
Bridging to phpBB 2.0.22
« on: December 22, 2009, 07:49:02 pm »

Coppermine install: http://www.chitown-angler.com/tipup/
Forum install: http://www.chitown-angler.com/1fish
Coppermine version: 1.4.25
Forum version: phpbb 2.0.22
Test user account: username: Ralph / password: coppermine

BridgeManager settings:
Forum URL:  http://www.chitown-angler.com/1fish 
Relative path to your BBS's config file:  ../1fish/ 
Use post-based groups?:  0 
Cookie prefix:  /1fish 
Enable integration/bridging with phpBB version 2.0.18 or better

Good day.

I’ve installed a fresh copy of CPG and am attempting to bridge it to my forums. When I enable the bridge (cookies cleared each time) and attempt to log into CPG it redirects to my forum for login, I log in and it sends me right back to my CPG like it’s supposed to, works great but I’m still not logged into the CPG.

I also attempted to change my Cookie prefix to / but then my site will not allow users to log into the forums.

Sorry to ask something that may have been answered on the forums but I’ve been reading for a couple days and can’t find the fix.

Thanks in advance!
Logged

Nibbler

  • Guest
Re: Bridging to phpBB 2.0.22
« Reply #1 on: December 22, 2009, 08:10:34 pm »

I get a message telling me I am banned.

Quote
You have been banned from this forum.
Please contact the webmaster or board administrator for more information.

You seem to be confused between cookie prefix and cookie path. The path should be set to '/' and the cookie names can be kept as default.
Logged

CD69

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 56
Re: Bridging to phpBB 2.0.22
« Reply #2 on: December 22, 2009, 08:21:03 pm »

Nibbler,

Thanks for the quick response, you've always been helpful.

Now come's the tough part, your right I am confused.

I don't know thedifference between a cookie prefix and a cookie path.

Should I simply be setting my cookie prefix in CPG to /
Logged

CD69

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 56
Re: Bridging to phpBB 2.0.22
« Reply #3 on: December 22, 2009, 08:48:46 pm »

And sorry for the ban problem, I fixed the account.
Logged

Nibbler

  • Guest
Re: Bridging to phpBB 2.0.22
« Reply #4 on: December 22, 2009, 09:35:18 pm »

The cookie path specifies where on your domain the cookie is valid. The '/' here means that the cookies will be readable from all paths on the domain, so from both Coppermine and the forum which is what the bridge requires. The cookie prefix is just tacked on to the start of the cookie name. Your forum's data cookie is named "chitown-an_forum_data". That means the prefix is "chitown-an_forum".

So, the settings required are:

Cookie path: / (in your forum)
Cookie prefix: chitown-an_forum (in the Coppermine bridge manager)

You don't need to change the cookie name in Coppermine's configuration page; that is unrelated to bridging.
Logged

CD69

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 56
Re: Bridging to phpBB 2.0.22
« Reply #5 on: December 22, 2009, 09:56:15 pm »

Thanks for the education Nibber!

I went through and made the changes you suggested to my forum. Once I changed the cookie path from /1fish to / i couldn't (nor my members) log into the forums any longers.

Once I went back into the db and changed it to 1fish everything was fine again.

Thoughts....

I did change the Cookie prefix to 'chitown-an_forum" in the Coopermine bridge and clear the cache once I made the changes.
Logged

Nibbler

  • Guest
Re: Bridging to phpBB 2.0.22
« Reply #6 on: December 22, 2009, 10:18:01 pm »

You need to clear your cookies in your web browser after making the change.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Bridging to phpBB 2.0.22
« Reply #7 on: December 22, 2009, 10:42:09 pm »

...or rename your cookie by choosing another cookie prefix. This makes it no longer necessary for everyone to delete the cookie locally.
Logged

CD69

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 56
Re: Bridging to phpBB 2.0.22
« Reply #8 on: December 22, 2009, 11:33:10 pm »

As always you folks are a huge help, everything is working perfectly!

Nibbler, thanks for sticking with me since I'm always a little confused  ;D

You've done some stuff for me in the past and it's always good when you help me out.

Have a good holiday all!

I like when I can say this....

Problem Solved
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Bridging to phpBB 2.0.22
« Reply #9 on: December 23, 2009, 12:10:41 am »

Don't forget to press the little tick to mark your thread as solved ;)
Logged
It is a mistake to think you can solve any major problems just with potatoes.
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 21 queries.