Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#241 2007-10-08 21:42:03

tjnuckolls
Member
From: Los Angeles, CA
Registered: 2005-03-23
Posts: 23
Website

Re: mem_self_register

I got it! The key was removing the “../” from the include line. Duh. Thanks!

Offline

#242 2007-10-10 15:07:02

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

Re: mem_self_register

I’m not sure if this will be useful, but I’m in the process of adding MLP support to this plugin.

Offline

#243 2007-10-17 03:25:23

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

Re: mem_self_register

Posted a new version. This includes a fix for messy urls; s, c and id args are persisted.

I also put in changes to support MLP based upon the documentation. I have zero experience with MLP or running multi lang sites, so can some one please test this for me.

Also added argument “formclass” to mem_self_register_form which will add a class tag to the form.

Last edited by Manfre (2007-10-17 03:26:15)

Offline

#244 2007-10-17 04:34:32

iblastoff
Plugin Author
From: Toronto
Registered: 2006-06-11
Posts: 1,197
Website

Re: mem_self_register

not sure whats going on..tried out 0.8.5 on both a live and local server versions of txp 4.0.5 . get the following errors on both:


Warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'like 'mem_self_use_ign_db', name = 'mem_self_use_ign_db', val = '', e' at line 1 insert into txp_prefs set name like 'mem_self_use_ign_db', name = 'mem_self_use_ign_db', val = '', event = 'self_reg', html = 'yesnoradio', type = '1', position = '0', prefs_id = 1 in D:\wamp\www\textpattern.dev\textpattern\lib\txplib_db.php on line 84

Warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'like 'mem_self_admin_email', name = 'mem_self_admin_email', val = 'steve' at line 1 insert into txp_prefs set name like 'mem_self_admin_email', name = 'mem_self_admin_email', val = 'steve@stevelam.ca', event = 'self_reg', html = 'text_input', type = '1', position = '0', prefs_id = 1 in D:\wamp\www\textpattern.dev\textpattern\lib\txplib_db.php on line 84

Warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'like 'mem_self_admin_name', name = 'mem_self_admin_name', val = 'steve l' at line 1 insert into txp_prefs set name like 'mem_self_admin_name', name = 'mem_self_admin_name', val = 'steve lam', event = 'self_reg', html = 'text_input', type = '1', position = '0', prefs_id = 1 in D:\wamp\www\textpattern.dev\textpattern\lib\txplib_db.php on line 84

Warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'like 'mem_self_new_user_priv', name = 'mem_self_new_user_priv', val = '0' at line 1 insert into txp_prefs set name like 'mem_self_new_user_priv', name = 'mem_self_new_user_priv', val = '0', event = 'self_reg', html = 'priv_levels', type = '1', position = '0', prefs_id = 1 in D:\wamp\www\textpattern.dev\textpattern\lib\txplib_db.php on line 84

    * Failed to add pref mem_self_use_ign_db. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'like 'mem_self_use_ign_db', name = 'mem_self_use_ign_db', val = '', e' at line 1
    * Failed to add pref mem_self_admin_email. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'like 'mem_self_admin_email', name = 'mem_self_admin_email', val = 'steve' at line 1
    * Failed to add pref mem_self_admin_name. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'like 'mem_self_admin_name', name = 'mem_self_admin_name', val = 'steve l' at line 1
    * Failed to add pref mem_self_newuser_priv. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'like 'mem_self_new_user_priv', name = 'mem_self_new_user_priv', val = '0' at line 1

the form portion installs fine.
(php 5.2.4 and mysql 5.0.45)

Last edited by iblastoff (2007-10-17 04:57:28)

Offline

#245 2007-10-17 14:08:11

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

Re: mem_self_register

Sorry about that. It looks like I misunderstood the way the upsert function constructed it’s sql. Redownload the fix.

Offline

#246 2007-10-17 15:41:55

iblastoff
Plugin Author
From: Toronto
Registered: 2006-06-11
Posts: 1,197
Website

Re: mem_self_register

installed fine! (though i kept trying the svn version and was wondering what may still be wrong). ended up getting the ‘proper’ version from here. thanks!

Offline

#247 2007-10-17 17:14:19

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

Re: mem_self_register

I didn’t commit the changes in to svn until now.

Offline

#248 2007-11-11 00:02:08

plugmas.com
Member
Registered: 2007-09-05
Posts: 65

Re: mem_self_register

Hi,
I want to know if mem_self_register can work with “Newsletter Manager” plugin.

How can i create a page with a recover password?
Thanks,

Offline

#249 2007-11-18 10:44:12

FatalCure
New Member
Registered: 2007-11-08
Posts: 4

Re: mem_self_register

Download link is broken?

Offline

#250 2007-11-18 10:47:00

iblastoff
Plugin Author
From: Toronto
Registered: 2006-06-11
Posts: 1,197
Website

Re: mem_self_register

Offline

#251 2007-11-18 16:50:34

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

Re: mem_self_register

Download link has been fixed. For whatever reason, I didn’t rsync my “files” directory from one to girard.

Offline

#252 2008-01-05 10:05:19

draganbabic
Member
From: Novi Sad, Serbia
Registered: 2006-09-27
Posts: 118
Website

Re: mem_self_register

Wonderful plugin, I have finally figured out how to use it and it works, but there is one nasty annoyance – it doesn’t send emails upon registration of new users so they don’t get their passwords. I have tried on two hosts, same results – no emails sent. Any idea why is this happening or is there anyone with the same problem who can maybe help me?

Offline

Board footer

Powered by FluxBB