E-Mail confirmation @ Signup
Posted:
August 15th, 2011, 5:44 am
by gifthulk
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 !!
Re: E-Mail confirmation @ Signup
Posted:
August 15th, 2011, 5:08 pm
by Cristián Lávaque
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
Re: E-Mail confirmation @ Signup
Posted:
August 18th, 2011, 1:14 pm
by neoen
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...
Re: E-Mail confirmation @ Signup
Posted:
August 18th, 2011, 3:17 pm
by Cristián Lávaque
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.