[TYPO3-dev] Mysterios RDCT
Tapio Markula
tapio.markula at xetpoint.fi
Wed Oct 17 14:47:14 CEST 2007
Mathias Schreiber [TYPO3] kirjoitti:
Mathias Schreiber [TYPO3] kirjoitti:
> Tapio Markula schrieb:
>> ?RDCT=490d6dfa342df53e21bd
>> type links don't work - why they have orinally generated???
>
> They are created to track clicks from the dmailer.
> But something seems weird, becuase our plaintext newsletters always put
> the full URL in front of the RDCT (Redirect) parameter.
>
> Could you post a short roundup of your setup?
>
>
> Tapio Markula schrieb:
>> ?RDCT=490d6dfa342df53e21bd
>> type links don't work - why they have orinally generated???
>
> They are created to track clicks from the dmailer.
> But something seems weird, becuase our plaintext newsletters always put
> the full URL in front of the RDCT (Redirect) parameter.
>
> Could you post a short roundup of your setup?
>
>
tcdirectmail installed
TS config:
config.notification_email_urlmode=
doesn't work - I found finally where defined and I think that I just
hack the code
function
substUrlsInPlainText($message,$urlmode='76',$index_script_url='') {
/*
// Substitute URLs with shorter links:
$urlSplit=explode('http://',$message);
reset($urlSplit);
while(list($c,$v)=each($urlSplit)) {
if ($c) {
$newParts = split('[[:space:]]|\)|\(',$v,2);
$newURL='http://'.$newParts[0];
switch((string)$urlmode) {
case 'all':
$newURL=t3lib_div::makeRedirectUrl($newURL,0,$index_script_url);
break;
case '76':
$newURL=t3lib_div::makeRedirectUrl($newURL,76,$index_script_url);
break;
}
$urlSplit[$c]=$newURL.substr($v,strlen($newParts[0]));
}
}
$message=implode('',$urlSplit);
*/
return $message;
}
that should just making the whole system ignored?
More information about the TYPO3-dev
mailing list