By Phivos on Thursday, 24 March 2016
Posted in Technical Issues
Likes 0
Views 476
Votes 0
Dear support,

Once we post a post dated blog, for example the blog to be published in 3 hours or even in 10 minutes from now, then once this is published the user is not informed through an email that his blog has been approved and published.

In fact the email is sent twice to the site's email as per the attached photo. We show 3 examples of postdated blogs. We use to set blogs to be published on the homepage every 3 hours, so we use this function a lot. But the user is not notified correctly through an email.

The email notification works correctly if the blog is not post dated but published immediately upon approval.

Regards,
Hey Phivos,

I am really sorry for the delay of this reply as it is a weekend for us here. I have just tried this locally and it does send out notification emails once the blog post is published.

I also checked your site and there are only subscribers who subscribed to categories. Did you post them on the appropriate categories?
·
Sunday, 27 March 2016 21:24
·
0 Likes
·
0 Votes
·
0 Comments
·
Dear Mark,

The problem is that if I create a post dated blog, I receive a notification email that my blog is pending moderation by the site admin. Once the site admin approves the new blog no email is sent to the user as it is a post dated blog. But once the blog is published i.e. some hours later, two notification emails are sent to the site's email instead of one notification email that should be sent to the site's email and one to the user informing him that his new blog has been approved and published. This happens only when the new blog is post dated.

If the new blog is published the same time, then the email notification to the user is sent correctly.

Regards,
·
Sunday, 27 March 2016 21:32
·
0 Likes
·
0 Votes
·
0 Comments
·
Hm, do you mean you schedule it to be moderated by the admin? Can you please list the steps taken to reproduce this problem?
·
Sunday, 27 March 2016 21:38
·
0 Likes
·
0 Votes
·
0 Comments
·
Dear Mark,

Yes, the steps are:

1. The user creates a new blog post with EasyBlog and sets the blog to be published in 30 minutes

At this point an email is sent to the administrator informing him that a new post has been submitted and an email is sent to the user informing him that his new blog post is pending moderation.

2. The administrator approves the article.

At this point no email is sent.

3. After 30 minutes, the blog post is published.

At this point, two emails are sent to the administrator. No email is sent to the user informing him that his new blog post is approved and published.


You can reproduce the above with a 5 or 10 minute future post time.

Regards,
·
Sunday, 27 March 2016 21:45
·
0 Likes
·
0 Votes
·
0 Comments
·
I have applied some fix in this file -> JoomlaFolder/administrator/components/com_easyblog/includes/post/post.php and see how it goes?
·
Monday, 28 March 2016 23:46
·
0 Likes
·
0 Votes
·
0 Comments
·
Dear Arlex,

The issue is not fixed. Please check the attached photo. The last post was a future posted blog.

Regards,
·
Tuesday, 29 March 2016 02:31
·
0 Likes
·
0 Votes
·
0 Comments
·
By mistake I circled wrong emails in the second example. These are your test emails that have been sent again both of them to our email and the one to your email. So in your test blog the issue was there.
·
Tuesday, 29 March 2016 02:33
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey there,

I am sorry for the delay of this reply,

By mistake I circled wrong emails in the second example. These are your test emails that have been sent again both of them to our email and the one to your email. So in your test blog the issue was there.

You can ignore my test post is because after I can reproduce in your site, then I test it in my locally and replace the fix file to your site. In other word, my test post and email is not correct, because these test post is tested before I apply the fix in your site.

By the way, I've applied some fix in this file -> JoomlaFolder/administrator/components/com_easyblog/includes/scheduler/scheduler.php

Can you give it a try now?
·
Tuesday, 29 March 2016 12:00
·
0 Likes
·
0 Votes
·
0 Comments
·
Dear Arlex,

It seems that everything is correct right now. Thank you.

You applied fix in the following 2 files. In order to avoid the issue appearing again on the next EasyBlog update, we are going to save these 2 files and upload them to these locations after the update. Is that correct?

JoomlaFolder/administrator/components/com_easyblog/includes/post/post.php
JoomlaFolder/administrator/components/com_easyblog/includes/scheduler/scheduler.php

Regards,
·
Tuesday, 29 March 2016 20:19
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Phivos,

Yes, that is correct. I believe Arlex has already fixed this issue internally so you don't have to worry about this
·
Tuesday, 29 March 2016 22:16
·
0 Likes
·
0 Votes
·
0 Comments
·
Dear Mark,

Ok thank you.

Regards,
·
Wednesday, 30 March 2016 02:26
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Pivos,

You are most welcome. Glad to hear that your issue has been resolved now.

As a gentle reminder, kindly start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiry. I will lock and mark this thread as resolved.
·
Wednesday, 30 March 2016 10:43
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post