News:

Join the Facebook Fan Page.

Main Menu

Registration

Started by ngreenwood6, October 31, 2008, 02:32:26 PM

Previous topic - Next topic

ngreenwood6

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

ThorstenE

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

ngreenwood6

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?

ThorstenE

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 board).. If you are using a self created CMS this topic should help: A guide to the SMF integration hooks

ngreenwood6

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.

ThorstenE

ok, I think I understand now.. I think you are looking for an ssiRegister();?
http://custom.simplemachines.org/mods/index.php?mod=1167

Advertisement: