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?
Thanks!
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
osc_run_hook('item_contact_form');
Available for custom Osclass development. www.defected.dev
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 : https://github.com/navjottomer/osclass-spam-protection
Osclass Ver : 3.9.0
Please tell me how to solve this ,
[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. www.defected.dev
@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 http://amfearliath.tk/osclass-spam-protection/ but that domain is dead. Any security concern over this? Or maybe I found a bleeding edge copy others might like to have?
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 Osclass.org):
https://www.valueweb.gr/forums/osclass-free-plugins/osclass-free-spam-protection-plugin