News:

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

Main Menu

Integrating registration with other systems -- a quick Howto

Started by Orstio, September 04, 2005, 08:45:22 PM

Previous topic - Next topic

constantine

Quote from: Orstio on April 25, 2008, 07:43:01 AM
With SMF's current security model, errors can't be returned as an array.  Errors are handled, and then execution is terminated.  If not handled this way, script kiddies could gain access to your SMF admin panel.

Would an integration hook in the error handling help you out any?  That way, it wouldn't be able to return to your script, but it might be able to redirect there instead.

Can you please give me an idea on how to do it? I really need this one. Thank you very much...

Orstio

It definitely won't be in SMF 1.1.x, but I can probably slip in another integration hook in 2.0.  ;)

constantine

Quote from: Orstio on April 25, 2008, 05:25:21 PM
It definitely won't be in SMF 1.1.x, but I can probably slip in another integration hook in 2.0.  ;)

That's great news Orstio.

In the meantime, I'll go back to studying and practice about your hooks and bridge tutorial.

Wish me luck. :D

Orstio

QuoteIn the meantime, I'll go back to studying and practice about your hooks and bridge tutorial.

If you have any questions about the integration hooks, feel free to ask.  I know I had a tough time wrapping my head around how they worked when [Unknown] first explained them to me.

the_musician

Hi everyone,

I am a little confused about integrating registration with SMF's Subs-Members.php.

Looking at the code in the first post of this thread it seems straight forward but I cannot get it running.

I am running SMF 1.1.5 and have been trying to implement this solution. When I call include SSI.php does that supply the $db_name, $db_prefix, etc... for the database I installed to run SMF or do I need to supply those and then make it global?

I am integrating this into a simple user authentication system so I know I am not running into issues on that end. Any guidance would be much appreciated.

Thank you,

The_Musician

Orstio

Including SSI will populate those variables, but you will need to make them global.

Duraug

Quote from: Orstio on September 04, 2005, 08:45:22 PM
It does not cover login/logout, etc.  I'll try to cover those in another post.

Was wondering if you put this post together yet. I'm looking to do this and can't seem to get it right

Johnsen Design

Is it possible to set the display name aswell with this function?
Also Id like to assign a member group automatically to, Ive found the function in the subs_members.php file but did not get it to work, is it possible to get some help with this?

Regards,
Peder Johnsen

Axinos

Quote from: Orstio on September 09, 2005, 07:21:51 PM
Quote from: dmarkd on September 09, 2005, 02:17:15 PM
So, when I look over what you've written above, it seems to me that this shows how to take my existing registration functions and add the user to the SMF database at the same time I am adding to my own database. What I don't see, however, is how to make sure when a user logs in using my page that they are also authenticated to the SMF system at the same time so they can seamlessly travel between my site and SMF without being asked to login. Can you provide some insight into this?

Quote from: OrstioIt does not cover login/logout, etc.  I'll try to cover those in another post.

Orstio, I have been looking everywhere but could not find the login/logout Howto guide provided ... Am I blind or did you not get the time to compile it, or did someone else do it under a different headline/topic?
Thanks!

Any further basic example of how to
1) register a member of an external app in SMF (with minimum number of parameters needed)
2) login them in to SMF (so that they are not guests anymore)
3) redirect them to a particular discussion forum page in SMF
Would be very much appreciated!

Thank you!

starcad

Did this thread die or is anyone still working with integration. 

Thanks
StarCad Plans
http://www.starcadplans.net [nofollow]

wunderwood

I was hoping to learn more about automating the registration and login process. Is there anywhere else I can look for this?

In particular, I am seeing some things that say I can just add a record to the smf_members table but I am wondering if there are other linked tables (say something to do with groups or with permissions or something else).

akl

How will this go with SMF 2 RC1.2?
Sorry for bumping such an old topic, I just found this so I'd love a reply on this one!
My homepg is .php and I'd like to include the registration on the homepg's template rather than the forums

Advertisement: