PunBB integration - Page 2 PunBB integration - Page 2
 

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

Main Menu

PunBB integration

Started by Cailean, July 08, 2004, 08:28:31 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Nibbler

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

Nibbler

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.

zorbas2

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... ???

Nibbler

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.

zorbas2

#24
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....

Nibbler

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.

zorbas2

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???

Nibbler

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

$cookie_name = 'punbb_cookie';
$cookie_domain = '';
$cookie_path = '/';
$cookie_secure = 0;


Add it if it's not there.

zorbas2

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!

zztap

#29
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...

Joachim Müller

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

Joachim

chilehead

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.

Joachim Müller

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<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

chilehead

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

simkin

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

Nibbler

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.

simkin

Ok, I'll wait...  ;D Thanks!