1 of 2
1
How to use User? 
Posted: 01 February 2008 03:36 PM   [ Ignore ]
Newbie
Rank
Total Posts:  8
Joined  2007-08-31

I’ve taken the plunge and now have this thing, but I’m lost. Could anyone please briefly explain the concept of how it works so I can get going.

Basically all I want to do is have a site visitor create an account and join the Members group.

Thank you
Lee

Profile
 
 
Posted: 01 February 2008 04:12 PM   [ Ignore ]   [ # 1 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3257
Joined  2006-10-18

Lee,

This code here should do it:

{exp:user:register form_name="some_name" return="template_group/template"}

<input type="text" name="username" value="" class="input" size="25" />

<
input type="password" name="password" value="" class="input" size="25" />

<
input type="password" name="password_confirm" value="" class="input" size="25" />

<
input type="text" name="screen_name" value="" class="input" size="25" />

<
input type="text" name="email" value="" class="input" size="40" />

<
input type="checkbox" name="accept_terms" value="y" /> Accept Terms?

<
input type="submit" value="submit" class="submit" />

{/exp:user:register}

You can refer to the User 1.0 Register Documentation for more information smile

 Signature 
Profile
 
 
Posted: 01 February 2008 04:40 PM   [ Ignore ]   [ # 2 ]
Newbie
Rank
Total Posts:  8
Joined  2007-08-31

Thanks, I’ve seen that form in the docs, which I have read. Even so I don’t get how a user registers to the members group and then can then login.

Profile
 
 
Posted: 04 February 2008 06:51 AM   [ Ignore ]   [ # 3 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3257
Joined  2006-10-18

The User module respects some of your Native EE Member settings… so that form alone will automatically put them in the Members Group.

 Signature 
Profile
 
 
Posted: 04 February 2008 06:58 AM   [ Ignore ]   [ # 4 ]
Newbie
Rank
Total Posts:  8
Joined  2007-08-31

Hi, thanks for the info.

I tried the form before you posted it and it reports that the email address I gave during sign up is invalid. A simple explanation of the concept would likely get me going. I’m thinking in the back of my head that anyone wanting to register has to be invited or that the system has to be primed before they use the registration form. So far I have got know where.

Profile
 
 
Posted: 04 February 2008 07:59 AM   [ Ignore ]   [ # 5 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3257
Joined  2006-10-18

The User Module’s general purpose is to bring Member Template functionality OUTSIDE of the Member Templates, which ExpressionEngine currently restricts us to.
The User Module currently almost completely fills in this gap now. For example, if you wanted to display and/or control the Memberlist… EE restricts you pretty badly, but the User:Users loop allows you to build a Memberlist ANY where you like it. Same goes for most features (still some being developed/tweaked).

Lee Aston - 04 February 2008 06:58 AM

I’m thinking in the back of my head that anyone wanting to register has to be invited or that the system has to be primed before they use the registration form. So far I have got know where.

This is currently an option should you choose: User Key Documentation

However, regular registration is still possible using the form above…
In regards to your error, is the email address you tested with already being used?

 Signature 
Profile
 
 
Posted: 03 July 2008 09:02 AM   [ Ignore ]   [ # 6 ]
Sr. Member
Avatar
RankRankRankRank
Total Posts:  119
Joined  2005-09-13

Pie Man.
I’m getting the same invalid email address on a site here. It doesn’t make any sense because the email addresses are definitely not in use.

Profile
 
 
Posted: 03 July 2008 09:05 AM   [ Ignore ]   [ # 7 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3257
Joined  2006-10-18
Wonder Monkey - 03 July 2008 09:02 AM

Pie Man.
I’m getting the same invalid email address on a site here. It doesn’t make any sense because the email addresses are definitely not in use.

When/where is this occuring WonderMonkey? smile

 Signature 
Profile
 
 
Posted: 03 July 2008 09:11 AM   [ Ignore ]   [ # 8 ]
Sr. Member
Avatar
RankRankRankRank
Total Posts:  119
Joined  2005-09-13

When? Now. smile Where? I’ll PM you since it’s not public yet.

Profile
 
 
Posted: 03 July 2008 09:12 AM   [ Ignore ]   [ # 9 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3257
Joined  2006-10-18

Hahaha LOL

I should have reworded that… is this with the User:Register or User:Key? smile

 Signature 
Profile
 
 
Posted: 03 July 2008 09:18 AM   [ Ignore ]   [ # 10 ]
Sr. Member
Avatar
RankRankRankRank
Total Posts:  119
Joined  2005-09-13

user:register

Profile
 
 
Posted: 03 July 2008 09:27 AM   [ Ignore ]   [ # 11 ]
Sr. Member
Avatar
RankRankRankRank
Total Posts:  119
Joined  2005-09-13

PieMan, we’re actually trying to emulate the form found here. I figured going with the user:register and mailinglist_subscribe variable would do the trick. Now I’m concerned about being able to add them to multiple mailing lists at the same time. Would this be better accomplished with the constantcontact extension?

Profile
 
 
Posted: 03 July 2008 10:06 AM   [ Ignore ]   [ # 12 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3257
Joined  2006-10-18

WonderMonkey,

Do you have the “Email as Username” option set to “Yes” in the User CP? smile

As for multiple mailing lists, I don’t believe there is an easy way around this… natively.

Constant Contact would do the job though smile

 Signature 
Profile
 
 
Posted: 03 July 2008 10:11 AM   [ Ignore ]   [ # 13 ]
Sr. Member
Avatar
RankRankRankRank
Total Posts:  119
Joined  2005-09-13

But will constant contact allow us to subscribe people to multiple lists at submission time? Can we save user fields, etc?

Profile
 
 
Posted: 03 July 2008 10:20 AM   [ Ignore ]   [ # 14 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3257
Joined  2006-10-18

Yes… Correct smile

 Signature 
Profile
 
 
Posted: 03 July 2008 11:22 AM   [ Ignore ]   [ # 15 ]
Sr. Member
Avatar
RankRankRankRank
Total Posts:  119
Joined  2005-09-13

Any luck on this invalid email thing though?

Profile
 
 
   
1 of 2
1