PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : email Template Problem


Harley
12.06.2003, 10:02
Morgen Vb-Team,

hab ein komisches Problem entdeckt:

Wenn ich daraus:

-> $bburl/showthread.php?threadid=$threadinfo[threadid]&goto=newpost

das mache:

$bburl/showthread.php?threadid=$threadinfo[threadid]&goto=newpost

dann kommt die eMail ohne Betreff an. Der Grund warum ich den Pfeil wegmache sind diverse Mailprogs die wenn der Pfeil weg ist die URL richtig anzeigen damit sie funktioniert.
Kann man da was machen oder nicht?

pogo
12.06.2003, 10:29
Jo, das ist uns bekannt.

Suche in admin/functions.php nach: // check templatesetid is loaded into cache, else use -1
if (!isset($mailcache["$touser[templatesetid]"]['email_notify']))
{
$emailmsg = $mailcache["-1"]['email_notify'];
}
else
{
$emailmsg = $mailcache["$touser[templatesetid]"]['email_notify'];
}

if (!isset($mailcache["$touser[templatesetid]"]['email_notify']))
{
$emailsubject = $mailcache["-1"]['emailsubject_notify'];
}
else
{
$emailsubject = $mailcache["$touser[templatesetid]"]['emailsubject_notify'];
}und ersetze es mit: // check templatesetid is loaded into cache, else use -1
if (!isset($mailcache["$touser[templatesetid]"]['email_notify']))
{
$emailmsg = $mailcache["-1"]['email_notify'];
}
else
{
$emailmsg = $mailcache["$touser[templatesetid]"]['email_notify'];
}

if (!isset($mailcache["$touser[templatesetid]"]['emailsubject_notify']))
{
$emailsubject = $mailcache["-1"]['emailsubject_notify'];
}
else
{
$emailsubject = $mailcache["$touser[templatesetid]"]['emailsubject_notify'];
}Siehe auch hier: http://www.vbulletin.com/forum/showpost.php?postid=436376&postcount=3

Harley
12.06.2003, 10:44
Alles klaro und vielen Dank für die schnelle Antwort :)