I'm using the newest version: 2.21
See optout-reminder.php lines 66-74:
PHP Code:
if ($result == null)
{
eval(standard_error(fetch_error('error_unsubscribed_already',$vbulletin->options['contactuslink'])));
}
else
{
$db->query_write("UPDATE " . TABLE_PREFIX . "user SET rmoptout = 1 WHERE userid = '$userid' AND email = '$email'");
eval(standard_error(fetch_error('error_unsubscribe_done')));
}
Added:
I fixed it, I think, by editing the product-remindermail.xml file:
At lines 216-217, FIND:
Code:
<phrasetype name="Error Messages" fieldname="error">
<phrase name="error_unsubscribed_already" date="1269327058" username="administrator" version="2.0.1"><![CDATA[Our records indicate that your subscription to our mailing list has already been cancelled. Please <a href="{1}" rel="nofollow">contact an Administrator</a> if you believe you've reached this message in error.]]></phrase>
Add AFTER:
Code:
<phrase name="error_unsubscribe_done" date="1269327058" username="administrator" version="2.0.1"><![CDATA[You have been unsubscribed from future reminder emails.]]></phrase>
Does this look correct?