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.

Archive

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

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

Punbb members integration


Reply

7 Posts   3340 Views

Avatar
Bloody

14 December 2007 at 10:41pm (Last edited: 14 December 2007 10:42pm), Community Member, 4 Posts

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

16 December 2007 at 12:49am Community Member, 787 Posts

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

Avatar
Bloody

17 December 2007 at 10:38pm Community Member, 4 Posts

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

20 December 2007 at 3:40am Community Member, 787 Posts

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

20 December 2007 at 10:20am (Last edited: 20 December 2007 10:26am), Community Member, 4 Posts

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 [url=http://www.chantdeleau.com/punbb.txt]here [/url], 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

20 December 2007 at 9:53pm Community Member, 787 Posts

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

Good luck though !

Avatar
Bloody

20 December 2007 at 10:13pm Community Member, 4 Posts

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