Anti Spam & Pro...
Clear all

Anti Spam & Protection System

6 Posts
5 Users
Posts: 16
Eminent Member
Topic starter

Hello guys,

I have a question regarding the Anti Spam & Protection System plugin.
It says in the plugin settings that it automatically hooks to all forms (ad, comment, contact etc.).
The problem I have is that for me, the contact user hook doesn't work.

So could you please tell me what is the hook that can be manually added to the theme for this plugin to work?


Posted : 15/04/2020 2:01 am
Posts: 614
Honorable Member Admin

By taking a quick look at the code, I saw there's a hook for item contact, not the regular contact page.

Anyways, the hook for item contact is


Available for custom Osclass development.

Posted : 18/04/2020 3:43 am
Posts: 2
New Member

when i installed this plugin , i got this error

The plugin generated 3198 characters of unexpected output during the installation. Output: "
( ! ) Warning: file_get_contents(): Filename cannot be empty in C:Program FilesVertrigoServwwwoc-contentpluginsosclass-spam-protection-masterclassesclass.spamprotection.php on line 159
Call Stack
# Time Memory Function Location
1 0.0006 400168 {main}( ) ...index.php:0
2 0.1524 12310400 CAdminPlugins->doModel( ) ...index.php:80
3 0.1600 12310680 Plugins::install( ) ...plugins.php:86
4 0.1706 13441080 Plugins::runHook( ) ...Plugins.php:287
5 0.1707 13441480 sprot_install( ) ...Plugins.php:42
6 0.1707 13441480 spam_prot->_install( ) ...backend.php:53
7 0.1707 13441480 file_get_contents ( ) ...class.spamprotection.php:159

Plugin link :
Osclass Ver : 3.9.0

Please tell me how to solve this ,

Posted : 02/07/2020 5:33 pm
Posts: 614
Honorable Member Admin

[member=237]james[/member] The plugin folder name is supposed to be "spamprotection", not "osclass-spam-protection-master". Rename it.

Available for custom Osclass development.

Posted : 01/10/2020 1:10 pm
Posts: 82
Trusted Member

@dftd  I too am using this plugin. No real problems but the version I have is 1.7.1.  When I followed the link directly to the github repo, the latest version I find there is 1.6.4.  Don't remember where I got it from.  The listed plugin site is but that domain is dead.  Any security concern over this?  Or maybe I found a bleeding edge copy others might like to have?

Posted : 05/01/2022 9:12 pm
Posts: 25
Eminent Member

That plugin only works with Osclass 3.9 and lower. NOT with Osclass 5. Even the fork Navjot did and tried to fix. It doesn't work right with 5.x. Too many issues.

As for releases, everything related is here (since Liath was an "internet" friend of mine the old days of

Posted : 06/01/2022 2:17 am