Question about password and membership to see file Options
Jose Malone
Posted: Friday, November 17, 2006 10:22:16 PM

Rank: Devotee

Joined: 9/8/2006
Posts: 88
Location: Northern California
I have one page I'd like people to have to register (UI, Pwd, name, company, valid email, IP address) before they could see it.

My take is they'd click to see page. Then would be prompted to fillout UI and pwd, or register. If they choose register they would enter the above mentioned and then be sent an email to validate their registration. Otherwise they couldn't move forward. Once they validate by clicking the link in their email they can enter UI and Pwd and see the page.

Is this how either of these work, or has anyone created something simular?

Jose
jason
Posted: Saturday, November 18, 2006 1:26:46 AM
Rank: Aficionado

Joined: 7/19/2006
Posts: 179
Location: Pittsburgh, Pennsylvania, USA
member control does all that.

download here:
http://www.rtk-cv.dk/1050.aspx

learn here:
http://hartvig.com/screencasts/members.htm

If you get the login to work, let me know...I have a couple questions as I can't seem to get the login working completely

Enjoy.



Jason
drobar
Posted: Saturday, November 18, 2006 6:45:56 PM

Rank: Umbracoholic

Joined: 9/8/2006
Posts: 1,696
Location: KY, USA
Here's a quick transcript of Niels' screencast. I have followed these steps and successfully added membership. Maybe there is a step in here you missed because the screencast moves through the steps very quickly?

Also, there is a bug that doesn't let you protect a node with different memberships than its parent node, but this is easily resolved in the source code. See http://forum.umbraco.org/5836 for more on that.

Hope this helps...

cheers,
doug.



How to password protect pages in Umbraco & create user registration forms
(a quick transcript of steps from Niels' screencast)
=========================================================================

0. Create new textpage called Login


1. Create new member group ("Partners")
2. Right-click a folder in the contents section;
select Public Access menu
3. Select Advanced
4. Add Partners
5. Select Login page (don't worry about
error page; we'll use the login page for errors)

6. Import Umbraco Member Controls package


7. Create 3 new templates (Register; Sign In; Password Reminder)
8. Copy HTML from the text page and paste in each template to get started
9. Select Main for the template master
10. Sign In : Insert the Member Login macro in the body area of the HTML
- if Log out only; won't show uname and pword fields
- Logged in Text; "You're logged in as %%NAME%% - "
- Sign out text; "Sign out"


11. Allow the three new templates in the Textpage Document Type


12. Edit the Sign In page in the Content section
- bodyText = "Here you can sign in"
- Template = Sign In

13. Create a member who can sign in...
- Create Member Type called "Partners"
- Create a Member (of type Partner) called Niels Hartvig
- Add user info and add to the partners group


14. To let people register directly from the website
(rather than manually create all the members as done above)...
- Register template: paste in standard HTML
- Insert Member Signup macro in the bodyText area
- Member Type Alias = Partner
- Member Groups = partners,guest,gold
- Redirect on success = the products page
- Error username taken = "username is already in use, pick another
- Error email in use = "email is in use,
use the password reminder to get your login and password"


15. Create a "Register" page beneath the existing "Sign in"
page in the Content section
- document type= Register
- publish


16. Edit Password Reminder template
- Insert default HTML
- Select Main master template
- Insert Member Password Reminder macro
- Error Message Email Not Found = "Your email isn't in our records"
- confirm message = "And email has been sent to you with your info"
- email from = "infor@unbraco.org"
- email subject = [umbraco] Password Reminder
- email body = "Hi, %%NAME%%! Your username is %%USERNAME%%,
your password is %%PASSWORD%%. Cheers."


17. Create a "Password Reminder" page beneath the
existing "Sign in" page in the content section
- document type = password reminder
- publish


MVP 2007-2009 - Official Umbraco Trainer for North America - Percipient Studios
kronan
Posted: Monday, May 26, 2008 8:16:35 AM
Rank: Newbie

Joined: 5/16/2008
Posts: 8
Location: Poland
I'm trying create member and login solution in Umbraco and my problem is:
Step 5:I can't select Login page. Step 0,1,2,3,4 - fine, when I try select login page nothigs happen, Umbraco not selecting my login page and not closing "Public access" window.
kronan
Posted: Wednesday, May 28, 2008 6:11:27 AM
Rank: Newbie

Joined: 5/16/2008
Posts: 8
Location: Poland
upss, working....but only in IE
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.