Frontend Login: Register with fe_user frontend_render script
- swisscheese
- Posts: 138
- Joined: Mon 19. Feb 2007, 16:37
- Location: Solothurn, Schweiz
Frontend Login: Register with fe_user frontend_render script
Hi all
Would like to have parts that only registered users can see. I set up a registration form with the frontend render script fe_user.php. Basically, all goes well: A user can fill out the register form, a mail is sent to the user and to me with all the information and a hint: Userdata can be shown in the background.
However, in the background user administration, there is no new user. The new user is only generated in the table phpwcms_userdetail, but not in the phpwcms_user. Is there a possibility to edit and activate the users from phpwcms_userdetail in the background?
Thanks, Gerd
Would like to have parts that only registered users can see. I set up a registration form with the frontend render script fe_user.php. Basically, all goes well: A user can fill out the register form, a mail is sent to the user and to me with all the information and a hint: Userdata can be shown in the background.
However, in the background user administration, there is no new user. The new user is only generated in the table phpwcms_userdetail, but not in the phpwcms_user. Is there a possibility to edit and activate the users from phpwcms_userdetail in the background?
Thanks, Gerd
Re: Frontend Login: Register with fe_user frontend_render script
Jupp. just Script insert into User DB, own risc, is as I beleive the reason why is not done.
We could do some thinsg together, me as well needs such a tool. Registered automatic, freed by hand to access....
We could do some thinsg together, me as well needs such a tool. Registered automatic, freed by hand to access....
- swisscheese
- Posts: 138
- Joined: Mon 19. Feb 2007, 16:37
- Location: Solothurn, Schweiz
Re: Frontend Login: Register with fe_user frontend_render script
Hmm. Putting in the phpwcms_user table is not possible (not enough fields) and not necessary, as a FE-login against the phpwcms_userdetail is possible. But a management of the userdetail table in backend is a no-go without a core hack. So we would have to concentrate on a module. This module could allow administration in the backend or even in the frontend, if a FE-login as a admin user happened. Perhaps it is even possible to activate a registration request with a single click on a link in the mail...
What do you think would be best?
Gerd
What do you think would be best?
Gerd
- Oliver Georgi
- Site Admin
- Posts: 9889
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
Re: Frontend Login: Register with fe_user frontend_render script
Ich würde dringend davon abraten Benutzer auf diesem Weg Benutzer in die Backendbenutzerdatenbank zuzufügen.
Die Lösung ist natürlich sehr customized. Und phpwcms_userdetail ist aber wesentlich sicherer und universell.
Normalerweise nutze ich zum Verwalten ein Modul. Siehe zum Beispiel:
http://www.akcent.de/index.php?partner-cms
Oliver
Die Lösung ist natürlich sehr customized. Und phpwcms_userdetail ist aber wesentlich sicherer und universell.
Normalerweise nutze ich zum Verwalten ein Modul. Siehe zum Beispiel:
http://www.akcent.de/index.php?partner-cms
Oliver
- swisscheese
- Posts: 138
- Joined: Mon 19. Feb 2007, 16:37
- Location: Solothurn, Schweiz
Re: Frontend Login: Register with fe_user frontend_render script
Thanx for clarification
Gerd
This sounds interessting!Oliver Georgi wrote:Normalerweise nutze ich zum Verwalten ein Modul
Gerd
Re: Frontend Login: Register with fe_user frontend_render script
Hmmm,
so this userdetail table is not checked against the Frontend Login as far as I see ... Would be great to have an idea how login might be triggert against userdetail table ?
so this userdetail table is not checked against the Frontend Login as far as I see ... Would be great to have an idea how login might be triggert against userdetail table ?
- swisscheese
- Posts: 138
- Joined: Mon 19. Feb 2007, 16:37
- Location: Solothurn, Schweiz
Re: Frontend Login: Register with fe_user frontend_render script
Check the box "Login prüfen gegen Benutzerprofil-Datenbank" in the CP Frontend Login, and you're done. It's all working: online registration, online management, but the management of the userdetail table (e.g. activation of a user) is lacking.
Re: Frontend Login: Register with fe_user frontend_render script
aha!
keep me on the running, please!
keep me on the running, please!
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
Re: Frontend Login: Register with fe_user frontend_render script
Something I would very much like to see added is the "Forgot Password?" feature
Cheers,
Yves
Cheers,
Yves
PhpWCMS Evangelist, -- iRoutier.com Running phpWCMS 1.4.2, r354 -> Great Version!!!!
-
- Posts: 219
- Joined: Thu 18. Dec 2008, 12:45
Re: Frontend Login: Register with fe_user frontend_render script
i think a aktivation via phpmyadmin is possible, or am i wrong?swisscheese wrote:Check the box "Login prüfen gegen Benutzerprofil-Datenbank" in the CP Frontend Login, and you're done. It's all working: online registration, online management, but the management of the userdetail table (e.g. activation of a user) is lacking.
if so, which field i must set to "1" have tried "detail_aktiv" with no success.
cheers
der hausmeister
-
- Posts: 219
- Joined: Thu 18. Dec 2008, 12:45
Re: Frontend Login: Register with fe_user frontend_render script
change this line in fe_user.php:
to your emailadress and you will get a message, when a new user has filled out the registrationform.
der hausmeister
Code: Select all
'recipient' => 'slackero+phpwcms-registration@gmail.com',
der hausmeister
- swisscheese
- Posts: 138
- Joined: Mon 19. Feb 2007, 16:37
- Location: Solothurn, Schweiz
Re: Frontend Login: Register with fe_user frontend_render script
Good news! Finally got this working.
Bad news: it is more complicated than I expected. It's impossible to put a bunch of final files here where you just can adjust a two or three parameters and all is done.
What's possible:
- User can register, a mail is sent to admin
- admin can activate (and edit) the userdata in backend (module needed)
- on activation, a mail is sent to user to inform him his account was activated
- user can login in frontend and manage his account (edit, set new password and so on)
- user can request a new password if he forgot it (yes, Yves )
The two big works:
- You have to adjust the frontend render script "fe_user.php". This file handles the rendering and processing of registration form. The one you get with phpwcms is a very, very custom version, but basically working. As there is no template, you have to hard code in the file itself.
- There is no module to manage the users in the backend. I wrote one for my need, but it isn't handy for general use (too much custom fields and special wishes...)
Well, I'll give this an eye to code and solve this in a more general way, but not today
Gerd
Bad news: it is more complicated than I expected. It's impossible to put a bunch of final files here where you just can adjust a two or three parameters and all is done.
What's possible:
- User can register, a mail is sent to admin
- admin can activate (and edit) the userdata in backend (module needed)
- on activation, a mail is sent to user to inform him his account was activated
- user can login in frontend and manage his account (edit, set new password and so on)
- user can request a new password if he forgot it (yes, Yves )
The two big works:
- You have to adjust the frontend render script "fe_user.php". This file handles the rendering and processing of registration form. The one you get with phpwcms is a very, very custom version, but basically working. As there is no template, you have to hard code in the file itself.
- There is no module to manage the users in the backend. I wrote one for my need, but it isn't handy for general use (too much custom fields and special wishes...)
Well, I'll give this an eye to code and solve this in a more general way, but not today
Gerd
-
- Posts: 219
- Joined: Thu 18. Dec 2008, 12:45
Re: Frontend Login: Register with fe_user frontend_render script
i am very interested in this one
der hausmeister
der hausmeister