Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: ngreenwood6 on October 31, 2008, 02:32:26 PM

Title: Registration
Post by: ngreenwood6 on October 31, 2008, 02:32:26 PM
Hello all,

I have integrated the login form to my website. However, I would also like users to be able to register using smf's login system directly on my site. I am sure that this topic has already been covered but I was not able to find what I was looking for. Any help is appreciated.

Thanks in advance
Title: Re: Registration
Post by: ThorstenE on October 31, 2008, 03:22:49 PM
this can be done with SSI.php and ssiLogin();
see it in action by visiting www.yourforum.com/ssi_examples.php or here:
http://www.simplemachines.org/community/ssi_examples.php
Title: Re: Registration
Post by: ngreenwood6 on October 31, 2008, 03:28:08 PM
I already have the login working as I had previously stated. I am trying to get a form on my website for the user to register. So the person can register on my site instead of having to register in the forums. Also on my pages that I have protected I want the code to redirect them back to wherever they were after they login or logout. How can I accomplish this?
Title: Re: Registration
Post by: ThorstenE on October 31, 2008, 04:08:51 PM
Are you using a CMS like Drupal, Joomla, Mambo or something similar for your normal website? then you can use a bridge (see our bridges (http://www.simplemachines.org/community/index.php?board=33.0) board).. If you are using a self created CMS this topic should help: A guide to the SMF integration hooks (http://www.simplemachines.org/community/index.php?topic=173483.0)
Title: Re: Registration
Post by: ngreenwood6 on October 31, 2008, 04:23:52 PM
Wow are you even reading what I am posting? I have no content management system. It is just a plain old website with a forum. I have certain parts of my website that are protected and would just like to use smf's registration/login system. I have the login system working (I can log into the forums from my site). I want to be able to register for the site through my website rather than having to do it through the forums. I just need to know how to get the registration form to one of my pages, like the login form(ex. ssi_login();). I hope that clears up some of the confusion that you are having with my posts.
Title: Re: Registration
Post by: ThorstenE on November 01, 2008, 12:36:06 AM
ok, I think I understand now.. I think you are looking for an ssiRegister();?
http://custom.simplemachines.org/mods/index.php?mod=1167