Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#136 2006-02-22 18:19:43

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

Re: mem_self_register

Documentation error.

Use the tag mem_change_pass_form

Offline

#137 2006-02-22 20:59:52

Luxebot
Member
From: Los Angeles
Registered: 2006-02-18
Posts: 25

Re: mem_self_register

Ok, I changed that, but now the error says

“tag_error < txp:mem_mem_password_input/ > -> Textpattern Warning: unknown_tag”

Thanks.

***Edit***

Ah, ok, it was another documentation error, there’s only supposed to be one “mem” in < txp:mem_mem_password_input / >.

Thanks for the help again.

Last edited by Luxebot (2006-02-22 21:11:21)

Offline

#138 2006-03-05 09:10:27

mmelon
Member
Registered: 2006-03-02
Posts: 95

Re: mem_self_register

I am using 4.03 and self register 0.6.5. I am currently running messy urls.

The plugin still allows existing usernames to re-register. I am also getting the array problem. The email is being send from “array” @ my host address not my domain. I am sure it’s not supposed to do that.

<code>
From: Array <Array@myhost.net>
Reply-To: Array@myhost.net
To: mickmelon@gmail.com
Date: 05-Mar-2006 08:46
Subject: [Designed for offense] your_login_info

Dear moob,

Thank you for registering at http://mydomain.com/.

Your login name: moob
Your password: xts3z4

If you have any questions please reply to this email address.

Sincerely,
Array
Array
</code>

I’d really like to get this going. Let me know Manfre if I can provide any other help or info. Thanks for the great plugin

Mike

Offline

#139 2006-03-06 08:58:54

marios
Archived Plugin Author
Registered: 2005-03-12
Posts: 1,253

Re: mem_self_register

I tried this plugin with a TXP 4.0.3 on a TLD . apart from the first half of the name specified as Array,It works only when I send mail to my IMAP accounts .Any other pop3 accounts won’t get the mail.
There is no sent message displayed but instead shows an integer stating=“1“next to the textarea field.

regards, marios


⌃ ⇧ < ⌃ ⇧ >

Offline

#140 2006-03-07 23:47:24

Luxebot
Member
From: Los Angeles
Registered: 2006-02-18
Posts: 25

Re: mem_self_register

Is there a way to enable users (who have no priveliges) to automatically regenerate their password when they’ve forgotten it? For instance, at the log-in, there is a link that says “Forgot my password” and then an email will be sent automatically with a newly generated password. Is this possible? I think it would be a great feature either way.

Thanks for the great plugin.

Offline

#141 2006-03-13 18:57:36

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

Re: mem_self_register

Version 0.7.1 is posted for download. Properly handles duplicate username.

Offline

#142 2006-03-20 15:20:15

dog_biscuits
Member
Registered: 2005-10-14
Posts: 10

Re: mem_self_register

I’m seeing the “Array” issue too. Also when an invalid email address is entered, the error message displayed is just the digit “1”.

I only downloaded and installed both textpattern and the plugin on Friday, so they should both be the latest versions.

Apart from the above this is a great plug-in and saved me a lot of work :-)

d_b

Offline

#143 2006-03-23 21:04:30

qwallis
Member
From: Köln Germany
Registered: 2006-03-13
Posts: 17
Website

Re: mem_self_register

Hello Manfre, I am trying to use mem_self_register and it’s mostly Ok. An email is sent out to the new user, but <code><txp:mem_admin_name /></code> and <code><txp:mem_admin_email /></code> are both replaced by “Array” in the email. The email is also from “Array” (with the return path: <root@myhostsdnsserveretc.co.uk> ). Also no email is sent out to the “Publisher” user.
I would very much like to be able to use this plugin on my site, and I understand that the issues I am having are ones that other people have also had, but after having read this whole thread and doing lots of searching I still can’t find any help.

Thanks.

Offline

#144 2006-03-28 08:52:44

M_i
Member
Registered: 2006-03-05
Posts: 122

Re: mem_self_register

qwallis wrote:

Hello Manfre, I am trying to use mem_self_register and it’s mostly Ok. An email is sent out to the new user, but <code><txp:mem_admin_name /></code> and <code><txp:mem_admin_email /></code> are both replaced by “Array” in the email. The email is also from “Array” (with the return path: <root@myhostsdnsserveretc.co.uk> ). Also no email is sent out to the “Publisher” user.
I would very much like to be able to use this plugin on my site, and I understand that the issues I am having are ones that other people have also had, but after having read this whole thread and doing lots of searching I still can’t find any help.

Thanks.

Same here. I’ve edited the email form so it doesn’t use <code><txp:mem_admin_name /></code> or <code><txp:mem_admin_email /></code>, but my name and email instead. The email now looks fine, except for the sender, which is still ‘Array’ (Array@myhost.com). And of course there’s no CC received by admin.

What I’d like to do is edit the code of the plugin so instead of it using admin_name and admin_email, I simply enter my name & email there as well – I don’t need to edit it afterwards anyway. But I haven’t managed this yet without setting off all sorts of error messages.

Ideas anyone?

edit:

PS: is there something about this plugin that resists editing? I make the slightest change and it starts spouting error messages. And I mean the slightest change: removed the plugin, reinstalled it, and edited it so the top line of slashes has one extra slash. How would that do any harm?
Result:
Parse error: parse error, unexpected T_STRING in /(..)/tptest/textpattern/lib/txplib_misc.php(459) : eval()’d code on line 579
The above errors were caused by the plugin:mem_self_register

Last edited by M_i (2006-03-28 09:04:13)

Offline

#145 2006-03-28 09:41:08

dog_biscuits
Member
Registered: 2005-10-14
Posts: 10

Re: mem_self_register

M_i: Much like yourself, I resorted to editting the plugin code and hard-coding the Name and Email address to fix the Array problem. In my case, an internal server error was being generated when trying to send the mail without a valid ‘from’ address, which didn’t give a great impression to site visitors.

I wouldn’t recommend editting plugin code for everyone, but if you’re reasonably comfortable with PHP and don’t mind having to fix your own mistakes (because once you start messing with the plugin code its not fair to expect the developer to help you out) then here’s what I did:

Disclaimer: Don’t try this unless you know what you’re doing

In the function mem_self_register_save()

find the line (near the start):

<code>if ($mem_self_register != ‘register’) return ‘’;</code>

<p>After this line add:</p>

<code>$admin_name = “Your Admin Name”;
$admin_email = “Admin.Email@mysite.com”;</code>

<p>There may be other parts of the plugin that need changed too, but this change was all that was needed for my purposes. I can’t guarantee that it will work for everyone else and you should back-up your plugin code before even trying.</p>

Offline

#146 2006-03-28 09:55:25

M_i
Member
Registered: 2006-03-05
Posts: 122

Re: mem_self_register

dog_biscuits wrote:

I wouldn’t recommend editting plugin code for everyone, but if you’re reasonably comfortable with PHP and don’t mind having to fix your own mistakes (because once you start messing with the plugin code its not fair to expect the developer to help you out) then here’s what I did:

Yes, that’s also what I tried.

I think there must be some other issue going on on my end, because I edit plugin code all the time without any trouble (or at least, none that I can’t fix after a couple of tries…), but each time I try to edit this one – even the smallest thing like adding a comment – sets of error messages.

Ah well, guess my site will survive without it.

Thanks for your help.

- Iris

Last edited by M_i (2006-03-28 09:55:53)

Offline

#147 2006-03-31 16:35:21

marios
Archived Plugin Author
Registered: 2005-03-12
Posts: 1,253

Re: mem_self_register

Any page that uses the plugin form elements does not validate as XHTML strict.
Here is another fix (apart from the others allready suggested here), that will make your pages validate.
NOTICE:That’s not the plugins fault but due to the native TXP functions, fInput, einput, and hinput.

On approximately line 480 of the plugin code replace the content of the $out variable with this:
<code>$out = n.n.”<form enctype=‘multipart/form-data’ action=’{$action_url}’ method=‘post’>” .’<p>’. eInput(‘self-reg’).’</p>’.’<p>’ . sInput(‘register’) .’</p>’.’<p>’. hInput(‘email_form’,$email_form) . ‘</p>’.’<p>’.hInput(‘mem_self_register’,‘register’) .’</p>’. parse($Form) . “</form>”.n;</code>

I opted for p tags here, your taste might vary,

regards, marios


⌃ ⇧ < ⌃ ⇧ >

Offline

#148 2006-04-19 14:01:55

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

Re: mem_self_register

Version 0.7.3: Download

This should resolve the Array problem once and for all. After installing the plugin, go to preferences, verify the admin name/email values are appearing correctly in the field and then resave.

Edit: Might as well fix the documentation mistakes at this time. (v0.7.3)

Last edited by Manfre (2006-04-19 14:09:20)

Offline

#149 2006-04-29 17:40:33

Dragan
Member
From: Novi Sad, Serbia
Registered: 2005-10-26
Posts: 100
Website

Re: mem_self_register

I wanted to ask if this plugin has an option that would force all articles submited as self registered members to be allowed to go live bz administrator? That would really be of use to me.

For example:
If an user is a self registered user he/she is a staff writer, and all staff writer’s articles are “pending” articles (or drafts, since I don’t know what exactly pending does). Staff writers wouldn’t have an option to change article’s state, and then admin can make staff writer’s article a live one.

Is that too much?

If not integrated into this plugin, is the “admin allow after reviw” functionality possible in TXP?

Thanx in front.

Offline

#150 2006-04-30 00:00:21

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

Re: mem_self_register

Dragan wrote:

I wanted to ask if this plugin has an option that would force all articles submited as self registered members to be allowed to go live bz administrator? That would really be of use to me.

For example:
If an user is a self registered user he/she is a staff writer, and all staff writer’s articles are “pending” articles (or drafts, since I don’t know what exactly pending does). Staff writers wouldn’t have an option to change article’s state, and then admin can make staff writer’s article a live one.

Is that too much?

If not integrated into this plugin, is the “admin allow after reviw” functionality possible in TXP?

Thanx in front.
—-

This functionality exists with another set of plugins that I have written, mem_moderation, mem_moderation_article, and mem_moderation_image. These plugins were released initially as a very rough beta and an updated version has not been released since. An official update should happen soon as all the features needed by the project spawning these plugins is coming to a close. Email me and I can send you an beta quality plugin that you can test out.

Offline

Board footer

Powered by FluxBB