I'm trying to build a dual login/registration system with Elgg and SMF. I can't find out how to get the forms to submit and process through both login.php (elgg) and LogInOut.php (SMF). Could someone please point me in the right direction? If so, that would be awesome. Thank you
Might help if we knew which version of SMF.
Ahh, sorry about that. I'm using 2.0 RC2 with elgg 1.6
I guess the other question is whether it runs both ways or only one way.
Can a user sign up on either and have it cross-registered, or is there only one registration area (either in Elgg only or SMF only)?
Quote from: Arantor on November 23, 2009, 01:49:53 PM
I guess the other question is whether it runs both ways or only one way.
Can a user sign up on either and have it cross-registered, or is there only one registration area (either in Elgg only or SMF only)?
I'm planning to run the registration through the homepage, elgg, but I can use SMF's SSI.php instead if such a function (registration form) exists.
There isn't a registration form in SSI.php for 2.0. There also isn't a stable API yet for 2.0 (for 1.1 there is both an SSI Register mod and the SMF API which has the ability to be inserted into your elgg code and called smf_registerMember to create the account, there are two different betas for 2.0 though)
The betas for 2.0 haven't been released to the public yet, have they?
Neither of the API betas have, no. One of them includes a great deal of SMF code (which IMHO makes it unsuitable for bridging to something like this), the other only includes two of the three DB backends and was only coded yesterday by me, needs much more testing to make sure it works as intended.
Ok. I guess I shall wait until an API for 2.0 is released. Thanks for your time