Textpattern Forum

You are not logged in. Register | Login | Help

#1 2005-05-21 03:48:12

Manfre
Plugin Author
From: North Carolina
Registered: 2004-05-22
Posts: 588
Website

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.

More Information

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

#2 2005-05-21 11:54:29

soulship
Member
From: Always Sunny Charleston
Registered: 2004-04-30
Posts: 669
Website

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

#3 2005-05-21 14:11:31

Manfre
Plugin Author
From: North Carolina
Registered: 2004-05-22
Posts: 588
Website

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

#4 2005-05-26 07:08:46

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 4,989
Website

Re: mem_self_register

so what’s the current state of this plugin?


Yiannis
——————————
neme.org | neme-imca.org | hblack.net | LABS

Offline

#5 2005-05-26 12:07:19

wilshire
Plugin Author
From: Akron, Ohio
Registered: 2004-08-27
Posts: 656
Website

Re: mem_self_register

You can keep up with the progress here. Looks like the ransom is 20% there.

Offline

#6 2005-05-26 13:59:37

Manfre
Plugin Author
From: North Carolina
Registered: 2004-05-22
Posts: 588
Website

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.

The ransom is currently at 20%.

Offline

#7 2005-05-26 14:26:33

soulship
Member
From: Always Sunny Charleston
Registered: 2004-04-30
Posts: 669
Website

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

#8 2005-05-27 06:55:58

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 4,989
Website

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.org | neme-imca.org | hblack.net | LABS

Offline

#9 2005-05-28 15:24:00

Manfre
Plugin Author
From: North Carolina
Registered: 2004-05-22
Posts: 588
Website

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

#10 2005-05-31 09:28:33

Jeremie
Member
From: Provence, France
Registered: 2004-08-11
Posts: 1,578
Website

Re: mem_self_register

What, only $25 for this plugin ? C’mon people, wake up.

small participation to the ransom done.

Offline

Board footer

Powered by FluxBB