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?
We could do some thinsg together, me as well needs such a tool. Registered automatic, freed by hand to access....
What do you think would be best?
Umlaute im URL sind meistens immer Kacke.
- Oliver Georgi
- Site Admin
- Posts: 9560
- Joined: Fri 3. Oct 2003, 22:22
- Location: Moscow, Russia
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:
This sounds interessting!Oliver Georgi wrote:Normalerweise nutze ich zum Verwalten ein Modul
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 ?
keep me on the running, please!
PhpWCMS Evangelist, -- iRoutier.com Running phpWCMS 1.4.2, r354 -> Great Version!!!!
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.
Code: Select all
'recipient' => 'email@example.com',
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.
- 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