NAVIGATION
This is an old revision of the document!
Grundlage für die FE-Userverwaltung ist das erweiterte FE User Login-Skript “fe_user.php” von Oliver Georgi und die in der Datenbank enthaltene Tabelle “phpwcms_userdetail”.
Caramello (Ursprungsthread im Forum: [http://forum.phpwcms.org/viewtopic.php?p=114049#p114049] hat darauf aufbauend und unter Verwendung des Glossary-Mod als Vorlage ein Frontend Usermanagement Modul entwickelt und zur Verfügung gestellt, das im Backend eine FE-Userverwaltung integriert.
Zusätzlich hat es weitere Funktionen, zum Beispiel generiert es unter Verwendung beliebiger Templates und Tag-gesteuert eine Mitgliederliste.
Mit diesem Modul ist die Verwaltung von FE-Usern deutlich vereinfach.
Im Backend können die über ein Registrierungs-Formular angemeldeten FE-User freigeschaltet und bearbeitet werden.
Die für die Einrichtung eines Mitgliederbereichs und Nutzung einer Zugangskontrolle notwendige Rechtevergabe kann über dieses Modul einfach realisiert werden.
Nachteil: ???
Ich habe den Code nicht auf seine Sicherheit hin überprüft und kann das auch nicht.
Evtl. haben wir hier andere PHP-Cracks?.
Die Skripte laufen aber als Modul und sind sicher mit geringem Aufwand weiter abzusichern (falls nötig).
Von mir vorgenommene Anpassungen an der Skriptvorlage von Caramello:
Noch zu tun: Infos für die Registrierungsmail anpassen.
CSS-Vorlage
/* login-form*/ .labelpos_firstname{ clear:both; margin-top:5px; } .labelpos{ margin-top:3px; } #title0 { float:left; margin-top:0px; margin-left:100px; } #title1 { float:left; margin-top:0px; margin-left:30px; } #title2 { float:left; margin-top:0px; margin-left:30px; } #user_login { margin-top:0px; margin-left:110px; border: none; outline-color: #ffa500; outline-style: solid; outline-width: 1px; background:#F8Fe78; width:171px; } #user_password { margin-top:2px; margin-left:92px; border: none; outline-color: #ffa500; outline-style: solid; outline-width: 1px; background:#F8Fe78; width:171px; } #user_password2 { margin-top:2px; margin-left:22px; border: none; outline-color: #ffa500; outline-style: solid; outline-width: 1px; background:#F8Fe78; width:171px; } #user_firstname { margin-top:5px; margin-left:87px; width:252px; border:none; outline-color: #ffa500; outline-style: solid; outline-width: 1px; background:#F8Fe78; } #user_lastname { margin-top:2px; margin-left:79px; width:252px; border: none; outline-color: #ffa500; outline-style: solid; outline-width: 1px; background:#F8Fe78; } #user_street { margin-top:2px; margin-left:102px; width:252px; width:252px; border: none; outline-color: #ffa500; outline-style: solid; outline-width: 1px; background:#F8Fe78; } #user_zip { margin-top:2px; margin-left:55px; width:60px; border: none; outline-color: #ffa500; outline-style: solid; outline-width: 1px; background:#F8Fe78; } #user_city{ margin-left:2px; width:182px; border: none; outline-color: #ffa500; outline-style: solid; outline-width: 1px; background:#F8Fe78; } #user_email { margin-left:102px; margin-bottom:10px; width:250px; border: none; outline-color: #ffa500; outline-style: solid; outline-width: 1px; background:#F8Fe78; } #user_tel { margin-left:92px; } #user_mobile { margin-left:85px; } #user_country { margin-left:49px; width:150px; } #user_company { margin-left:19px; width:250px; } #user_prof { margin-left:98px; width:173px; margin-bottom:3px; } #user_website { margin-left:88px; width:250px; } #user_signature { margin-left:121px; } #label_signature { position:absolute; margin-top:5px; } /* Start personel / userdetail module css */ /* from the templates */ /* .detail_list_entry { clear:left; display:block; padding-left : 10px; padding-top:0px; } .detail_list_entry h3 { color : #fd761d; } .userdetail_name { width: 50px; } .userdetail_city { display:block; font-size:12px; font-weight:normal; width: 50px; } .userdetail { display:inline; font-size:12px; } .detail_list_space { padding:0px; margin:0px; } */ .detail_list_entry { padding-left : 10px; padding-top:0px; } .detail_list_entry h3 { color : #fd761d; } .userdetail_name { width: 500px; } .userdetail_city { font-size:12px; font-weight:normal; width: 500px; } .userdetail { font-size:12px; } .detail_list_space { padding:0px; margin:0px; }
Anmerkung: Diese Vorlage ist nur ein Beispiel (funktioniert bei mir)