By Wayne Booth on Thursday, 30 July 2015
Posted in General Issues
Replies 5
Likes 0
Views 432
Votes 0
Hi Guys,

I've created a user (called auto post) for my feed importer to post as, the import brings in 10 news stories every day, i would like my users not to received the email notifications from the posts created by the feed importer. i want the to continue the receive new blog post from other users just not from the feed import/auto post user.

any suggestions?

thanks
Wayne
Hey Wayne,

Which version of EasyBlog do you use? The code which I provided above is for EasyBlog 5 and we have added this as an option on 5.0.18 In other words, if you are on 5.0.18, you do not need such hacks.
·
Tuesday, 04 August 2015 23:29
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Wayne,

Please ignore my response earlier as I replied to the wrong thread. Currently there is no way to turn this off but you can modify the file /administrator/components/com_easyblog/includes/post/post.php and at line 1152 locate the codes below,


if ($this->isBeingSubmittedForApproval()) {


Replace it with,


if ($this->isBeingSubmittedForApproval() && !$this->isFromFeed()) {


I will try to add this as an option in the next release so that you can configure if the particular feed that is being imported should notify users or not.
·
Friday, 31 July 2015 01:23
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark

this file doesn't exsist

/administrator/components/com_easyblog/includes/post/post.php and at line 1152 locate the codes below

i can get to this folder: /administrator/components/com_easyblog/

but there is no includes folder
·
Tuesday, 04 August 2015 22:35
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks Mark, version 5.0.18 fixed this.
·
Wednesday, 05 August 2015 00:48
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Wayne,

You are most welcome. Glad that your issue has been resolved now.
·
Wednesday, 05 August 2015 10:26
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post