By Michael Martin on Tuesday, 12 August 2014
Posted in Technical Issues
Replies 7
Likes 0
Views 784
Votes 0
I am not sure what is going on but it seems that all of a sudden the notification emails are not being sent out. If i click on the notification link in the back-end they are sent out. However until recently they were being handled by a cron job.

I am currently running the following.
Joomla 3.3.3
EasyBlog 3.9.17809
Hello Michael,

Can you provide us your FTP access so we can debug it in your file. It seems like it doesn't trigger the notify function when publishing a blog.
·
Tuesday, 12 August 2014 10:21
·
0 Likes
·
0 Votes
·
0 Comments
·
Requested info is attached.
·
Wednesday, 13 August 2014 04:53
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Michael,

I've re-checked your site and seems like the blog posted is in private (Viewable by registered members only) . As you can see here: http://screencast.com/t/O9FpsEIb12ab . Whenever you set this to only registered members can view, Easyblog will consider this as private blog and will not send the email. The logic is, let say you have guest subscribed to your blog and received the email, he/she will not be able to view the blog post because its private.
·
Wednesday, 13 August 2014 12:41
·
0 Likes
·
0 Votes
·
0 Comments
·
I see what you are saying. However the main blog postings are for members ONLY. All registered club members are listed as subscribers. This is exactly what we want so that private communications are just that private. Is there some way to have it set up so that EB sends out the notifications to the members?
·
Wednesday, 13 August 2014 20:43
·
0 Likes
·
0 Votes
·
0 Comments
·
If you are writing on the front end, you could edit the file /components/com_easyblog/controllers/dashboard.php and at line 1038 locate the block of codes,


// Do not send out emails when the post is scheduled to post in future
if( $isNew && !$blog->private && $blog->published != POST_ID_SCHEDULED )
{
$blog->notify( $under_approval, $blog->published );
}


Replace it with,


// Do not send out emails when the post is scheduled to post in future
if( $isNew && $blog->published != POST_ID_SCHEDULED )
{
$blog->notify( $under_approval, $blog->published );
}
·
Wednesday, 13 August 2014 23:42
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you for your fast response. I will try the code that you included. I was wondering if it would be possible to have in the "Settings" the ability to choose who gets the notifications based on public and private blog categories not the posts? I think that using Joomla's built in Groups support would be a good way to go rather then going by whether or not the post is public or private.
·
Thursday, 14 August 2014 01:26
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Michael,

Thanks for the suggestion. We will discuss about this logic with our team and see how it goes.
·
Thursday, 14 August 2014 11:21
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post