Newsletter subscribers cannot confirm subscription nor unsubscribe using links in eMails
- Status
- Closed
- Subject
- Newsletter subscribers cannot confirm subscription nor unsubscribe using links in eMails
- Version
- 1.9.x
- Category
- Error
- Feature
- Newsletters
- Submitted by
- nuzzy
- Lastmod by
- Jean-Marc Libs
- Rating
- Description
Auto-eMail is generated to subscriber using template confirm_newsletter_subscription.tpl which contains the following:
In order to confirm your subscription you must access the following URL:
{$url_subscribe}?confirm_subscription={$code} However,the url_subscribe truncates the php extension in the pagename shown in the email sent to subscriber as follows: tiki-newsletters.ph?confirm_subscription=someString, rather than tiki-newsletters.php?confirm_subscription=someString
Newsletter is generated to all subscribers containing unsubscribe message generated using template newsletter_unsubscribe.tpl which contains the following:
You can unsubscribe from this newsletter following this link:
href="{$ur
l_unsub}">{$ur l_unsub} But, the newsletter shows a truncated php extension in the pagename of the url_unsub as follows:
tiki-newsletters.ph?unsubscribe=someString, rather than tiki-newsletter.php?unsubscribe=someString
- Solution
May have something to do with variables called and passed from nllib.php. I do not have the php scripting and smarty skills to determine solution.
I did not fix this. I merely forced this to work. A better solution is needed.
1. This forces correction of the "unsubscribe" link included with each dispatched newsletter email.
In /lib/newsletters/nllib.php
Find function get_unsub_msg
Find this line in the function and insert a "p" where shown:
$url_unsub = $ur l_subscribe . 'p?unsubscribe=' . $code; 2. This forces correction of the "subscription confirmation" link included when someone subscribes to a newsletter and "confirm email" is set true.
In /templates/mail/confirm_newsletter_subscription.tpl
Insert a "p" in the last line as follows:
{$url_subscribe}p?confirm_subscription={$code} - Importance
- 5
- Priority
- 25
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 1857
- Created
- Thursday 03 July, 2008 02:56:51 UTC
by Unknown - LastModif
- Sunday 07 December, 2008 14:42:57 UTC