By Brent Williams on Friday, 16 January 2015
Replies 23
Likes 0
Views 1.3K
Votes 0
Every so often a spammer takes the time to register for the site to post a spam blog. We have a fair amount of subscribers now, so by the time we have found the blog, it has often been sent out. So it would be helpful to have email notifications not work for first time blogs. (As an administrator, I would still like a notification so that I can quickly identify the blog if it is spam)

Or maybe there is some other way to create rules specific to first time bloggers to ensure that their impact is minimized?

I don't want to create additional moderation, as I believe people lose faith in sites that don't immediately publish their posts.

What do you think?
Hello Brent,

I'm sorry but currently there is no option to to this. However, I've modified the attached file to check if the post is the first post for that user, it will not send the notification. Please replace the attached file in: ../administrator/components/com_easyblog/tables/blog.php. Please give it a try.
·
Friday, 16 January 2015 17:11
·
0 Likes
·
0 Votes
·
0 Comments
·
Worked great! Only one issue - now admins don't get a notification, which means the spam blog could stay up there much longer because we wouldn't see it immediately.

If that is not possible, it might make more sense to do partial moderation, such as adding an option in ACL that says, "Moderate 1st Post From User".

I realize that is asking more than simple support, so maybe that should just be considered a feature request...
·
Sunday, 18 January 2015 05:24
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Brent,

Can you please try the attached file instead?
·
Sunday, 18 January 2015 09:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Perfect! Worked exactly as anticipated. This will completely solve the spam problem - I appreciate it.
·
Sunday, 18 January 2015 13:18
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Brent,

You're welcome.
·
Sunday, 18 January 2015 21:57
·
0 Likes
·
0 Votes
·
0 Comments
·
By the way, after I posted this thread, I suddenly got a lot of spam posts on my site - many more than usual. I am guessing that spammers are using your forum to find sites using EasyBlog. I don't know if there is anything that can be done on that front, considering it is the users who put their site info down, but just thought you would want to know.
·
Tuesday, 20 January 2015 23:37
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Brent,

Thanks for writing in. However, I've go thru this post and found that you have not included your site details here hence there is no way spammers can have your details from this post.
·
Tuesday, 20 January 2015 23:46
·
0 Likes
·
0 Votes
·
0 Comments
·
My site details were in other posts of mine, however.

And it is possible that it would be a coincidence, but that would be a crazy coincidence. I get a spam blog post maybe once a week, if that. After I posted here, I got 5 in two days.

Again, I'm not saying that is your fault at all. Just that I'm pretty sure that is why I had the sudden surge in spam.
·
Tuesday, 20 January 2015 23:57
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Brent,

We will have a look on this and see if there is any user that report the same issue about spammer on their site.
·
Wednesday, 21 January 2015 10:24
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Nik,
I just noticed something. This works GREAT for normally posted blogs. But if a blogger has it set to auto-import, then it treats the blogs as if they were the blogger's first blog, and only sends the admin an email.
·
Tuesday, 10 February 2015 05:39
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Brent,

I'm sorry but I don't get you. Can you elaborate more on this? How to replicate it?
·
Tuesday, 10 February 2015 10:10
·
0 Likes
·
0 Votes
·
0 Comments
·
Sure, let me try to elaborate. The code you all provided above made it so that a new blogger would not have their blogs distributed by email to all the subscribers. The only person who would receive that first blog was the admin. Once a blogger had a second, third, etc blog, however, it would get emailed to subscribers like normal.

That all worked for those that publish blogs normally. However, for bloggers who we set up in the Feed Importer, when their blog gets published, it gets treated as if it is their first blog - the only person who gets an email notification is the admin. Subscribers are not getting email notifications for these types of blogs, even though they have many blogs in the system.

Does that help explain?
·
Tuesday, 10 February 2015 23:08
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Brent,

What you have actually requested is not something that is achieve-able in EasyBlog. What you have requested is like a "self learning" anti spam system where the system will intelligently know if the user is posting their first post or not. It is definitely a good idea which we could improvise in the future.

However, as it is right now, your best bet would be to enable moderation for user groups that you do not trust because at the end of the day if I am the spammer and I understood your publishing behavior, I would always post my first post as a legitimate post and subsequent posts as spams. Spammers are getting smarter and smarter each day.
·
Tuesday, 10 February 2015 23:40
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for the feedback, Mark. Actually, the original code you all gave on this thread was absolutely perfect for slowing down spam, with the exception of this little problem.

Just out of curiosity, the code you all pulled the blog count by user through this code:

$blogModel->getBlogPostsCount($this->created_by);

Is it possible to similarly pull whether the blog is coming from the Feed Importer? If so, I could basically adjust the code later on that says if the count is >1 OR if the blog came from the Feed Importer, go ahead and send email notifications.

Does that make sense?
·
Wednesday, 11 February 2015 00:15
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Brent,

I'm sorry but there is no way to check whether the blog is from feed importer or not. However, I believe the author of the feed importer item will not be changed, right? If so, we can add the checking that if the blog is created by that particular user, Easyblog will send the notification to subscribers.
·
Wednesday, 11 February 2015 00:21
·
0 Likes
·
0 Votes
·
0 Comments
·
That would technically work, but those users change over time...

Oh well. I appreciate the help on this!
·
Wednesday, 11 February 2015 00:29
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Brent,

Do you still need this customization?
·
Wednesday, 11 February 2015 10:11
·
0 Likes
·
0 Votes
·
0 Comments
·
It sounds like there is no easy fix to this, Nik, so I suppose not.
·
Wednesday, 11 February 2015 11:39
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Brent,

Let me know if you face any issue in the future.
·
Wednesday, 11 February 2015 11:56
·
0 Likes
·
0 Votes
·
0 Comments
·
For anyone reading this thread, this may be a nice update: I just realized that you can manually click to notify subscribers (I think subscribers?) of a blog post. So even though it isn't automatic, you can still implement the update explained above and then just manually notify for any bloggers that auto-post.
·
Thursday, 23 April 2015 22:43
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Brent,

Thanks for the heads up. So far we do not have any plan to implement this system in the next future release of easyblog yet.

I just realized that you can manually click to notify subscribers (I think subscribers?) of a blog post.

Yes you can manually click to notify the subscribers of the blog
·
Friday, 24 April 2015 12:34
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Ezrul,
I wasn't asking for anything - just helping other users who may have the same issue as me.
·
Saturday, 25 April 2015 06:08
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Brent Williams,

Thanks for heading up on this.
·
Saturday, 25 April 2015 15:19
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post