integrate with phpbb?

Postby phunkphorce on Tue Apr 05, 2005 12:23 pm

yup that's what I thought... But should it be created automatically? (with some defaults, etc) or walk the user through some sort of wizard?
phunkphorce
Lifetype Expert
 
Posts: 9028
Joined: Mon Aug 25, 2003 6:34 am
Location: Suomessa

Postby Berlin on Sat Apr 16, 2005 1:25 pm

My programmer can't seem to find a solution after 2 weeks. What I wanted was for the plog to use the forum's user table and allow plog or summary.php to recognize that the user is logged in. This worked ok. But he can't figure out how to proceed.

If the user is logged in, He will see a button upon clicking to the plog link whether he wants to create a blog.

If he's not registered or logged in he will see the usual summary page.

If he's logged in and owns a blog, upon clicking the plog link, he will be taken directly to the dashboard.

His solution is to run a script to create sample blogs for all existing users. On a typical forum, you'll have 30 - 50 active users for every 1000 members. This will mean a thousand sample blogs in the background waiting to be renamed.

So I guess we're back to synching.
Berlin
 
Posts: 22
Joined: Wed Mar 16, 2005 12:29 am

Postby phunkphorce on Sat Apr 16, 2005 9:39 pm

We'll tackle this issue in a future version. In the meantime, your programmer could ask for advice here if he's stuck somewhere...
phunkphorce
Lifetype Expert
 
Posts: 9028
Joined: Mon Aug 25, 2003 6:34 am
Location: Suomessa

Postby jondaley on Mon Apr 18, 2005 10:25 am

I am about to start working on a similar problem.
I have plog for the main page, but then will want to not have to create an additional user inside of phpBB, but just use the same info.
jondaley
Lifetype Expert
 
Posts: 6141
Joined: Thu May 20, 2004 6:19 pm
Location: Pittsburgh, PA, USA
LifeType Version: 1.2.11 devel branch

Postby phunkphorce on Mon Apr 18, 2005 11:05 am

I unfortunately do not have the time to work on this at the moment but I have some ideas as to how to implement it. If there is somebody interested in working on it, please let me know.
phunkphorce
Lifetype Expert
 
Posts: 9028
Joined: Mon Aug 25, 2003 6:34 am
Location: Suomessa

Postby ushkand on Fri Aug 19, 2005 12:46 pm

phunkphorce wrote:yup that's what I thought... But should it be created automatically? (with some defaults, etc) or walk the user through some sort of wizard?


I think it should be an option. For instance a forum can have over 10000 members and not all of them would want a blog. So creating a blog automatically is not very efficient. When a new user logs into plog, he/she should be presented with an option to create a blog and if they chose that option -> walk them through the 2nd wizard from the orinal plog registration.

Hope this makes sense.
ushkand
 
Posts: 5
Joined: Thu Aug 11, 2005 4:49 pm

Postby phunkphorce on Sat Aug 20, 2005 8:18 am

the current implementation works so that a blog is created automatically when the user logs in for the first time... If the user never logs in (because he or she doesn't really want a blog), then there'll be no blog. It is conceptually much easier (and much easier to code too!)
phunkphorce
Lifetype Expert
 
Posts: 9028
Joined: Mon Aug 25, 2003 6:34 am
Location: Suomessa

Postby cosmicboy on Sat Mar 25, 2006 6:34 pm

Is there any code for the phpbb integration available?
cosmicboy
 
Posts: 4
Joined: Sat Mar 25, 2006 6:33 pm

Postby phunkphorce on Sun Mar 26, 2006 1:43 pm

It's in the 1.1 tree, but it hasn't been documented yet. You can check it out from the trunk/ folder in our Subversion repository if interested (http://www.lifetype.net/blog.php/lifety ... repository)
phunkphorce
Lifetype Expert
 
Posts: 9028
Joined: Mon Aug 25, 2003 6:34 am
Location: Suomessa

Postby Hendrik on Fri Jul 07, 2006 8:40 am

I just installed 1.1 but I still have no clue in how I can integrate phpbb.

I'm sorry to say I don't understand at all what you mean with Subversion repository as well as trunk/ folder.

Do I need to change a lot of code to integrade phpbb or is it more or less build in as an option. I installed 1.1 because you all say that there it is integrated but I don't see how.

Do I also need to change phpbb or just install it in the same database as LT?
And if it needs the same database does it also need the same prefix?

Thanks
Hendrik
 
Posts: 19
Joined: Thu May 18, 2006 7:11 pm

Postby phunkphorce on Fri Jul 07, 2006 9:55 am

Hendrik wrote:I just installed 1.1 but I still have no clue in how I can integrate phpbb.

I'm sorry to say I don't understand at all what you mean with Subversion repository as well as trunk/ folder.


You can get daily snapshots from here:

http://www.lifetype.net/snapshots/life ... latest.zip

Do I need to change a lot of code to integrade phpbb or is it more or less build in as an option. I installed 1.1 because you all say that there it is integrated but I don't see how.


It's built in, but we haven't had time to document it yet.

Do I also need to change phpbb or just install it in the same database as LT?


No. Phpbb can live in its own database.

And if it needs the same database does it also need the same prefix?


No.

Just edit the file config/userdata.properties.php, comment these lines:

[code]
$config = Array(
"provider" => "LifeTypeUserDataProvider",
);
[/code]

And uncoment these:

[code]
$config = Array(
"provider" => "PhpBB2UserDataProvider",
"createBlogIfNotExisting" => true,
"database" => "phpbb2",
"user" => "root",
"password" => "",
"prefix" => "phpbb_"
);
[/code]

Don't forget to replace the default values with your own database, user, password and prefix for your phpbb installation.
phunkphorce
Lifetype Expert
 
Posts: 9028
Joined: Mon Aug 25, 2003 6:34 am
Location: Suomessa

Postby jondaley on Sat Jul 08, 2006 9:08 pm

he means lifetype.net and not lifetype.net.
jondaley
Lifetype Expert
 
Posts: 6141
Joined: Thu May 20, 2004 6:19 pm
Location: Pittsburgh, PA, USA
LifeType Version: 1.2.11 devel branch

Postby Hendrik on Thu Sep 07, 2006 7:05 pm

Does this also work on an already existing phpbb forum or does it need to have an empty database?
Thanks
Hendrik
 
Posts: 19
Joined: Thu May 18, 2006 7:11 pm

Postby phunkphorce on Fri Sep 08, 2006 1:26 am

It works with existing phpbb installations, but please configure the data provider before any users are added to LT.
phunkphorce
Lifetype Expert
 
Posts: 9028
Joined: Mon Aug 25, 2003 6:34 am
Location: Suomessa

Postby Hendrik on Fri Oct 06, 2006 6:27 pm

Is it possible to link it to a forum on an other domain?
And if so don't I need to change something?
Thanks!
Hendrik
 
Posts: 19
Joined: Thu May 18, 2006 7:11 pm

PreviousNext

Return to Requests and Suggestions

cron