Zum Inhalt springen

Registration: Keine Bestätigung

Erstellt am 27. Juli 2005 · 2 Antworten · letzte Antwort am 28. Juli 2005

Tags: Frontend-Benutzer, Direct Mail, Frage

hardcoder ·

Hallo,

Nach betätigung des Bestätigungslinks aus der Anmeldemail erreicht man eine Seite die diesen Inhalt zeigen sollte:

<!-- ###TEMPLATE_SETFIXED_OK### begin -->
<div class="DMAIL">
###GW1B###Ihre Registrierung wurde mit folgenden Angaben bestätigt.###GW1E###<br />
<br />
###GW2B###

Name: ###FIELD_name###<br />
Email: ###FIELD_email###

###GW2E###
</div>
<!-- ###TEMPLATE_SETFIXED_OK### end-->

tut sie aber nicht ... die stelle in der dieser Content erscheinen sollte ist (im HTML quellcode) leer.

Welche Infos braucht Ihr um mir evtl. helfen zu können?

Vielen lieben Dank

JÖrg

hardcoder ·

Dann versuch ich das mal so:

TSConfig -> Dmail Sysfolder

## CONFIGURATION of the direct mail module:

mod.web_modules.dmail {
  from_name = FROM NAME
  from_email= newsletter@www.mydomain.de
  organisation = ORGANISATION NAME
  replyto_email = newsletter@www.mydomain.de
  replyto_name = FROM NAME

  plainParams = &type=99
  HTMLParams = 

    # UID's of the tt_address records to use for test-sending:
  test_tt_address_uids = 2040,2041

    # table name of a userdefined table similar to tt_address (same fields) which may be used for distribution also.
  userTable = 

  enablePlain = 1
  enableHTML = 1
 
  http_username = 
  http_password = 
  sendOptions=3

  categories {
    0 = Pressemeldungen
    1 = Terminkalender
    2 = Terminhinweise
    3 = Sammelnewsletter
    4 = Blick
  }

}
 

mod.web_dmail.test_dmail_group_uids=1,2
mod.web_modules.dmail.categories.0=Pressemeldungen
mod.web_modules.dmail.categories.1=Terminkalender
mod.web_modules.dmail.categories.2=Terminhinweise
mod.web_modules.dmail.categories.3=Sammelnewsletter
mod.web_modules.dmail.categories.4=Blick
mod.web_modules.dmail.sendOptions=3
mod.web_modules.dmail.long_link_mode=1
mod.web_modules.dmail.quick_mail_encoding=base64
mod.web_modules.dmail.direct_mail_encoding=base64
mod.web_modules.dmail.enableHTML=1
mod.web_modules.dmail.test_tt_address_uids= 2040,2041

Constants:

plugin.feadmin.dmailsubscription{
  pid = 8 # dmail-sysfolder
  file.templateFile = fileadmin/templates/fe_admin_dmailsubscrip.tmpl
  wrap2 = <b>|</b>
  emailTitle = Anrede
}

plugin.feadmin.dmailsubscription {
  email = FROM
  emailName = FROMNAME
}


plugin.alt.plaintext {
    # cat=plugin.plaintext/file; type=file[html,htm,tmpl,txt]; label= Template File for plaintext version: &type=99 defines a printer friendly design for page content. This template file lets you define the position of page titles and the content.
  file.template = fileadmin/templates/plaintext_content.tmpl

  siteUrl = http://www.mydomain.de/
}

Setup:

plugin.feadmin.dmailsubscription >
plugin.feadmin.dmailsubscription = USER_INT

plugin.feadmin.dmailsubscription{
  setfixed{
    approve._FIELDLIST = uid,pid
    DELETE._FIELDLIST = uid,pid
    hidden=0
  }

  edit.fields = name, email, title, module_sys_dmail_category, module_sys_dmail_html
  edit.required = name, email, title

  create.fields = name, email, title,module_sys_dmail_category, module_sys_dmail_html
  create.required = name, email, title

  email.fromTitle = {$plugin.feadmin.dmailsubscription.emailTitle}

}


plugin.feadmin.dmailsubscription {
  userFunc = user_feAdmin->init
  includeLibs = media/scripts/fe_adminLib.inc
  templateFile ={$plugin.feadmin.dmailsubscription.file.templateFile}

  # Global wraps
  wrap1.wrap = {$plugin.feadmin.dmailsubscription.wrap1}
  wrap2.wrap = {$plugin.feadmin.dmailsubscription.wrap2}
  color1.wrap = {$plugin.feadmin.dmailsubscription.color1}
  color2.wrap = {$plugin.feadmin.dmailsubscription.color2}
  color3.wrap = {$plugin.feadmin.dmailsubscription.color3}

  // Tables + Commands
  table = tt_address


  delete = 1
  defaultCmd=create

  // Info-mail setup
  infomail = 1
  infomail.default {
    label = FORGOTPASSWORD
  }

  // Edit setup
  edit = 1
  edit.evalValues {
    email = uniqueLocal, email
  }

  // Create setup
  create = 1
  create.preview = 0
  create.noSpecialLoginForm = 1
    # Initially hide the user until he approves!
  create.overrideValues.hidden = 1
  create.evalValues {
    email = uniqueLocal, email
  }

  authcodeFields = uid
  authcodeFields.addKey = 
  authcodeFields.addDate = 

  evalErrors.email.uniqueLocal = Sie sind bereits mit dieser Email-Adresse registriert.
  evalErrors.email.email = Es wurde keine korrekte Email-Adresse angegeben.

  parseValues.module_sys_dmail_category = checkArray,setEmptyIfAbsent 
  parseValues.module_sys_dmail_html = setEmptyIfAbsent 
  pid = {$plugin.feadmin.dmailsubscription.pid}

  email.from = {$plugin.feadmin.dmailsubscription.email}
  email.fromName = {$plugin.feadmin.dmailsubscription.emailName}
  email.admin = {$plugin.feadmin.dmailsubscription.email}
  email.field = email
}

Templates in Include Static des dmail - basis template (das insgesamt so via "Include basis template" auf der rootpage eingebunden wird):

plugin.feadmin.dmailsubscription
plugin.alt.plaintext

Wie gesagt: Die neuregistrationen landen alle im richtigen folder. Die user können Ihr Profil editieren und auch Ihr Abo löschen. Das EINZIGE was nicht geht ist das ... naja steht ja ganz oben ;-)

Vielen dank für JEDEN Tipp

hardcoder ·

Hilf Dir selbst ... hilfste Dir am besten ...

.../media/scripts/fe_adminLib.inc

Z 1102

statt:

...
	function procesSetFixed()	{
		if ($this->conf['setfixed'])	{

...

das hier ...

...
	function procesSetFixed()	{
		if ($this->conf['setfixed.'])	{

...

Danke an alle die sich die Mühe gemacht haben ...