Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

Punbb members integration


Go to End


7 Posts   4230 Views

Avatar
Bloody

Community Member, 4 Posts

14 December 2007 at 10:41pm

Edited: 14/12/2007 10:42pm

As i seen that it was possible to integrate PhpBB into Silverstrip, I asked whether it were possible to carry out a bridge between Punbb and Silverstrip ?

Maybe with the "punbb.class.php".

Avatar
Fuzz10

Community Member, 791 Posts

16 December 2007 at 12:49am

What would you like to do? Use your existing userlist also for Silverstripe ?

Avatar
Bloody

Community Member, 4 Posts

17 December 2007 at 10:38pm

Fuzz10, yes in the second time i will use the existing userlist.
But firts, i want a register and login/logout between Silverstripe and Punbb twice.
I do not know if I'm explained well (I'm French).

Avatar
Fuzz10

Community Member, 791 Posts

20 December 2007 at 3:40am

Hmmm... Using the same databasetables would be pretty easy I think , but having a single signon ?

Look at :
http://doc.silverstripe.com/doku.php?id=modules:external-authentication&s=phpbb

Avatar
Bloody

Community Member, 4 Posts

20 December 2007 at 10:20am

Edited: 20/12/2007 10:26am

For the single signon, i think it's possible not ?
I had installed external-authentication before ask my first question, but I do not see how use it for my problem.

If you can help me. You can find here , the punBB integration class.

Here an PunBB config file example

<?php

// This is just an example config. The install script will generate a correct
// version of this file when you install PunBB. This file is here merely as a
// backup if the working version is somehow lost or corrupted.

$db_type = 'blabla';
$db_host = 'blabla';
$db_name = 'blabla';
$db_username = 'blabla';
$db_password = 'blabla';
$db_prefix = '';
$p_connect = false;

$cookie_name = 'punbb_cookie';
$cookie_domain = '';
$cookie_path = '/';
$cookie_secure = 0;
$cookie_seed = 'asdf1234';	// Make up your own secret seed here

define('PUN', 1);

Thanks for your help.

Avatar
Fuzz10

Community Member, 791 Posts

20 December 2007 at 9:53pm

Phew... Sorry mate. Can't help ..

Good luck though !

Avatar
Bloody

Community Member, 4 Posts

20 December 2007 at 10:13pm

Too bad. Thank you for all. Maybe somebody Silvestripe team will be able to help me.