Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: 1 [2]   Go Down

Author Topic: PunBB integration  (Read 29834 times)

0 Members and 1 Guest are viewing this topic.

Nibbler

  • Guest
Re: PunBB integration
« Reply #20 on: August 12, 2004, 02:34:14 pm »

I didnt have any moderators in my test install, I'll go investigate, thanks.
Logged

Nibbler

  • Guest
Re: PunBB integration
« Reply #21 on: August 15, 2004, 02:46:05 am »

Fixed that (in v1.2), and added option to treat punbb moderators as cpg admins (off by default). Make sure you go to the cpg groups page to allow the groups to be re-synced after you update.
Logged

zorbas2

  • Coppermine novice
  • *
  • Country: gr
  • Offline Offline
  • Gender: Male
  • Posts: 43
  • not bridged yet :(
    • Zorbas Travel Stoupa - Greece
Re: PunBB integration
« Reply #22 on: September 03, 2004, 03:33:19 pm »

I have an installation of punbb at http://www.zorbas.de/scripts/punbb-1.0.1/ (version is 1.1.5).
My coppermine gallery is installed at http://www.zorbas.de/scripts/gallery (just updated to 1.3.2)
I tried the integration and I do think that everything i did was right. At least i was following exactly the docu. When login at the gallery i get redirected to the login screen from the board. After successful login it takes me back to the gallery but i am not logged on...
I use the same database for all tables. Prefixes are cpg11d_ and zforum.
I can't find what I did wrong. Any suggestions - please... ???
Logged

Nibbler

  • Guest
Re: PunBB integration
« Reply #23 on: September 03, 2004, 04:29:03 pm »

When I click on login from your gallery I get the gallery login, so integration is not currently enabled. When you do enable it, please post a test login and pass.
Logged

zorbas2

  • Coppermine novice
  • *
  • Country: gr
  • Offline Offline
  • Gender: Male
  • Posts: 43
  • not bridged yet :(
    • Zorbas Travel Stoupa - Greece
Re: PunBB integration
« Reply #24 on: September 03, 2004, 04:51:55 pm »

Hi Nibbler,

sorry - yes I disabled it for not to confuse my visitors...
Now you should be able to try it:
user: nibbler
pw: iJRa0t7G
Of course now you have an account for the board but unfortunately it won't work for the gallery - until you maybe find my mistake...

Just read the following line from GauGau: "...we have a one question per thread policy on this board..."
Hope I do not cause any probs....
« Last Edit: September 03, 2004, 05:01:19 pm by zorbas2 »
Logged

Nibbler

  • Guest
Re: PunBB integration
« Reply #25 on: September 03, 2004, 05:03:15 pm »

I can't see anything obviously wrong. Try the attached debug version of the bridge file. Rename your current briodge file to something else and use this one as punbb.inc.php instead. It should say what is going wrong at the top of the coppermine page. If you still have probs you can pm me ftp details and I'll take a look for you if you like.
Logged

zorbas2

  • Coppermine novice
  • *
  • Country: gr
  • Offline Offline
  • Gender: Male
  • Posts: 43
  • not bridged yet :(
    • Zorbas Travel Stoupa - Greece
Re: PunBB integration
« Reply #26 on: September 03, 2004, 05:12:47 pm »

thanks for this really helpful debug file!!
The Problem seem to be that the cookie '' can not be found...
Where do I give this !#*$&? - cookie a name that can be found???
Logged

Nibbler

  • Guest
Re: PunBB integration
« Reply #27 on: September 03, 2004, 05:15:14 pm »

The cookie settings should be in punbb's config.php, for example:

Code: [Select]
$cookie_name = 'punbb_cookie';
$cookie_domain = '';
$cookie_path = '/';
$cookie_secure = 0;

Add it if it's not there.
Logged

zorbas2

  • Coppermine novice
  • *
  • Country: gr
  • Offline Offline
  • Gender: Male
  • Posts: 43
  • not bridged yet :(
    • Zorbas Travel Stoupa - Greece
Re: PunBB integration
« Reply #28 on: September 03, 2004, 05:30:10 pm »

As other people allready stated I must say the same: You are a GENIOUS !!!

That was it: The cookie-name-line was missing in my config.php of the punbb

If I can do something for you when you visit Greece one time, just contact me: http://www.zorbas.de/webcam/

Thanks again!
Logged

zztap

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 1
  • It's a kind of magic...
Re: PunBB integration
« Reply #29 on: September 05, 2004, 07:28:42 pm »

Got a problem with integration. Did what the documents said but got a blank screen when got back to the coppermine part.

So what I did was I canged the bridge file, edited in the init. thingie for punbb and then put the redir.php to punbb-folder. And got a blank page, nothing else. When I comment out the row in init.inc.php coppermine goes on like nothing happened (a working, but on its own). It hasn't done anything to the databases over there...

Edit: Oh, got the problem already fixed. The only two things to edit in the bridge file was wrong, the path anyway... just changed the "../forum" thing to "../../forum" and it worked...
« Last Edit: September 05, 2004, 08:38:27 pm by zztap »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: PunBB integration
« Reply #30 on: September 05, 2004, 08:34:20 pm »

how about a link and test user account (non-admin)?

Joachim
Logged

chilehead

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: PunBB integration
« Reply #31 on: October 01, 2004, 01:09:51 am »

does anyone know the best way to get them to share style sheets?  coppermine is a bit fancier than punbb, so i'm going to stick with the 'classic' style, but i would like it to be the same colors as the forum, so sharing the same style.css would be perfect.  thx for any ideas.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: PunBB integration
« Reply #32 on: October 01, 2004, 06:35:43 am »

Sharing tje same stylesheet won't help, as both apps use different class names. You can make coppermine match the look of your bbs or vice versa by editing the stylesheet. If you insist on making them share the same stylesheet (not recommended), edit themes/yourtheme/template.html, find
Code: [Select]
<link rel="stylesheet" href="themes/yourtheme/style.css" />and change the path to make it point to your bbs app's stylesheet. This is all plain html and css, no fancy php involved.

Joachim
Logged

chilehead

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: PunBB integration
« Reply #33 on: October 02, 2004, 12:41:10 am »

maybe i can cut and past everything from one into the other so all the class names are addressed?  I know i still have to change the colors to make sence, but then maybe.... hmmm, okay, maybe i'll just edit the stylesheet :D
Logged

simkin

  • Translator
  • Coppermine newbie
  • **
  • Offline Offline
  • Posts: 10
    • Tintaxina
Re: PunBB integration
« Reply #34 on: December 02, 2004, 08:12:34 pm »

Very useful! Thank you a lot Nibbler!
Will you upgrade this bridge to punbb1.2?
Logged

Nibbler

  • Guest
Re: PunBB integration
« Reply #35 on: December 03, 2004, 11:20:46 am »

I've made one for coppermine 1.4, but I will make a 1.3 version if punbb 1.2 is final before cpg 1.4 is final.
Logged

simkin

  • Translator
  • Coppermine newbie
  • **
  • Offline Offline
  • Posts: 10
    • Tintaxina
Re: PunBB integration
« Reply #36 on: December 04, 2004, 03:02:30 am »

Ok, I'll wait...  ;D Thanks!
Logged
Pages: 1 [2]   Go Up
 

Page created in 0.021 seconds with 19 queries.