Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#151 2006-05-04 12:41:38

alzy
New Member
Registered: 2005-10-27
Posts: 7

Re: mem_self_register

Looks like I’m the only who encountered this problem but when I clicked on the installation wizard. All I get is this and there’s nothing on the advanced preferences page.

Thanks.

Offline

#152 2006-05-04 19:00:42

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

Re: mem_self_register

alzy, click on the wizard link inside the plugin help and then copy and paste the url in the browser’s address bar. Also, what plugin version are you using?

Offline

#153 2006-05-05 03:24:50

alzy
New Member
Registered: 2005-10-27
Posts: 7

Re: mem_self_register

Copying and pasting the link still don’t work for me. I thought this was a browser problem but tried on all the other browsers but still doesnt work.

Using version 0.7.3 which I got it from here

Thanks.

Last edited by alzy (2006-05-05 03:25:33)

Offline

#154 2006-05-06 18:23:06

Slashdot
New Member
Registered: 2006-05-06
Posts: 6

Re: mem_self_register

Hello.<br>
First great plug-in. But there is an issue with the mod that I am facing. <br>
The version 0.7 attached in this topic gives me a blank page as mentioned just
before my post here. But the version from your site works just fine.<br>
<br>
The problem I am facing is the following URL should give me a registration form
but it gives me a login form.<br>
<a href=“http://www.cityhistories.net/textpattern/index.php?event=register”>
http://www.cityhistories.net/textpattern/index.php?event=register</a></p>
Also the link to the login page:
http://textpattern.org/textpattern/index.php gives the same form?
So i need the links working plz.

Last edited by Slashdot (2006-05-06 18:54:26)

Offline

#155 2006-05-11 05:45:42

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

Re: mem_self_register

Please read the help and make sure you ran the plugin wizard. After you do that, read the help regarding the mem_self_register_form tag.

Offline

#156 2006-05-15 19:45:06

hurty
Member
Registered: 2004-07-17
Posts: 30

Re: mem_self_register

Does anyone know of a plugin that can generate an email to all the users registered via mem_self_register? I’d like to send out updates to this group of registered members without having to move their names and email addresses into another database.

Offline

#157 2006-05-15 20:44:59

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

Re: mem_self_register

There is nothing kept in the database to signify which users have been created with mem_self_register. When the plugin creates a user, it does so in a similiar fashion to Textpattern, except the users have a site configured permission level.

Offline

#158 2006-06-07 20:22:52

LeeUmm
Member
From: Hamilton, Ontario
Registered: 2005-04-22
Posts: 91
Website

Re: mem_self_register

Hi,

Just installed the latest version of this plugin.

When I ran the installation wizard I accidentally set new members permissions to “none”. No biggy I thought and I changed this setting to what I wanted in the admin panel for this plugin.

Still though when members sign up, they are given no permissions. I even deleted the plugin and installed again but nothing.

If I try and run the installation wizard when the plugin is already installed, it tells me it’s skipping the part for the user permissions as they are already found and it tells me the correct level I’m trying to get. 2, not 0.

Where in the code would I edit this to reflect the permissions I wish them to have?

Offline

#159 2006-06-10 21:28:32

benbruce
Plugin Author
Registered: 2006-01-13
Posts: 328
Website

Re: mem_self_register

You have to set the plugin to Active before entering the help section and running the install wizard. Otherwise you get the blank screen with only the dropdown mentioned above.

– Ben

Offline

#160 2006-06-28 16:18:43

hurty
Member
Registered: 2004-07-17
Posts: 30

Re: mem_self_register

This is a great plugin and has been working flawlessly for us. One user has written to me to say he cannot register. When he fills out the form and clicks submit, the page refreshes and he sees a “1” to the left of the email field on the registration form (no entry is created in the database). I tested, using this person’s email address and I see the same problem. The address is a valid address. (I’ve corresponded with this person using the address in question.) Any clue about what could be causing this error?

Offline

#161 2006-06-29 13:52:35

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

Re: mem_self_register

hurty wrote:

This is a great plugin and has been working flawlessly for us. One user has written to me to say he cannot register. When he fills out the form and clicks submit, the page refreshes and he sees a “1” to the left of the email field on the registration form (no entry is created in the database). I tested, using this person’s email address and I see the same problem. The address is a valid address. (I’ve corresponded with this person using the address in question.) Any clue about what could be causing this error?

Please paste the mem_self_register_form form with attributes that you are using. Also include the contents of the specified form.

Offline

#162 2006-06-29 20:37:13

sekhu
Member
Registered: 2005-05-12
Posts: 428
Website

Re: mem_self_register

alzy wrote:

Looks like I’m the only who encountered this problem but when I clicked on the installation wizard. All I get is this and there’s nothing on the advanced preferences page.

Thanks.

@alzy have you activated the plugin? you need to activate it before running the install wizard, i got a similar screen first as well.

Last edited by sekhu (2006-06-29 22:42:32)

Offline

#163 2006-07-04 16:10:52

hurty
Member
Registered: 2004-07-17
Posts: 30

Re: mem_self_register

the form I’m using looks like this:

Join Daytrotter:
<code>
<p>Full Name<br />
<txp:mem_name_warn /><txp:mem_name_input /><br />
Choose Username<br />
<txp:mem_user_warn /><txp:mem_user_input /><br />
Email<br />
<txp:mem_email_warn /><txp:mem_email_input /><br />
<txp:mem_submit />
</p>
</code>

The content submitted was this person’s name, username, and email address. I tried entering this person’s information myself in my browser and encountered the same problem he had. The email address was [his_name]@sbcglobal.net, and the way I eventually got the person into the database was to use my email address to submit the form with his name and username. Then I used phpMyAdmin to change my email address to his email address.

Last edited by hurty (2006-07-04 16:12:19)

Offline

#164 2006-07-04 16:46:37

hurty
Member
Registered: 2004-07-17
Posts: 30

Re: mem_self_register

Manfre wrote:

There is nothing kept in the database to signify which users have been created with mem_self_register. When the plugin creates a user, it does so in a similiar fashion to Textpattern, except the users have a site configured permission level.

on my site, despite the fact that I have the “Use alternate Database” option set to “no,” all the users added via mem_self_register are stored in a table called ign_users rather than in the txp_users table. I’m curious if anyone has already found a way to use this table as input for a mailing list?

Or as an alternative: My hosting service provides an announcement list feature. What would be ideal is the ability to combine a submission to their subscription form as a second action on the form posted to self register. Is that possible? What would be great would be the ability to allow self registering users to check a box on the self register form that would subscribe them to the announce list. Unfortunately, the announce list database tables are not visible to, or directly accessible by the user. Access to those tables is via a web interface only, which is part of the hosting service’s control panel. (Dreamhost)

Last edited by hurty (2006-07-04 20:04:00)

Offline

#165 2006-07-09 00:40:24

daveh
Member
From: Bristol, UK
Registered: 2006-06-24
Posts: 33
Website

Re: mem_self_register

Manfre thanks for the great work on this. I’ve just installed v0.7.3, using TXP 4.0.3.

Getting two errors during install…

Failed to add pref ‘mem_self_use_ign_db’. Incorrect integer value: ‘yesnoradio’ for column ‘position’ at row 1
Failed to add pref ‘mem_self_new_user_priv’. Incorrect integer value: ‘yesnoradio’ for column ‘position’ at row 1

To fix them (and create the prefs) I had to add the ’0,’ before the ‘yesnoradio’ and ‘priv_levels’ in these two lines…
<code>
if ( mem_set_pref(‘mem_self_use_ign_db’,$use_ign_db,‘self_reg’,1,0,‘yesnoradio’)) {
if ( mem_set_pref(‘mem_self_new_user_priv’,$new_user_priv,‘self_reg’,1,0,‘priv_levels’)) {
</code>

Also, at the moment, I am getting Array() errors as reported by many others…

The problem appears to be with the mem_get_pref() function. Where it reads:
<code>
if (!empty($val) && in_array($val,$pref_cache[$name])) return $pref_cache[$name][$val];
else return $pref_cache[$name];
</code>

To fix it, the section should read:
<code>
if (!empty($val) && array_key_exists($val,$pref_cache[$name])) return $pref_cache[$name][$val];
else return $pref_cache[$name];
</code>

Dave

Last edited by daveh (2006-07-09 00:58:37)


—————
Dave-H

Offline

Board footer

Powered by FluxBB