Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#316 2009-01-08 20:20:49
- Calm
- Member
- Registered: 2009-01-07
- Posts: 16
Re: mem_self_register
I read a lot of times :(
??
mem_self_user_edit_form
This tag allows a form to modify user information to be displayed on the user portion of the website. This is meant to be used with the ign_password_protect plugin. This tag supports the tag txp:mem_profile.
??
What I need to do with ign_password_protect concrete?
Last edited by Calm (2009-01-08 20:22:47)
Best regards
Offline
#317 2009-01-08 22:03:13
Re: mem_self_register
Read the heading that says “Installation” or Ctrl+F for “Wizard”. Click that link.
Offline
#318 2009-01-09 06:55:05
- Calm
- Member
- Registered: 2009-01-07
- Posts: 16
Re: mem_self_register
Оо! I’m very disregard :(
Thx a lot!
Last edited by Calm (2009-01-09 06:55:20)
Best regards
Offline
#319 2009-01-20 00:19:42
Re: mem_self_register
This might be a daft thing to ask but is it possible/easy to allow some kind of super-admin type personage to:
- Add new users and edit existing user details (e.g. select existing user from a dropdown so their details get loaded into the profile page for editing, then hitting Update will alter that record)
- Add new users with a specified priv instead of the fixed priv given in the plugin prefs (e.g. one chosen from a select list/radio set of allowable privs)
- Reset/generate new passwords of other users when they whine they’ve forgotten them (these people are not being given access to the admin side)
It seems most of the relevant tools are in the plugin and I’ve made some headway with good ol’ ign_password_protect / calling a bunch of forms if the person is of this “super admin” type, but I can’t find a way to handle the above scenarios using the plugin.
Perhaps I need to roll my own solution with mem_form and/or custom PHP instead? But before I go there, has anyone done anything similar so I don’t go and reinvent the wheel. And the entire bicycle.
Thanks in advance for any tips.
Last edited by Bloke (2009-01-20 00:20:17)
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Offline
#320 2009-03-03 21:15:00
Re: mem_self_register
Is this plugin conflicting with mem_simple_form? I get the following error after submitting new user information:
Tag error: <txp:mem_self_register_form form=“self_register_form” /> -> Textpattern Notice: You must provide a table name as an attribute to mem_simple_form on line 101
textpattern/lib/txplib_misc.php(570) : eval()’d code:101 trigger_error()
mem_simple_form_submitted()
textpattern/lib/txplib_misc.php:606 call_user_func()
textpattern/lib/txplib_misc.php(470) : eval()’d code:191 callback_event()
textpattern/lib/txplib_misc.php(570) : eval()’d code:408 mem_form()
textpattern/publish.php:1090 mem_self_register_form()
textpattern/publish.php:1012 processTags()
textpattern/publish/taghandlers.php:3037 parse()
textpattern/publish.php:1090 if_section()
textpattern/publish.php:1025 processTags()
As far as I can tell, the user info is added fine.
Last edited by johnstephens (2009-03-03 21:15:25)
Offline
#321 2009-05-24 09:48:02
- lous
- Member
- From: Germany
- Registered: 2009-01-04
- Posts: 57
Re: mem_self_register
If i use this plugin, does it show the user control panel in the front or backend?
If its in the backend, i would like to ask if its possible to show for the self registered users the panel in the frontend.
Thanks :D
Offline
#322 2009-06-28 20:49:30
Re: mem_self_register
For the life of me, I can’t figure out how to do job #2 with this plugin: Login in users.
I can register them fine, I can change the password. But if the cookie is gone, how do they log back in?
Would someone enlighten me?
Offline
#323 2009-08-31 15:10:01
- Gerich
- Member
- Registered: 2009-08-30
- Posts: 35
Re: mem_self_register
I have an error when click Start Install Wizard.
After submitting admin name, email,etc I get:
Notice: Array to string conversion in C:\AppServ\www\textpattern\lib\txplib_misc.php(594) : eval()’d code on line 85
Pref mem_self_use_ign_db is already installed. Current value is “1”
…..
Is it the serious error?
(textpattern version 4.2.0)
Last edited by Gerich (2009-08-31 15:28:05)
Offline
#324 2009-08-31 15:54:58
Re: mem_self_register
mem_self_register has not been tested with Textpattern 4.2.
Offline
#325 2009-09-12 00:30:24
Re: mem_self_register
Manfre wrote:
mem_self_register has not been tested with Textpattern 4.2.
It appears to be working in TXP 4.2. I kept the default settings of not using alternate database and also did not choose to use address or phone fields. Used this: <txp:mem_self_register_form form="self_register_form" />
and it did add a new user.
Textpattern version: 4.2.0 (r3275)
Last Update: 2009-09-01 01:42:00/2009-08-28 19:31:19
Document root: /Applications/MAMP/htdocs
$path_to_site: /Applications/MAMP/htdocs/sdfasdfsf.dev
Textpattern path: /Applications/MAMP/htdocs/asdfasdfasdf.dev/textpattern
Permanent link mode: section_id_title
upload_tmp_dir: /Applications/MAMP/tmp/php
Temporary directory path: /Applications/MAMP/htdocs/asdfasdf.dev/textpattern/tmp
Site URL: localhost:8888/asdfasdfasdf.dev
PHP version: 5.2.6
GD Image Library: version bundled (2.0.34 compatible), supported formats: GIF, JPG, PNG
Server TZ: America/Los_Angeles
Server Local Time: 2009-09-11 17:24:53
DST enabled?: 0
Automatically adjust DST setting?: 0
Time Zone: (+61200)
MySQL: 5.0.41
Locale: en_US.UTF-8
Server: Apache/2.0.59 (Unix) PHP/5.2.6 DAV/2
Apache version: Apache/2.0.59 (Unix) PHP/5.2.6 DAV/2
PHP Server API: apache2handler
RFC 2616 headers:
Server OS: Darwin 8.11.1
Active plugins: smd_bio-0.3, wet_babble-0.2m, ign_password_protect-0.5b9, mem_self_register-0.9.1, mem_form-0.5.4
Admin-side theme: remora 4.2.0
.htaccess file contents:
————————————
#DirectoryIndex index.php index.html
#Options +FollowSymLinks
#Options -Indexes
<IfModule mod_rewrite.c> RewriteEngine On #RewriteBase /relative/web/path/
RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+) – [PT,L]
RewriteCond %{REQUEST_URI} !=/favicon.ico RewriteRule ^(.*) index.php
RewriteCond %{HTTP:Authorization} !^$
RewriteRule .* – [E=REMOTE_USER:%{HTTP:Authorization}]
</IfModule>
#php_value register_globals 0
————————————
txtstrap (Textpattern + Twitter Bootstrap + etc…)
Offline
#326 2009-09-12 02:25:30
Offline
#327 2009-09-15 09:29:07
Re: mem_self_register
renobird wrote:
Manfre,
I finally have a reason to use this plugin. Wow! this thing is amazing! Thanks so much for all the hard work.
Quick question:
In the setup there are options for “add_address_field” and “add_phone_field”…how do I access those? Is there a way for the user to self edit them?
Ideally I’d love to have access to those fields from the the ADMIN > USERS tab? Anyone done that?
Thanks Again!
—
Tom
I have a similar interest. That is to use the self edit tag to update other fields with a users profile. Is this possible?
I’ve been making heavy use of smd_bio lately and it provides a lot of new profile fields some of which I’d like to have the user update using mem_self_edit.
txtstrap (Textpattern + Twitter Bootstrap + etc…)
Offline
#328 2009-09-15 09:47:39
Re: mem_self_register
whaleen wrote:
I have a similar interest. That is to use the self edit tag to update other fields with a users profile. Is this possible?
From memory (may be wrong here) I think mem_self_edit is ‘fixed’ in that the other fields you can edit —phone, address, etc — are hard-coded in the plugin.
If you want to allow people to edit stuff in smd_bio then I think you’ll have to roll your own solution using mem_form / mem_simple_form. I haven’t had time to play with it but would like to experiment one day.
In theory, the smd_bio_meta table contains everything you need to dynamically create a mem_simple_form to allow client-side updating of bio info. If it doesn’t then I want to know where the shortcomings are so I can try and address them!
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Offline
#329 2009-09-15 10:02:42
Re: mem_self_register
If you want to allow people to edit stuff in smd_bio then I think you’ll have to roll your own solution using mem_form / mem_simple_form. I haven’t had time to play with it but would like to experiment one day.
I can’t believe I haven’t come across mem_simple_form yet! Thanks! I hope I can make this thing work.
In theory, the smd_bio_meta table contains everything you need to dynamically create a mem_simple_form to allow client-side updating of bio info. If it doesn’t then I want to know where the shortcomings are so I can try and address them!
I shall post my progress if I have the brain power left to make any. :)
txtstrap (Textpattern + Twitter Bootstrap + etc…)
Offline
#330 2009-09-15 13:28:52
Re: mem_self_register
I have a similar interest. That is to use the self edit tag to update other fields with a users profile. Is this possible?
I’ve been making heavy use of smd_bio lately and it provides a lot of new profile fields some of which I’d like to have the user update using mem_self_edit.
Yes, mem_self_register will let you use any field in the txp_user or ign_users table. The only requirement is to add the fields to the table and then provide a form input with the table’s field name.
To display any field in the user table, you can use <txp:mem_profile var="field_name" />
Offline