Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#229 2007-07-17 17:36:08
Re: mem_self_register
Manfre
When I click on the link I’m getting the log-in dialogue for user name and password. I’ve tried leaving them blank, tried anonymous, but am not figuring out how to log in.
Thanks for your help
Mike
Offline
#230 2007-07-17 21:45:09
Re: mem_self_register
When I created the SVN repo, I selected the option to give anonymous read access. I’ll double check the settings and then probably will need a support ticket.
Offline
#231 2007-08-28 05:43:32
Re: mem_self_register
i am testing this plugin out and so far i can get it to work on a site using clean urls but doesn’t work at all on another site using messy urls (doesn’t support clean).
symptoms:- upon entering valid test name/username/email in the registration form and pressing submit, there is no success/error/anything message and you just get redirected to the front page.
- the user consequently does not get added nor do they receive an email.
- version 0.8.3 of the plugin is installed and active. TXP is a fresh install of 4.0.5 using just the default TXP theme.
- created section ‘register’ and a page ‘register’ (a copy of the default page with the registration form tag pasted within it)
- the registration form shows up just fine.
- the fields are visible in the admin->advanced preferences section and i can see the new txp forms as well.
- there are no changes to any of the txp forms and the tag to call the main registration form is just the default : <txp:mem_self_register_form form=“self_register_form” />
- site is set to live mode.
- diagnostics show no errors (minus the fact that clean urls do not work. but otherwise functions fine as messy urls)
here is the example: http://www.sickpill.com/index.php?s=register.
i’m assuming it has something to do with the messy urls? i don’t know why else it wouldn’t be working.
Last edited by iblastoff (2007-08-28 05:56:57)
Offline
#232 2007-08-28 14:23:06
Re: mem_self_register
You confused me with your post. Are you saying that you can get my plugin to work with clean urls, but not messy urls? Download and install version 0.8.4b. Let me know if you still experience the problem. Read the plugin help, which will help you set up a success page and formatting the email message.
Also, change from live mode to testing until you get the site functioning.
Offline
#233 2007-08-28 18:46:44
Re: mem_self_register
Manfre wrote:
You confused me with your post. Are you saying that you can get my plugin to work with clean urls, but not messy urls? Download and install version 0.8.4b. Let me know if you still experience the problem. Read the plugin help, which will help you set up a success page and formatting the email message.
Also, change from live mode to testing until you get the site functioning.
yep thats exactly what im saying. i have one domain hosted somewhere that doesn’t support clean urls. and i cant get mem_self_register to work for it. on the other hand, on a different domain with clean urls working, it does work! but thanks i’ll try out 0.8.4.b and see if theres a change.
Last edited by iblastoff (2007-09-27 06:55:16)
Offline
#234 2007-08-28 19:09:00
Re: mem_self_register
updated to 0.8.4b with the same results…once the form is submitted, no error/success/anything message. you just get redirected to the main page. no email sent out and no user added to the userlist..hmm
what i’ve noticed is that on the domain that i do have this working on (the one with clean urls working), when you view the source of the form it reads as :
<form enctype=‘multipart/form-data’ action=’/register’ method=‘post’> etc etc
but on the messy-url domain where its not working, viewing the source of the form reads as:
<form enctype=‘multipart/form-data’ action=’/index.php’ method=‘post’> etc etc
for both sites i am just using this to call the form:
<txp:mem_self_register_form form=“self_register_form” />
Last edited by iblastoff (2007-08-28 19:13:39)
Offline
#235 2007-08-29 02:13:52
Re: mem_self_register
i’ve decided im just going to use drupal for this. thanks!
Offline
#236 2007-09-06 18:41:46
- plugmas.com
- Member
- Registered: 2007-09-05
- Posts: 65
Re: mem_self_register
Manfre, i install mem_self_register recently. I got a warning like this Warning: require_once(txpath/include/txp_admin.php) [function.require-once]: failed to open stream: No such file or directory in /home/xxxx/xxx/textpattern/lib/mem_self_register_v0.8.4b.php
¿I need a txp_admin.php?
Offline
#237 2007-09-07 01:34:30
Re: mem_self_register
plugmas, use the plugin installer box in the plugins tab. That is the proper way to install a plugin and is required for this to function.
Offline
#238 2007-09-27 07:25:28
Re: mem_self_register
iblastoff wrote:
updated to 0.8.4b with the same results…once the form is submitted, no error/success/anything message. you just get redirected to the main page. no email sent out and no user added to the userlist..hmm
what i’ve noticed is that on the domain that i do have this working on (the one with clean urls working), when you view the source of the form it reads as :
<form enctype=‘multipart/form-data’ action=‘/register’ method=‘post’> etc etc
but on the messy-url domain where its not working, viewing the source of the form reads as:
<form enctype=‘multipart/form-data’ action=‘/index.php’ method=‘post’> etc etcfor both sites i am just using this to call the form:
<txp:mem_self_register_form form=“self_register_form” />
UPDATE:
i found my solution!!! it seems it may only apply to me for whatever reason, but i had to manually edit the plugin at line 484 where it grabs the action url for the form from the $action_url variable.
i changed the original:
$out = n.n."<form enctype='multipart/form-data' action='{$action_url}' method='post'>" .
which made my form look like : <form enctype=‘multipart/form-data’ action=‘/index.php’ method=‘post’> etc etc
to:
$out = n.n."<form enctype='multipart/form-data' action='/index.php?s=register' method='post'>" .
which now makes my form look like: <form enctype=‘multipart/form-data’ action=‘/index.php?s=register’ method=‘post’> etc etc
and now it works!
if this issue applies to anyone else, ‘register’ is just the section i created. a more universal way i suppose is to remove the code that precedes line 484:
$qs = strpos($action_url,'?');
if ($qs) $action_url = substr($action_url, 0, $qs);
Last edited by iblastoff (2007-09-27 08:16:44)
Offline
#239 2007-10-08 20:30:08
Re: mem_self_register
Manfre wrote:
To those wishing to do a public profile, I have started to add support for it. Available in SVN, I have v0.8.4b with an updated mem_profile tag.
Any chance we could get a compiled version? I’m having a helluva time getting it to compile. Keep getting the following error:
Warning: main(txpath/include/txp_admin.php): failed to open stream: No such file or directory in /Users/x/zem_tpl-0.4/mem_self_register.php on line 320
Fatal error: main(): Failed opening required 'txpath/include/txp_admin.php' (include_path='.:') in /Users/x/zem_tpl-0.4/mem_self_register.php on line 320
Thanks.
Offline
#240 2007-10-08 21:16:25
Re: mem_self_register
I’ll try and get a compiled version of it posted tonight. In case you can’t wait (or more likely I forget), you can grab the 4.0-plugin-template folder and the file /plugins/zem_tpl.php to compile it yourself.
All of my plugins are in their own folder and include the /plugins/zem_tpl.php file, which is really a redirect to the actual zem_tpl.php file in the 4.0-plugin-template folder. If you grab the template folder and the mem_self_register.php and toss in the same folder, you only need to remove the “../” from the include line so it looks like below.
<code>
@include_once(‘zem_tpl.php’);
</code>
Offline