phpBB2Refugees.com Logo
Not affiliated with or endorsed by the phpBB Group

Register •  Login 

Continue the legacy...

Welcome to all phpBB2 Refugees!Wave Smilie

This site is intended to continue support for the legacy 2.x line of the phpBB2 bulletin board package. If you are a fan of phpBB2, please, by all means register, post, and help us out by offering your suggestions. We are primarily a community and support network. Our secondary goal is to provide a phpBB2 MOD Author and Styles area.

Registration/login forms to two tables


 
Search this topic... | Search General Support... | Search Box
Register or Login to Post    Index » General Support  Previous TopicPrint TopicNext Topic
Author Message
Hagbard_Celine
Board Member



Joined: 03 Aug 2009

Posts: 14


flag
PostPosted: Thu Aug 13, 2009 3:29 am 
Post subject: Registration/login forms to two tables

I'd like to send some of the information my users give when registering and login name/pass to two other tables on my database. Where do I start?

I'd like to connect an installation of Pligg (a directory higher than phpBB). Basically connecting user tables and logins. So I decided to install it in the same database. As I figured it'd be WAY easier to some how find out a way to send registration information to Pligg's user table, and then connect the logins too.

Or perhaps making Pligg's user-related tables, and find out where the variables are defined and simply change them.

Am I completely nuts, or can it be done this way?
I'd also like to figure out the same method for WikiMedia. icon_biggrin.gif
Back to top
Acaria
Board Member



Joined: 20 Feb 2009

Posts: 238



PostPosted: Thu Aug 13, 2009 6:11 am 
Post subject: Re: Registration/login forms to two tables

It takes quite a bit to combine user tables from two completely different systems.

PhpBB and Pligg could use an entirely different and in no way synonymous user table. That would mean you'd need to convert this Pligg thing to use the exact same structure.

You'd have to redo every SQL that calls for any of the Pligg-based user tables, meaning the whole system would need to be heavily modified.

I don't know what Pligg is, so I can't be of anymore help really. D;
Back to top
Hagbard_Celine
Board Member



Joined: 03 Aug 2009

Posts: 14


flag
PostPosted: Thu Aug 13, 2009 6:53 pm 
Post subject: Re: Registration/login forms to two tables

A 3rd unique user table. Sounds reasonable. I don't really care about Pligg's individual user table variables. I want it subordinate to the phpbb icon_biggrin.gif So it couldn't be too difficult on the Pligg side.

Thanks for your help.
But just to clarify, theoretically, I'd need to create a table ('users'), turn all references in phpbb from phpbb_users to users from within the php files(?), then repeat the process on Pligg, yet change the references to the variables to their phpbb "counterparts"?

This'll be so much fun!!!

And does anyone know if I can include phpbb's header in a subdirectory?
Back to top
Dog Cow
Board Member



Joined: 18 Nov 2008

Posts: 378


flag
PostPosted: Thu Aug 13, 2009 9:38 pm 
Post subject: Re: Registration/login forms to two tables

Hagbard_Celine wrote:


And does anyone know if I can include phpbb's header in a subdirectory?

Yes, but you need first define('IN_PHPBB', 1) and then include common.php.

_________________
Moof!
Lincoln's Tomb, Oak Ridge Cemetery, Springfield IL Mac 512K Blog Mac GUI
Back to top
spclub
Board Member



Joined: 06 Nov 2009

Posts: 12
Location: Manchester


flag
PostPosted: Thu Jan 14, 2010 1:59 pm 
Post subject: Re: Registration/login forms to two tables

Hagbard_Celine wrote:
I'd like to send some of the information my users give when registering and login name/pass to two other tables on my database. Where do I start?

I'd like to connect an installation of Pligg (a directory higher than phpBB). Basically connecting user tables and logins. So I decided to install it in the same database. As I figured it'd be WAY easier to some how find out a way to send registration information to Pligg's user table, and then connect the logins too.

Or perhaps making Pligg's user-related tables, and find out where the variables are defined and simply change them.

Am I completely nuts, or can it be done this way?
I'd also like to figure out the same method for WikiMedia. icon_biggrin.gif


Not sure if this is what you are looking for.
We have a 'single parents club' reg form but also have a seperate reg form 'dj forum' for anyone who wants to DJ.
Completely different form.
www.oneparentfamily.org.uk/login.php
www.oneparentfamily.org.uk/logindj.php

_________________
Support Team
OneParentFamily Group
www.oneparentfamily.com
OPF Group
www.oneparentfamily.org.uk

(will also help phpbb2refugees too)

Image link
Back to top
Display posts from previous:   
Register or Login to Post    Index » General Support  Previous TopicPrint TopicNext Topic
Page 1 of 1 All times are GMT
 
Jump to:  

Index • About • FAQ • Rules • Privacy • Search •  Register •  Login 
Not affiliated with or endorsed by the phpBB Group
Powered by phpBB2 © phpBB Group
Generated in 0.0259 seconds using 15 queries. (SQL 0.0017 Parse 0.0009 Other 0.0233)
phpBB Customizations by the phpBBDoctor.com
Template Design by DeLFlo and MomentsOfLight.com Moments of Light Logo