completed Login and Registration like Facebook

Bandwerkstatt
Bandwerkstatt
@bandwerkstatt
10 years ago
224 posts
Hello erverybody!

I have a question to the "login and registration Scripte".

Is it possible that the login and regestration Scripte will work on the startpage? Like Facebook does?

So that you donĀ“t first click on Login or Regestration?

Hope you understand? :)

Thanks for your help!!

Stefan
facebook.png
facebook.png  •  256KB


updated by @bandwerkstatt: 04/08/15 05:18:37PM
douglas
@douglas
10 years ago
2,804 posts
There is a doc on how to do this:

https://www.jamroom.net/the-jamroom-network/documentation/howto/603/howto-add-the-user-login-form-to-any-page


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
Bandwerkstatt
Bandwerkstatt
@bandwerkstatt
10 years ago
224 posts

Thank you. I will try it. Thanks.
Bandwerkstatt
Bandwerkstatt
@bandwerkstatt
10 years ago
224 posts
{jrCore_form_create_session module="jrUser" option="login" assign="token"}

option for register? we want both on one page. Are there another options?

Thank you
updated by @bandwerkstatt: 02/23/15 11:29:55AM
douglas
@douglas
10 years ago
2,804 posts
I'm not seeing anything for the signup form and I've not tried adding it to another page. Maybe someone here has tried and can enlighten us on how to do this.

I don't really have time right now to test it out myself.


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
michael
@michael
10 years ago
7,800 posts
You can use that code that Doug gave to put the Signup box in the header, then you will have both the signup and registration on the registration page.

your-site.com/user/signup

--edit---
You can put this code in your index.tpl file to redirect to the signup / login page:

{if !jrUser_is_logged_in()}
{jrCore_location("$jamroom_url/user/signup")}
{/if}

Haven't tested that but should work.
updated by @michael: 02/23/15 01:01:04PM

Tags