Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
mem_self_register
Edit: 2010-10-03
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.
Original post
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.
Features:
- 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.
There is a new version of mem_self_register available. I fixed a lot of issues and changed a bunch of the tags so that all forms now use my mem_form plugin.
Examples
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>
Form self_register_password_email
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
Registration Form:
<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)
Offline
Re: mem_self_register
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.
Offline
Re: mem_self_register
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.Offline
Re: mem_self_register
so what’s the current state of this plugin?
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: mem_self_register
You can keep up with the progress here. Looks like the ransom is 20% there.
Offline
Re: mem_self_register
> colak wrote:
> so what’s the current state of this plugin?
The plugin is coded, working, and idling. The documentation listed is complete and I am more than willing to add more features or clarify existing ones.
Offline
Re: mem_self_register
The ransom is now at 25% wish it was more, but you know how it goes :)
Last edited by soulship (2005-05-26 14:26:55)
Offline
Re: mem_self_register
Manfre, is there another credit card clearance system that you could use? Verisign for example? paypal does not accept all countries
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: mem_self_register
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.
Offline
Re: mem_self_register
What, only $25 for this plugin ? C’mon people, wake up.
small participation to the ransom done.
Offline
#11 2005-06-02 08:24:43
- heikki74
- Member
- From: Finland
- Registered: 2004-08-17
- Posts: 100
Re: mem_self_register
Pling plong – 60% there
Offline
#12 2005-06-02 08:50:30
- davidm
- Member

- From: Paris, France
- Registered: 2004-04-27
- Posts: 719
Re: mem_self_register
Great plugin ! This one was definitely missing…
Is this the one used at textpattern.org ?
Enough questions, I’ll drop a few bucks to help make it to the 100$ !
.: Retired :.
Offline
Re: mem_self_register
Textpattern.org is not using this plugin. They are using the original mod that I did. This plugin has a lot more control over how and where the registration form is displayed. With the plugin, you are no longer forced to use a registration link of “/textpattern/index.php?event=register”. Instead, the form can be placed with in an article, form, or page.
Offline
Re: mem_self_register
Could this plugin be combined with ign_password_protect to allow for registrations from visitors but then restrict what they can see? Or atlernatively, have pages that are only available to people who have registrated?
I want to set up a restricted site for established members of a community, with content for them only. But I don’t necessarily want them to be able to write content …
Offline
Re: mem_self_register
aslsw66, i just skimmed through the ign_password_protect info, and it seems like what you are looking to do is possible. The default behavior for mem_self_register is to create a user with no priviliges, which restricts them from the admin section, but they will have txp_user accounts. I’m making an assumption based upon this from the other forum thread.
privs: comma separated list of privilege levels to compare against. If omitted, plugin simply
checks for account existence (including privs = None).
From what it seems like, igner’s plugin makes mine that much better (or vice versa)!
Offline