News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Dual login/registration with Elgg?

Started by Nick Whetstone, November 23, 2009, 11:38:07 AM

Previous topic - Next topic

Nick Whetstone

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
The artist formerly known as (Ha)²

Former Support Specialist

Please do not solicit support via PM. Here's why!

Arantor

Might help if we knew which version of SMF.
Holder of controversial views, all of which my own.


Nick Whetstone

Ahh, sorry about that. I'm using 2.0 RC2 with elgg 1.6
The artist formerly known as (Ha)²

Former Support Specialist

Please do not solicit support via PM. Here's why!

Arantor

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)?
Holder of controversial views, all of which my own.


Nick Whetstone

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.
The artist formerly known as (Ha)²

Former Support Specialist

Please do not solicit support via PM. Here's why!

Arantor

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)
Holder of controversial views, all of which my own.


Nick Whetstone

The betas for 2.0 haven't been released to the public yet, have they?
The artist formerly known as (Ha)²

Former Support Specialist

Please do not solicit support via PM. Here's why!

Arantor

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.
Holder of controversial views, all of which my own.


Nick Whetstone

Ok. I guess I shall wait until an API for 2.0 is released. Thanks for your time
The artist formerly known as (Ha)²

Former Support Specialist

Please do not solicit support via PM. Here's why!

Advertisement: