PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

E-Mail confirmation @ Signup

s2Member Plugin. A Membership plugin for WordPress®.

E-Mail confirmation @ Signup

Postby gifthulk » August 15th, 2011, 5:44 am

Hello ,

How can I make each user to verify his email address so without verification he will not be able to login.

I am Using S2Member (not pro) ,

I Know I can mail them the password that the system is generating , but I want them to choose their passwords so this solution isn't good for me .

Any way sending them a confirmation link ??

Thank you in advance for any help !!

:D
User avatar
gifthulk
Registered User
Registered User
 
Posts: 4
Joined: May 31, 2011

Re: E-Mail confirmation @ Signup

Postby Cristián Lávaque » August 15th, 2011, 5:08 pm

Well, s2Member doesn't do this yet, but here's an idea to accomplish it:

You can add a custom capability check to your theme or protected content, if the capability isn't there then you prompt them to check their email and click the confirmation link. The custom capability could be "confirmed" and you'd give the user this capability when they use the link you send them in the welcome email. WP Admin -> s2Member -> General Options -> Email Configuration -> New User
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: E-Mail confirmation @ Signup

Postby neoen » August 18th, 2011, 1:14 pm

Hello,

I have the same idea, confirming email address is sometimes handy.
But I am not sure, how to achieve this?
I know how to check special capability in theme, but not sure how to generate link in email and how to receive confirmation after clicking?

Email Configuration - New User: How to add varible for confirming custom capability?

Any small hints? Or links to manual (Codex) or example?

Thank you very much for your help...
User avatar
neoen
Registered User
Registered User
 
Posts: 1
Joined: August 18, 2011

Re: E-Mail confirmation @ Signup

Postby Cristián Lávaque » August 18th, 2011, 3:17 pm

Just create a link to a custom script in a WP page, like http://example.com/confirm/ and there just add to his account the custom capability "confirmed" and redirect him to the home page or something like that.
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010


Return to s2Member Plugin

Who is online

Users browsing this forum: Yahoo [Bot] and 0 guests

cron