Hello! Since i upgraded WordPress the function AutoSubscribe when new user regist. doesn't work. The email of new user infact doesn't appear in the list of post subscriber and they don't receive email anymore....Plaese help me! Thanks!
Hello! Since i upgraded WordPress the function AutoSubscribe when new user regist. doesn't work. The email of new user infact doesn't appear in the list of post subscriber and they don't receive email anymore....Plaese help me! Thanks!
I have the same problem. I have to manually add new subscribers !
I try to fix this error in functions.php which you will fine in wp-content\plugins\post-notification
if change
function post_notification_get_link(){
$page = get_option('post_notification_url');
if(is_numeric($page)) return get_permalink($page);
return $page;
}
with this
function post_notification_get_link(){
$page = "http://www.dhammada.net/post_notification_header-4/";
return $page;
}
where "http://www.dhammada.net" is my website and "post_notification_header-4" is register page for post notification.
It's only temporary solution. ^__^
I think the problem my come from "get_permalink($page)"
vacharaphol is correct. The page number is being returned instead of the url which is what is expected. To fix, do the following:
replace code from above (starting line 72) with:
/// returns a link to the Post Notification Page.
function post_notification_get_link(){
$page = get_option('post_notification_url');
if(is_numeric($page)) $the_page = get_permalink($page);
return $the_page;
}
Another problem you will likely find is that some hosts don't like the trailing & left on confurls in the email templates. To fix, just change this:
$confurl .= "code=$code&addr=" . urlencode($addr) . &;
to this:
$confurl .= "code=$code&addr=" . urlencode($addr);
This topic has been closed to new replies.