Seite 2 von 2

Verfasst: Do 8. Jan 2004, 16:58
von Karl
Das wird es sein. Vor lauter Schützerei bin ich gar nicht auf die Idee gekommen, dass Dein Modul das ja letztlich übernimmt. Ich war von der Vorstellung ausgegangen, dass es "nur" ein paar Contenido-Löcher stopft. Ich werde später mal ein paar Fälle durchtesten, aber ich habe jetzt schön das Gefühl, dass es funktionieren wird ;-).

Nochmal vielen Dank. Ich muss nämlich demnächst eine Sitestruktur präsentieren, und da wär es nicht so günstig gewesen, wenn das mit den "vertraulichen Bereichen" nicht hundertprozentig funktioniert.

Verfasst: Fr 9. Jan 2004, 10:24
von Black Widow
Hi hi!

Also wie gesagt, ich habe das Modul auf meinen Seiten auch. Bisher zwar noch keinem Hardcore-Test unterzogen, aber es scheint so weit zu funzen. Also wirst Du dein erstes Layout schon erfolgreich präsentieren können ... :wink:

Gruß,
Black Widow

Verfasst: Mo 12. Jan 2004, 23:10
von eTrax
hola, ich bastel auch gerade an einem modularen Frontend Usersystem, welches ich für eine Vereinshomepage brauche.

Das Loginmodul ist soweit fertig, es nutzt eine eigene SQL-Tabelle, die bisher nur Loginname, MD5-Passwort, Realname, eMail und Vertrauenslevel speichert.

Loginname, Realname und Vertrauenslevel werden mit ins Session-Cookie geschrieben, anhand des Vertrauenslevels ist dann sowohl Zugriffsschutz sowohl im Layout, als auch in Modulen möglich.

Als nächstes werde ich mich dann mit dem User-Center beschäftigen, dieses soll zunächst die Funktionen 'Anmeldung', 'Passwort/Daten ändern', 'Neues Passwort anfordern' und einen 'Adminbereich' zur Aktivierung und Einstufen des Vertrauenslevel beinhalten.

Im Rahmen dieses Systems wird es auch noch eine modifizierte Version vom Terminkalender geben (Version von Andreas Gonschior [Agon]) mit max. Teilnehmerzahl und Teilnehmer-Anmeldefunktion.

Quellcode + Anleitung gibts morgen...

Martin

P.S.: Wer noch Vorschläge hat, her damit![/code]

klappt nicht :(

Verfasst: Do 15. Jan 2004, 21:34
von neu@cidnet.de
ich bekomme bei meinen login immer eine dicke java felermeldung, wenn der login nicht erfolgt ist durch ein falsches password :(

http://www.kirchekelzenberg.de/con_kike/cms/

->> mitarbeiterbereich

was muss ich da noch ändern ?!

daanke für die hilfe

thomas

eTrax hat geschrieben:hola, ich bastel auch gerade an einem modularen Frontend Usersystem, welches ich für eine Vereinshomepage brauche.

Das Loginmodul ist soweit fertig, es nutzt eine eigene SQL-Tabelle, die bisher nur Loginname, MD5-Passwort, Realname, eMail und Vertrauenslevel speichert.

Loginname, Realname und Vertrauenslevel werden mit ins Session-Cookie geschrieben, anhand des Vertrauenslevels ist dann sowohl Zugriffsschutz sowohl im Layout, als auch in Modulen möglich.

Als nächstes werde ich mich dann mit dem User-Center beschäftigen, dieses soll zunächst die Funktionen 'Anmeldung', 'Passwort/Daten ändern', 'Neues Passwort anfordern' und einen 'Adminbereich' zur Aktivierung und Einstufen des Vertrauenslevel beinhalten.

Im Rahmen dieses Systems wird es auch noch eine modifizierte Version vom Terminkalender geben (Version von Andreas Gonschior [Agon]) mit max. Teilnehmerzahl und Teilnehmer-Anmeldefunktion.

Quellcode + Anleitung gibts morgen...

Martin

P.S.: Wer noch Vorschläge hat, her damit![/code]

Verfasst: Di 20. Jan 2004, 16:53
von CyberDan
eTrax hat geschrieben:Im Rahmen dieses Systems wird es auch noch eine modifizierte Version vom Terminkalender geben (Version von Andreas Gonschior [Agon]) mit max. Teilnehmerzahl und Teilnehmer-Anmeldefunktion.
Hast du den modifizierten Kalender schon fertig? Funktioniert das? Genau sowas wollte ich auch machen für meine Vereinsseite, habe nur die Zeit dazu noch nicht gefunden..

Danke für die Hilfe

Verfasst: Do 29. Jan 2004, 11:40
von farn75
Habe mich seit einigen Tagen mit dem Loginbereich gequält. Ich habe noch eine 4.3.2 Version installiert und natürlich im Forum immer nur für diese Version nach Hilfe gesucht.
Durch Zufall fand ich das Script. Funktioniert prima, vielen Dank! :P

fehler...

Verfasst: Do 26. Feb 2004, 12:24
von FireCologne
Hallo zusammen,

zunöchst dank an black widow für das modul...leider funktioniert es bei mir auch nicht einwandfrei.
1. ich hab es in einem 4.4.0 System versucht:
http://cont.karl-linne.com/cms
2. Auf dessen Startseite hab ich ein login Modul installiert, dass soweit ich es beurteilen kann, sich normal verhält.
3. Ich habe eine Unterkategorie "gallery" in der Kategorie "Bilder" geschützt.
4. Ich habe einen Container eingefügt innerhalb von "head" des Layout, das für das Template der Kategorie "gallery" benutzt wird.
5. Ich habe im Template des Artikels das Modul dem Container zugeordnet.
6. Ich habe einen Benutzer "black" mit dem Passwort "widow" angelegt.
7. Ich habe ihm Frontend Zugriff für die Kategorie "gallery" angehakt.

8. Ich habe getestet.
a) wenn niemand eingeloggt ist, wird der Zugriff verwehrt: Klasse! Super! Genau so soll es sein.
b) wenn ich mich als Administrator einlogge, darf ich drauf: Klasse ---sein.
c) wenn ich mich als "black" einlogge .... wird der Zugriff verweigert
Habe exakt das gleiche Problem... der sysadmin kann zugreifen, der nicht registrierte user nicht, aber auch mein angelegter benutzer nicht.

habe sowohl für die gruppe als auch den benutzer unter "bereiche" den frontend zugriff aktiviert und unter "kategorie" den frontendzugriff auf alle kategorien ermöglich (durch haken).

habe auf jeder seite das login modul - so dass stest die info "eingeloggt als" auf der seite steht.

hat jemand ne idee woran es liegen kann ?

ich verzweifle hier...danke für eure hilfe !!

???

Verfasst: Do 26. Feb 2004, 14:33
von FireCologne
Hi,

eine ergänzung...gebe ich dem neuen benutzer admin rechte für den mandanten klappt der login ebefalls...warum nicht als "einfacher benutzer" mit frontend rechten ?

danke für eure hilfe !

Verfasst: Mo 1. Mär 2004, 03:34
von Black Widow
Hi FireCologne!

Kann es sein, dass Du die Kategorie auch noch mit Contenido geschützt hast? Das darfst Du mit dem Modul natürlich nicht mehr! Sonst schützt Du ja doppelt.
Das Modul dass ich da geschrieben hab war zwar nur so ne Quick & Dirty Lösung, aber ersetzt auf meiner Seite (in etwas erweiterer Form) die Funktion von Contenido eine Kategorie zu schützen komplett!

Aber bevor ich jetzt weiter ausschweife :lol: warte ich erstmal auf Deine Antwort.

Black Widow

Verfasst: Di 23. Mär 2004, 11:01
von Kayashi
Hmm, seltsam - das gleiche Problem bei mir.

Setze ich einem User lediglich "Frontend-Zugriff", wird er nicht in den geschützten Bereich gelassen.
Orde ich ihm eine Gruppe zu, die genau die gleichen Rechte hat, komme ich in den geschützten Bereich...

In Contenido habe ich die Kategorie aber nicht nochmal zusätzlich geschützt.
Lediglich das obrige Script.

Verfasst: Sa 1. Mai 2004, 18:10
von innotech
hab auch ein problem mit dem login skript: die seite http://www.sattlecker.net/cms/front_con ... ?&idart=16 ist mit dem login skript im head beriech geschützt, aber egal welchen benutzer ich probiere - ich komme immer auf dei front_content seite... ;-(

error log:
[01-Mai-2004 16:33:35] Invalid SQL: SELECT * FROM AS TREE, AS CATSIDE, AS CAT, AS CATLANG, AS SIDELANG WHERE TREE.idcat=CATSIDE.idcat AND CATSIDE.idcat=CATLANG.idcat AND CATLANG.idlang='1' AND CATSIDE.idside=SIDELANG.idside AND SIDELANG.idlang='1' AND CAT.idcat=TREE.idcat AND CAT.idclient='1' ORDER BY TREE.idtree<br><br>
[01-Mai-2004 16:33:35] next_record called with no query pending.
[01-Mai-2004 16:33:47] Invalid SQL: SELECT * FROM AS TREE, AS CATSIDE, AS CAT, AS CATLANG, AS SIDELANG WHERE TREE.idcat=CATSIDE.idcat AND CATSIDE.idcat=CATLANG.idcat AND CATLANG.idlang='1' AND CATSIDE.idside=SIDELANG.idside AND SIDELANG.idlang='1' AND CAT.idcat=TREE.idcat AND CAT.idclient='1' ORDER BY TREE.idtree<br><br>
[01-Mai-2004 16:33:47] next_record called with no query pending.
[01-Mai-2004 16:34:16] Invalid SQL: SELECT * FROM AS TREE, AS CATSIDE, AS CAT, AS CATLANG, AS SIDELANG WHERE TREE.idcat=CATSIDE.idcat AND CATSIDE.idcat=CATLANG.idcat AND CATLANG.idlang='1' AND CATSIDE.idside=SIDELANG.idside AND SIDELANG.idlang='1' AND CAT.idcat=TREE.idcat AND CAT.idclient='1' ORDER BY TREE.idtree<br><br>
[01-Mai-2004 16:34:16] next_record called with no query pending.
[01-Mai-2004 16:34:19] Invalid SQL: SELECT * FROM AS TREE, AS CATSIDE, AS CAT, AS CATLANG, AS SIDELANG WHERE TREE.idcat=CATSIDE.idcat AND CATSIDE.idcat=CATLANG.idcat AND CATLANG.idlang='1' AND CATSIDE.idside=SIDELANG.idside AND SIDELANG.idlang='1' AND CAT.idcat=TREE.idcat AND CAT.idclient='1' ORDER BY TREE.idtree<br><br>
[01-Mai-2004 16:34:19] next_record called with no query pending.
[01-May-2004 16:34:21] PHP Warning: strstr() [<a href='http://www.php.net/function.strstr'>function.strstr</a>]: Empty delimiter. in /www/htdocs/v102215/contenido/includes/include.con_editcontent.php(571) : eval()'d code on line 590
[01-May-2004 16:34:21] PHP Warning: strstr() [<a href='http://www.php.net/function.strstr'>function.strstr</a>]: Empty delimiter. in /www/htdocs/v102215/contenido/includes/include.con_editcontent.php(571) : eval()'d code on line 590
[01-May-2004 16:34:21] PHP Warning: strstr() [<a href='http://www.php.net/function.strstr'>function.strstr</a>]: Empty delimiter. in /www/htdocs/v102215/contenido/includes/include.con_editcontent.php(571) : eval()'d code on line 590
[01-May-2004 16:34:21] PHP Warning: strstr() [<a href='http://www.php.net/function.strstr'>function.strstr</a>]: Empty delimiter. in /www/htdocs/v102215/contenido/includes/include.con_editcontent.php(571) : eval()'d code on line 590
[01-May-2004 16:34:21] PHP Warning: strstr() [<a href='http://www.php.net/function.strstr'>function.strstr</a>]: Empty delimiter. in /www/htdocs/v102215/contenido/includes/include.con_editcontent.php(571) : eval()'d code on line 590
[01-May-2004 16:34:21] PHP Warning: strstr() [<a href='http://www.php.net/function.strstr'>function.strstr</a>]: Empty delimiter. in /www/htdocs/v102215/contenido/includes/include.con_editcontent.php(571) : eval()'d code on line 590
[01-May-2004 16:34:21] PHP Warning: strstr() [<a href='http://www.php.net/function.strstr'>function.strstr</a>]: Empty delimiter. in /www/htdocs/v102215/contenido/includes/include.con_editcontent.php(571) : eval()'d code on line 590
[01-May-2004 16:34:21] PHP Warning: strstr() [<a href='http://www.php.net/function.strstr'>function.strstr</a>]: Empty delimiter. in /www/htdocs/v102215/contenido/includes/include.con_editcontent.php(571) : eval()'d code on line 590
[01-May-2004 16:34:21] PHP Warning: strstr() [<a href='http://www.php.net/function.strstr'>function.strstr</a>]: Empty delimiter. in /www/htdocs/v102215/contenido/includes/include.con_editcontent.php(571) : eval()'d code on line 590
[01-May-2004 16:34:21] PHP Warning: strstr() [<a href='http://www.php.net/function.strstr'>function.strstr</a>]: Empty delimiter. in /www/htdocs/v102215/contenido/includes/include.con_editcontent.php(571) : eval()'d code on line 590
[01-May-2004 16:34:21] PHP Warning: strstr() [<a href='http://www.php.net/function.strstr'>function.strstr</a>]: Empty delimiter. in /www/htdocs/v102215/contenido/includes/include.con_editcontent.php(571) : eval()'d code on line 590
[01-May-2004 16:34:21] PHP Warning: strstr() [<a href='http://www.php.net/function.strstr'>function.strstr</a>]: Empty delimiter. in /www/htdocs/v102215/contenido/includes/include.con_editcontent.php(571) : eval()'d code on line 590
[01-May-2004 16:34:21] PHP Warning: strstr() [<a href='http://www.php.net/function.strstr'>function.strstr</a>]: Empty delimiter. in /www/htdocs/v102215/contenido/includes/include.con_editcontent.php(571) : eval()'d code on line 590
[01-May-2004 16:34:21] PHP Warning: strstr() [<a href='http://www.php.net/function.strstr'>function.strstr</a>]: Empty delimiter. in /www/htdocs/v102215/contenido/includes/include.con_editcontent.php(571) : eval()'d code on line 590
[01-May-2004 16:34:21] PHP Warning: strstr() [<a href='http://www.php.net/function.strstr'>function.strstr</a>]: Empty delimiter. in /www/htdocs/v102215/contenido/includes/include.con_editcontent.php(571) : eval()'d code on line 590
[01-May-2004 16:34:21] PHP Warning: strstr() [<a href='http://www.php.net/function.strstr'>function.strstr</a>]: Empty delimiter. in /www/htdocs/v102215/contenido/includes/include.con_editcontent.php(571) : eval()'d code on line 590
[01-May-2004 16:34:21] PHP Warning: strstr() [<a href='http://www.php.net/function.strstr'>function.strstr</a>]: Empty delimiter. in /www/htdocs/v102215/contenido/includes/include.con_editcontent.php(571) : eval()'d code on line 590
[01-May-2004 16:34:21] PHP Warning: strstr() [<a href='http://www.php.net/function.strstr'>function.strstr</a>]: Empty delimiter. in /www/htdocs/v102215/contenido/includes/include.con_editcontent.php(571) : eval()'d code on line 590
[01-May-2004 16:34:21] PHP Warning: strstr() [<a href='http://www.php.net/function.strstr'>function.strstr</a>]: Empty delimiter. in /www/htdocs/v102215/contenido/includes/include.con_editcontent.php(571) : eval()'d code on line 590
[01-May-2004 16:34:21] PHP Warning: strstr() [<a href='http://www.php.net/function.strstr'>function.strstr</a>]: Empty delimiter. in /www/htdocs/v102215/contenido/includes/include.con_editcontent.php(571) : eval()'d code on line 590
[01-May-2004 16:34:21] PHP Warning: strstr() [<a href='http://www.php.net/function.strstr'>function.strstr</a>]: Empty delimiter. in /www/htdocs/v102215/contenido/includes/include.con_editcontent.php(571) : eval()'d code on line 590
[01-May-2004 16:34:21] PHP Warning: strstr() [<a href='http://www.php.net/function.strstr'>function.strstr</a>]: Empty delimiter. in /www/htdocs/v102215/contenido/includes/include.con_editcontent.php(571) : eval()'d code on line 590
[01-Mai-2004 16:34:24] Invalid SQL: SELECT * FROM AS TREE, AS CATSIDE, AS CAT, AS CATLANG, AS SIDELANG WHERE TREE.idcat=CATSIDE.idcat AND CATSIDE.idcat=CATLANG.idcat AND CATLANG.idlang='1' AND CATSIDE.idside=SIDELANG.idside AND SIDELANG.idlang='1' AND CAT.idcat=TREE.idcat AND CAT.idclient='1' ORDER BY TREE.idtree<br><br>
[01-Mai-2004 16:34:24] next_record called with no query pending.
[01-Mai-2004 16:34:31] Invalid SQL: SELECT * FROM AS TREE, AS CATSIDE, AS CAT, AS CATLANG, AS SIDELANG WHERE TREE.idcat=CATSIDE.idcat AND CATSIDE.idcat=CATLANG.idcat AND CATLANG.idlang='1' AND CATSIDE.idside=SIDELANG.idside AND SIDELANG.idlang='1' AND CAT.idcat=TREE.idcat AND CAT.idclient='1' ORDER BY TREE.idtree<br><br>
[01-Mai-2004 16:34:31] next_record called with no query pending.
[01-Mai-2004 16:34:35] Invalid SQL: SELECT * FROM AS TREE, AS CATSIDE, AS CAT, AS CATLANG, AS SIDELANG WHERE TREE.idcat=CATSIDE.idcat AND CATSIDE.idcat=CATLANG.idcat AND CATLANG.idlang='1' AND CATSIDE.idside=SIDELANG.idside AND SIDELANG.idlang='1' AND CAT.idcat=TREE.idcat AND CAT.idclient='1' ORDER BY TREE.idtree<br><br>
[01-Mai-2004 16:34:35] next_record called with no query pending.
[01-Mai-2004 16:34:54] Invalid SQL: SELECT * FROM AS TREE, AS CATSIDE, AS CAT, AS CATLANG, AS SIDELANG WHERE TREE.idcat=CATSIDE.idcat AND CATSIDE.idcat=CATLANG.idcat AND CATLANG.idlang='1' AND CATSIDE.idside=SIDELANG.idside AND SIDELANG.idlang='1' AND CAT.idcat=TREE.idcat AND CAT.idclient='1' ORDER BY TREE.idtree<br><br>
[01-Mai-2004 16:34:54] next_record called with no query pending.
[01-Mai-2004 16:34:59] Invalid SQL: SELECT * FROM AS TREE, AS CATSIDE, AS CAT, AS CATLANG, AS SIDELANG WHERE TREE.idcat=CATSIDE.idcat AND CATSIDE.idcat=CATLANG.idcat AND CATLANG.idlang='1' AND CATSIDE.idside=SIDELANG.idside AND SIDELANG.idlang='1' AND CAT.idcat=TREE.idcat AND CAT.idclient='1' ORDER BY TREE.idtree<br><br>
[01-Mai-2004 16:34:59] next_record called with no query pending.
[01-Mai-2004 16:35:17] Invalid SQL: SELECT * FROM AS TREE, AS CATSIDE, AS CAT, AS CATLANG, AS SIDELANG WHERE TREE.idcat=CATSIDE.idcat AND CATSIDE.idcat=CATLANG.idcat AND CATLANG.idlang='1' AND CATSIDE.idside=SIDELANG.idside AND SIDELANG.idlang='1' AND CAT.idcat=TREE.idcat AND CAT.idclient='1' ORDER BY TREE.idtree<br><br>
[01-Mai-2004 16:35:17] next_record called with no query pending.
[01-Mai-2004 16:35:19] Invalid SQL: SELECT * FROM AS TREE, AS CATSIDE, AS CAT, AS CATLANG, AS SIDELANG WHERE TREE.idcat=CATSIDE.idcat AND CATSIDE.idcat=CATLANG.idcat AND CATLANG.idlang='1' AND CATSIDE.idside=SIDELANG.idside AND SIDELANG.idlang='1' AND CAT.idcat=TREE.idcat AND CAT.idclient='1' ORDER BY TREE.idtree<br><br>
[01-Mai-2004 16:35:19] next_record called with no query pending.
[01-Mai-2004 16:35:34] Invalid SQL: SELECT * FROM AS TREE, AS CATSIDE, AS CAT, AS CATLANG, AS SIDELANG WHERE TREE.idcat=CATSIDE.idcat AND CATSIDE.idcat=CATLANG.idcat AND CATLANG.idlang='1' AND CATSIDE.idside=SIDELANG.idside AND SIDELANG.idlang='1' AND CAT.idcat=TREE.idcat AND CAT.idclient='1' ORDER BY TREE.idtree<br><br>
[01-Mai-2004 16:35:34] next_record called with no query pending.
[01-Mai-2004 16:35:37] Invalid SQL: SELECT * FROM AS TREE, AS CATSIDE, AS CAT, AS CATLANG, AS SIDELANG WHERE TREE.idcat=CATSIDE.idcat AND CATSIDE.idcat=CATLANG.idcat AND CATLANG.idlang='1' AND CATSIDE.idside=SIDELANG.idside AND SIDELANG.idlang='1' AND CAT.idcat=TREE.idcat AND CAT.idclient='1' ORDER BY TREE.idtree<br><br>
[01-Mai-2004 16:35:37] next_record called with no query pending.
contenido version: 4.4.2

danke für eure hilfe!!!

Neuer Container? Hilfe!

Verfasst: So 2. Mai 2004, 08:38
von Katja
Hallo, ich würde auch schrecklich gerne ein Login in einen geschützten Bereich einbauen. Das mit dem Modul usw. habe ich kapiert, aber da sich meine php-Kenntnisse auf Kopieren und Vergleichen von Zeichen beschränken, :oops: hätte ich eine Bitte.
Wie muss ich den neuen Container hier im <head> eintragen?
Es wäre lieb, wenn mir jemand helfen könnte. Dann teste ich auch brav weiter.
Danke
Katja

<html>
<head>
<title>Contenido</title>
<link rel="stylesheet" type="text/css" href="css/format.css">
</head>

Verfasst: So 2. Mai 2004, 12:56
von timo
innotech hat geschrieben:hab auch ein problem mit dem login skript: die seite http://www.sattlecker.net/cms/front_con ... ?&idart=16 ist mit dem login skript im head beriech geschützt, aber egal welchen benutzer ich probiere - ich komme immer auf dei front_content seite... ;-(
Das Modul, das du da eingebaut hast, funktioniert nicht mit der 4.4.x, sondern nur mit der 4.2

Verfasst: Mo 3. Mai 2004, 10:25
von innotech
timo hat geschrieben:Das Modul, das du da eingebaut hast, funktioniert nicht mit der 4.4.x, sondern nur mit der 4.2
kannst du mir eine alternative empfehlen?

thx, inno

Frontend

Verfasst: Mi 12. Mai 2004, 10:52
von eegroove
das Modul funzt bei mir gut!

Allerdings benötige ich jetzt zwei Loginstufen die einen die mehr im frontend sehen dürfen als die anderen.

wenn ich das häkchen bei "frontend" mache dann daf mein User alles sehen wenn ich das häkchen entferne, kommt er gar nicht mehr in den geschützen bereich.

Kannst Du mir da nochmal helfen?
Mit freundlichen Grüßen

Ernst Groß