Zum Inhalt springen

sr_feuser_register E-Mail Verifikation geht nicht

Erstellt am 9. September 2008 · 3 Antworten · letzte Antwort am 15. Oktober 2008

Tags: Frage

ooPhil86oo ·

Hallo,

ich bin noch ein ziemlicher Anfänger und bin deswegen seit einiger Zeit damit beschäftigt mit sr_feuser_register und newloginbox eine Registrierung und einen Userbereich zu schaffen. Es klappt auch alles soweit, außer die User keine der beiden Usergruppen zugeordenet wird und auf invisible stehen. Ändere ich dies händisch um, ist der User in der Lage sich einzuloggen. Desweiteren habe ich bislang nicht herausgefunden wie ich es schaffe, dass der user eine Email mit einem Aktivierungslink erhält, sowie der admin auch solch eine Email um den User freizuschalten. Zum Schluss soll der User dann noch die Info erhalten, dass er jetzt Freigeschalten wurde.

Mir fehlt momentan ein Ansatz auf den ich aufbauen kann. Bitte helft mir?!?

Wie kann ich dies umsetzen???

Hier mein TS:

plugin.tx_newloginbox_pi1 {
    email_from = name@testseite.com
    email_fromName = Absender Name
    replyTo = www.testseite.com
    showForgotPassword = 1
    }
    
    
config.sys_language_uid = 0
config.language = de
config.locale_all = german
config.typolinkLinkAccessRestrictedPages = NONE;




# Frontend User Registration-Parameter setzen
plugin.tx_srfeuserregister_pi1 {

    enableAdminNotifyConfirmation = 1
    enableEmailOnDelete = 1
    enableAdminNotifyOnApprove = 1
    enableAdminNotifyOnRefuse = 1
    enableAdminNotifyOnRegister = 1
    enablePreviewEdit = 1
    enableEmailConfirmation = 1
    enableEmailOnApprove = 1
    useShortUrls = 1
    enableAutoLoginOnConfirmation = 1
    enablePreviewRegister = 1
    email = myemail@mysite.com
    siteName = testseite 
    # Constant für sys ordner mit FE-User
    pid = 40
    registerPID = 60
    editPID = 61
    loginPID = 59
    pidTitleOverride = testseite
    userGroupUponRegistration = 3
    userGroupAfterConfirmation = 2
    useMd5Password = 0
}

und folgende Konstanten:

plugin.tx_newloginbox_pi1.storagePid = 40 #Id des  Sysordners mit den User
plugin.tx_srfeuserregister_pi1.userGroupUponRegistration = 3 #Gruppen-id nach Registrierung. In diesem Fall Id der Gruppe 'Kunde-unbestaetigt'
plugin.tx_srfeuserregister_pi1.userGroupAfterConfirmation = 2 #Gruppen-id nach Reg-Bestätigung. In diesem Fall Id der Gruppe 'Kunde'
plugin.tx_srfeuserregister_pi1.loginPID = 59
plugin.tx_srfeuserregister_pi1.registerPID = 60
plugin.tx_srfeuserregister_pi1.editPID = 61
plugin.tx_srfeuserregister_pi1.confirmPID = 62
plugin.tx_srfeuserregister_pi1.formFields = username, password, gender, first_name, last_name, status, date_of_birth, email, usergroup, address, city, zone, static_info_country, zip, telephone, language, title, company, www, module_sys_dmail_html, module_sys_dmail_category, comments, disable
plugin.tx_srfeuserregister_pi1.requiredFields = username,password,first_name,last_name,email,city,zip,address, telephone
plugin.tx_srfeuserregister_pi1.property = value

Ich hoffe ich habe es richtig erklärt wo mein Problem liegt.

sini ·

Hallo!

ich schick dir mal meinen Code zum Vergleich, vielleicht hilft dir das. Und ich hatte auch ein ganz blödes Problem, bei mir hat das ganze ähnlich wie bei dir funtktioniert, und das lag an den web.de und gmx.de Adressen, die haben die Nachrichten nicht weitergeleitet. Mit gmail funktioniert alles einwandfrei...

Mehr dazu hier:

http://jambage.com/index.php?id=202&tx_ttboard_pi_list[uid]=1905&cHash=9304f591f3

und Jetz noch der Code:

plugin.tx_srfeuserregister_pi1.formFields = username,password,gender,first_name,last_name,date_of_birth,email,address,city,zip,static_info_country
plugin.tx_srfeuserregister_pi1.requiredFields = username,password,gender,first_name,last_name,date_of_birth,email,address,city,zip,static_info_country
plugin.tx_srfeuserregister_pi1.email = xxx@gmail.com

plugin.tx_srfeuserregister_pi1.siteName = xxx.xxxx.de
## Ersetzen eingier Marker, zb in der email -- andernfalls wuerde der titel auf der seite sr_feuser_register Seite genommen
plugin.tx_srfeuserregister_pi1.linkToPIDAddButton = 1
## UID der Benutzergruppe nach abgeschlossener Registrierung
plugin.tx_srfeuserregister_pi1.userGroupAfterConfirmation = 1
## UID der Benutzergruppe waehrend der Registrierungsvorgangs
plugin.tx_srfeuserregister_pi1.userGroupUponRegistration = 2
plugin.tx_srfeuserregister_pi1.registerPID = 11
## PID der Seite mit dem Editierformular
plugin.tx_srfeuserregister_pi1.editPID = 13
## PID mit der LoginSeite
plugin.tx_srfeuserregister_pi1.loginPID = 14
## PID der Bestaetigungsseite
plugin.tx_srfeuserregister_pi1.confirmPID = 12
## PID der Seite, auf die gewechselt wird, nachdem der Benutzer sein Profil geaendert und gespeichert hat
plugin.tx_srfeuserregister_pi1.linkToPID = 12
## PID des SysOrdners mit den Benutzergruppen
plugin.tx_srfeuserregister_pi1.pid = 10
plugin.tx_srfeuserregister_pi1.pidTitleOverride = xxx.xxxxx.de
plugin.tx_srfeuserregister_pi1.usernameAtLeast = 5
plugin.tx_srfeuserregister_pi1.confirmInvitationPID = 0
plugin.tx_srfeuserregister_pi1.passwordAtLeast = 4
plugin.tx_srfeuserregister_pi1.enablePreviewEdit = 1

und das setup:

plugin.tx_srfeuserregister_pi1 {
  edit = 1
  edit.fields = name,email,password,address,city,zip,date_of_birth,telephone
  edit.evalValues {
    email = uniqueLocal, email
  }
# Create setup
  create = 1
  create.preview = 1
  create.fields = username,password,gender,first_name,date_of_birth,last_name,email,address,city,zip,static_info_country,telephone
  create.required = username,password,gender,first_name,date_of_birth,last_name,email,address,city,zip,static_info_country,telephone
create.overrideValues.hidden = 1
create.evalValues >
create.evalValues {
    email = uniqueLocal, email
  }
}

Vielleicht hilft dir das...

bix ·

Hallo, hab das so gelöst:

plugin.tx_srfeuserregister_pi1.enableAdminReview = 1
plugin.tx_srfeuserregister_pi1.enableEmailConfirmation = 1
plugin.tx_srfeuserregister_pi1.userGroupAfterAcceptation = 11
plugin.tx_srfeuserregister_pi1.allowUserGroupSelection = 0

enableAdminReview: Du musst die User Anmeldungen aktiv bestätigen
enableEmailConfirmation: Der Nutzer bekommt eine Mail zur Verifizierung der Mail-Adr.
userGroupAfterAcceptation: Nach deiner Bestätigung wird diese Gruppe (id) zugeordnet
allowUserGroupSelection: Verbietet automatische Zuordnung von Gruppen

ooPhil86oo ·

Also ich habe jetzt nach meinem urlaub wahrscheinlich neue Kraft 😉

Siehe da es geht :-D

Lsg.:

Konstanten:

plugin.tx_srfeuserregister_pi1.siteName = testseite
plugin.tx_srfeuserregister_pi1.formFields = username, password, first_name, last_name, status, date_of_birth, email, address, city, zone, zip, telephone, disable
plugin.tx_srfeuserregister_pi1.requiredFields = username,password,first_name,last_name,email
plugin.tx_srfeuserregister_pi1.registerPID = 60
plugin.tx_srfeuserregister_pi1.editPID = 61
plugin.tx_srfeuserregister_pi1.confirmPID = 97
plugin.tx_srfeuserregister_pi1.loginPID = 59
plugin.tx_srfeuserregister_pi1.enableAdminReview = 1
plugin.tx_srfeuserregister_pi1.userGroupUponRegistration = 3
plugin.tx_srfeuserregister_pi1.pid = 40
plugin.tx_srfeuserregister_pi1.confirmType = 
plugin.tx_srfeuserregister_pi1.userGroupAfterAcceptation = 2
plugin.tx_srfeuserregister_pi1.email = admin@testseite.de
plugin.tx_srfeuserregister_pi1.enableEmailAttachment = 1
plugin.tx_srfeuserregister_pi1.userGroupAfterConfirmation = 5
plugin.tx_srfeuserregister_pi1.confirmInvitationPID = 
plugin.tx_srfeuserregister_pi1.confirmType = 0
plugin.tx_srfeuserregister_pi1.useShortUrls = 1

Setup:

plugin.tx_srfeuserregister_pi1{
  enableEmailConfirmation = 1
  pid = 40
  loginPID = 59
  registerPID = 60
  confirmPID = 97
}
temp.selfregister < plugin.tx_srfeuserregister_pi1 

plugin.tx_newloginbox_pi1 {
    storagePid = 40
    email_from = admin@testseite.com
    email_fromName = testseite.de
    replyTo = www.testseite.de
    showForgotPassword = 1
    }
        
config.sys_language_uid = 0
config.language = de
config.locale_all = german
config.typolinkLinkAccessRestrictedPages = NONE;