Textpattern CMS support forum
Please go to http://bitbucket.org/Manfre/txp-plugins if you…
- are having a problem and want to report a bug
- would like to request a new feature
- are looking for documentation
- are looking for the plugin code
- are looking to download the latest ready to install plugin file
I do not regularly follow this thread anymore. Any problems or questions posted here will most likely only get answered by other forum members.
This plugin is for Textpattern rc3 rev351 or newer. It will allow users to register themselves for accounts on a Textpattern site. This is useful for community based sites that wish to allow users to sign up and then contribute to the content. This plugin is an improved version of my previously released rc1 mod.
- Users can create their own accounts, with an admin defined privileges.
- Plugin adds a tab to the admin interface to allow for easy alterations of the plugin settings.
- Configurable registration form that can appear anywhere on a Textpattern site.
- Configurable email message that is sent to users upon successful creation of account. Admin will also receive a copy of this email.
- No modifications are needed to Textpattern code.
Edit User Details:
<txp:mem_self_user_edit_form> <txp:mem_form_text name="RealName" label="Full Name" break=":" /> <txp:mem_form_email name="email" label="Email" break=":" /> <txp:mem_form_submit name="Save" /> </txp:mem_self_user_edit_form>
Change Password Form:
<txp:mem_self_change_password_form email_form="self_register_password_email"> <txp:mem_form_text password="1" label="Password" name="password" break=":" /> <txp:mem_form_submit name="submit" button="1"><img src="/images/1.png" alt=""/>Change Password</txp:mem_form_submit> </txp:mem_self_change_password_form>
Dear <txp:mem_realname />, You have successfully changed your password at <txp:sitename />. Your new password is: <txp:mem_password /> If you have any questions please reply to this email address. Sincerely, The Management
<txp:mem_self_register_form label="Register" login_url="/register" thanks="You have successfully registered for an account. Your password has been mailed to you."> <txp:mem_form_text name="RealName" label="Full Name" break="" /> <txp:mem_form_text name="name" label="Username" break="" /> <txp:mem_form_email name="email" label="Email" break="" /> <txp:mem_form_submit label="Register" button="1"><img src="/images/register.png" alt="" /> Register</txp:mem_form_submit> </txp:mem_self_register_form>
Last edited by Manfre (2010-10-03 16:18:50)
- From: Always Sunny Charleston
- Registered: 2004-04-30
- Posts: 669
Nice work! Will this send the admin an email when it sends the new user an email? And I read through, but didn’t see how you go about setting priveledges I am assuming that is taken care of in the admin tab.
This plugin has an admin tab, which currently only handles configuration options for the plugin.When the email is sent out, the configured admin email will be in the Bcc field. You have made me think about this feature a little bit more. I think I will make it so the admin can optionally be emailed upon new user registrations, since I know some people don’t like receiving emails.
colak, I can’t afford to set up a Verisign account, but my paypal will now accept credit cards. I didn’t realize they only allowed US and Canada to sign up. I guess now I can start tooling around with the various paypal plugins I was brainstorming about.