Advertisement:

Author Topic: [Free Plugin] Anti Spam & Protection System  (Read 87487 times)

Liath

  • issues
  • Hero Member
  • *
  • Posts: 1346
  • </html> the end is always near
[Free Plugin] Anti Spam & Protection System
« on: March 28, 2017, 02:33:11 am »

PREMIUM PLUGIN - Now available on Osclass Market for FREE!!!

Download here: https://market.osclass.org/plugins/security/anti-spam-protection-system_787


!!! See known issues on the end of this post !!!


This plug-in has been developed as a spam protection and security module. On the one hand, it detects the most spam on your site and marks it for you for further processing, on the other hand it secures your user accounts against unauthorized access.





The spam is not automatically deleted, it is only marked and displayed in your admin area, so that you can recognize it more quickly and decide for yourself what happens with it. This is intended to prevent you from accidentally deleting incorrectly marked ads that do not contain spam.

Spam protection for
  • Ads
    Here you can check for possible duplicates, check the MX record of the used e-mail address, add a bottrap, block e-mail addresses or hosters, define stopwords, and automatically remove unwanted ads.
  • Comments
    Here you can check the comments, whether links or links are in the title or comment, block email addresses or hosters, define keywords, and automatically remove unwanted comments
  • Contact E-mails
    Here you can activate a check of the contact messages to sellers, whether the message contains links, block email addresses or hosters, and define keywords


The security of the user accounts is ensured by a built-in login limit, which ensures that a user account is blocked after too many unsuccessful logon attempts and the user is notified accordingly by e-mail. All e-mails are easy to edit and could be self-designed with the built-in template editor. A link can also be installed, which allows the user to unlock his account again.

Safety Precautions for
  • User accounts
    Here you can activate and set the login limit. In addition, a bottrap can be added to the login form. You can also set whether the corresponding user should only be blocked or banned. To be able to use the bottraps in all forms, it may be necessary to edit one or two files. You can find a tutorial in the corresponding section.
  • Administrator accounts
    Here you can activate and set the login limit. In addition, a bottrap can be added to the login form. You can also set whether the corresponding user should only be blocked or banned.
  • Registrations
    Here you can activate a check for newly registered user accounts. You can determine, that specified e-mail addresses may be used exclusively or not at all. You can also check the e-mail address and the IP of the user at StopForumSpam, if one of them is listed as a spammer.
  • Account Cleanup
    If you have constantly user accounts which are not used, you can have them automatically deleted after a fixed interval. You also have the option to search user accounts and remove unwanted user accounts.


There are inbuild some tools, to help you to control your accessibility and your security. This tools can block or control whole user groups and keep an eye on your file system integrity.

Tools for
  • Good / Bad users
    For example, you can prohibit specific users from publishing new ads, write comments or send contact messages to sellers. On the other hand, you can also free selected users from the spam check.
  • IP Ban list
    Here you can save IP's that you want to deny access to your page. In addition, you can still determine where the blocked users are forwarded.
  • TOR Network Control
    Here you can control, if users of the TOR Network are allowed to use your page. You have control about the actions they can do or not.
  • File system monitor
    This tool will help you to take control over your files. If any change are happen, you will be informed about that.
  • Admin security (from Version 1.7.5)
    This protection keeps an eye on your admin accounts. When any changes are happen to your admin accounts (new, changed or deleted account) you will be informed about that.


So that you can use the plugin optimally, there is the possibility to adjust the appearance and behavior. You can determine how you are made aware of suspicious activities and where the appropriate hints appear.

If you are running several OSClass pages, you can easily export all settings and import them again on all other pages. This can save a lot of time.

To get an overview of the activities of the plugin, everything is stored in a global log. There you can see whether ads, comments or contact messages have been blocked, if user or administrator accounts have been blocked and for what reason something has happened. The log can be deleted automatically after an adjusted interval or at any time manually.

A tutorial on how to use and operate the plugin can be found in the help for the plugin. There everything is explained, but actually the plugin is self-explanatory.





Known issues



Big thanks to Aficionado, TangoX, SteveJohnson, dev101 for your help and support
« Last Edit: September 26, 2017, 03:16:25 am by Liath »

BritWeb

  • Hero Member
  • *****
  • Posts: 770
  • If it ain't broke, don't fix it.
Re: [Plugin] Spam Protection
« Reply #1 on: March 29, 2017, 01:43:33 am »
Looks great! Should give it a go.

Many thanks for your hard work, Liath


XeqtR

  • Newbie
  • *
  • Posts: 21
Re: [Plugin] Spam Protection
« Reply #2 on: April 02, 2017, 11:01:04 pm »
Hi, I tried installing the plugin on osclass 3.0.1 and after hitting isntall, this error came up:

Fatal error: Can't use method return value in write context in /home/sportexd/public_html/osclass/oc-content/plugins/spamprotection/classes/class.spamprotection.php on line 249

Can you please help. I really need a spam protection plugin.

Thank you!

Aficionado

  • Guest
Re: [Plugin] Spam Protection
« Reply #3 on: April 03, 2017, 02:31:21 am »
Hi, I tried installing the plugin on osclass 3.0.1 and after hitting isntall, this error came up:

Fatal error: Can't use method return value in write context in /home/sportexd/public_html/osclass/oc-content/plugins/spamprotection/classes/class.spamprotection.php on line 249

Can you please help. I really need a spam protection plugin.

Thank you!

I think you run an old version of Osclass (3.0.1) and that plugin is not compatible with a so old version.

Liath

  • issues
  • Hero Member
  • *
  • Posts: 1346
  • </html> the end is always near
Re: [Plugin] Spam Protection
« Reply #4 on: April 03, 2017, 06:28:23 am »
it's not depend on the osclass version i think, but you should urgently upgrade it to the newest version...

you could try to change some lines of code in the given file:


search for:
Code: [Select]
        // Check for blocked mailaddresses
        if ($this->_get('sp_blocked') == '1' && !empty($this->_get('blocked'))) {
            if ($this->_checkBlocked($item['s_contact_email'])) {
                return array('params' => $item, 'reason' => 'Blocked E-Mail-Address found. Please check this ad manually');   
            }
        }         
       
        // Check for blocked mailaddress tld
        if ($this->_get('sp_blocked_tld') == '1' && !empty($this->_get('blocked_tld'))) {
            if ($this->_checkBlockedTLD($item['s_contact_email'])) {
                return array('params' => $item, 'reason' => 'Blocked E-Mail-Address TLD found. Please check this ad manually');   
            }
        }


and replace it with:
Code: [Select]
        // Check for blocked mailaddresses
        $blocked = $this->_get('blocked');
        if ($this->_get('sp_blocked') == '1' && !empty($blocked)) {
            if ($this->_checkBlocked($item['s_contact_email'])) {
                return array('params' => $item, 'reason' => 'Blocked E-Mail-Address found. Please check this ad manually');   
            }
        }         
       
        // Check for blocked mailaddress tld
        $blocked_tld = $this->_get('blocked_tld');
        if ($this->_get('sp_blocked_tld') == '1' && !empty($blocked_tld)) {
            if ($this->_checkBlockedTLD($item['s_contact_email'])) {
                return array('params' => $item, 'reason' => 'Blocked E-Mail-Address TLD found. Please check this ad manually');   
            }
        }




@Aficionado
can you contact me please?
« Last Edit: April 03, 2017, 07:12:55 am by Liath »

Aficionado

  • Guest
Re: [Plugin] Spam Protection
« Reply #5 on: April 03, 2017, 10:34:15 am »



@Aficionado
can you contact me please?

Sure, if you tell me how.

Aficionado

  • Guest
Re: [Plugin] Spam Protection
« Reply #6 on: April 03, 2017, 06:06:34 pm »
it's not depend on the osclass version i think, but you should urgently upgrade it to the newest version...


can you contact me please?

If it is not an Osclass old version problem, then it is a problem with an old PHP version (pre 5.5).

Liath

  • issues
  • Hero Member
  • *
  • Posts: 1346
  • </html> the end is always near
Re: [Plugin] Spam Protection
« Reply #7 on: April 03, 2017, 06:52:51 pm »
If it is not an Osclass old version problem, then it is a problem with an old PHP version (pre 5.5).
Yes, i think so...


Sure, if you tell me how.
Idk... is it allowed to post mailaddresses here? its reall hard to go in contact with the member here  :o
you could use.... "the name of my blog"@gmx.de
« Last Edit: April 03, 2017, 06:54:36 pm by Liath »

mandi007

  • Full Member
  • ***
  • Posts: 204
Re: [Plugin] Spam Protection
« Reply #8 on: April 05, 2017, 08:47:08 am »
Quote
Plugin couldn't be installed because it triggered a fatal error

this is the error i receive after trying to install this plugin....no other error shows like this line have error or something like that....

my osclass is 3.6.1 and PHP version: 5.4.45

please help me to solve it......

Aficionado

  • Guest
Re: [Plugin] Spam Protection
« Reply #9 on: April 05, 2017, 12:37:06 pm »
Quote
Plugin couldn't be installed because it triggered a fatal error

this is the error i receive after trying to install this plugin....no other error shows like this line have error or something like that....

my osclass is 3.6.1 and PHP version: 5.4.45

please help me to solve it......

PHP 5.4 is 2012. Update to 5.6 or later and try again.

mandi007

  • Full Member
  • ***
  • Posts: 204
Re: [Plugin] Spam Protection
« Reply #10 on: April 05, 2017, 02:18:51 pm »
will updating can cause any error to my current website or it will not

Aficionado

  • Guest
Re: [Plugin] Spam Protection
« Reply #11 on: April 05, 2017, 02:26:00 pm »
will updating can cause any error to my current website or it will not

"Updating" php is usually a click in Cpanel or an extra line in .htaccess, both can be reverted easily.

And no, Osclass runs fine upto PHP 7.0.17 (not sure with PHP 7.1).

mandi007

  • Full Member
  • ***
  • Posts: 204
Re: [Plugin] Spam Protection
« Reply #12 on: April 05, 2017, 02:46:48 pm »
does upgrading php alone is enough or do i have to install any dependency .....

Aficionado

  • Guest
Re: [Plugin] Spam Protection
« Reply #13 on: April 05, 2017, 02:52:38 pm »
does upgrading php alone is enough or do i have to install any dependency .....

What kind of hosting plan do you have ? Shared ?

mandi007

  • Full Member
  • ***
  • Posts: 204
Re: [Plugin] Spam Protection
« Reply #14 on: April 05, 2017, 02:56:32 pm »
vps