View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0019296 | phpList 3 application | Campaign Send Process | public | 23-06-18 11:22 | 14-01-19 14:01 |
Reporter | dparts | Assigned To | |||
Priority | normal | Severity | feature | Reproducibility | always |
Status | new | Resolution | open | ||
Product Version | 3.3.3 | ||||
Summary | 0019296: Add subscribe page id to links sent in mails (Patch inside) | ||||
Description | If we use multiple subscription pages (for example with different languages) we need to pass the ID of each subscription page to all links ([UNSUBSCRIBEURL], [CONFIRMATIONURL], [PREFERENCESURL]), otherwise we might get unwanted results. To add the ID we just need to change the function "getUserConfig" in defaultconfig.php. Here is my fix. Appreciate if we find this in new releases. | ||||
Tags | defaultconfig, Internationalisation, patch, translation | ||||
|
defaultconfig.php.diff (796 bytes)
778c778 < function getUserConfig($item, $userid = 0) --- > function getUserConfig($item, $userid = 0, $subscriptionpageid = 0) 818c818 < $value = str_ireplace('[UNSUBSCRIBEURL]', $url.$sep.'uid='.$uniqid, $value); --- > $value = str_ireplace('[UNSUBSCRIBEURL]', $url.$sep.'uid='.$uniqid.$sep.'id='.$subscriptionpageid, $value); 821c821 < $value = str_ireplace('[CONFIRMATIONURL]', $url.$sep.'uid='.$uniqid, $value); --- > $value = str_ireplace('[CONFIRMATIONURL]', $url.$sep.'uid='.$uniqid.$sep.'id='.$subscriptionpageid, $value); 824c824 < $value = str_ireplace('[PREFERENCESURL]', $url.$sep.'uid='.$uniqid, $value); --- > $value = str_ireplace('[PREFERENCESURL]', $url.$sep.'uid='.$uniqid.$sep.'id='.$subscriptionpageid, $value); |
|
You might be misunderstanding how this currently works. A subscribe page is associated with each subscriber that is used by the processing of the personal pages such as preferences. When a configuration item is specific to a subscribe page then it is retrieved by appending the subscribe page id, such as "unsubscribemessage:$id". |