Some update suggestions
-
Hi eventualo,
Have had to make a few modification to alo easymailer to get it to do what I want; just sharing with you in case you want to add these to code:
1. In pages/alo-easymail-subscr-page.php (see diff below). You might want to make these strings settable in settings.
87c87
< echo “<p>”.__(“To be removed from our mailing list click this button”, “alo-easymail”) . “</p>”;
—
> echo “<p>”.__(“To unsubscribe the newsletter for good click this button”, “alo-easymail”) . “</p>”;
100c100
< echo “<p>”.__(“You have been removed from our mailing list.”, “alo-easymail”).”</p>”;
—
> echo “<p>”.__(“Your subscription was successfully deleted. Bye bye.”, “alo-easymail”).”</p>”;2. [CUSTOM-LINK href=”https://www.abc.com” title=”Here”] doesn’t seem to work right; the generated text was not a valid anchor link. I modified the code just to force in what I want for now. didn’t try to really work out the bug
3. in alo-easymail-placeholders.php, around line 504, I modified the code so that if I import a mailing list, but those names are not users, the code will split the name string so I can still use [USER-FIRST-NAME]:
if ( isset( $recipient->firstname ) ) {
// $content = str_replace(“[USER-FIRST-NAME]”, stripslashes ( $recipient->firstname ), $content);
$temp = stripslashes ( $recipient->firstname );
$tempa = explode(” “, $temp);
$content = str_replace(“[USER-FIRST-NAME]”, $tempa[0], $content);So that way if I just want the 1st name I can get it out.
Thanks.
- The topic ‘Some update suggestions’ is closed to new replies.