How to install the CleanTalk Anti-Spam Solution in Bitrix
1. Download the archive.
2. Unzip the downloaded archive. You will see two archives of different character encoding. Pick the one you need and unzip it. You will get the folder "cleantalk.antispam", upload it in "/bitrix/modules". The end result should be "/bitrix/modules/cleantalk.antispam".
3. On the Bitrix Administrator Panel go to "Marketplace —> Installed Solutions" page. Click the triple equals sign in the row with the solution "Antispam w/o CAPTCHA by CleanTalk" and choose "Install".
4. After the successful solution installation go to "Settings —> System settings —> Module settings", in the pop-down menu choose "Antispam w/o CAPTCHA by CleanTalk".
5. Copy the access key from your CleanTalk Control Panel and paste it in the "Access key" field, setup the anti-spam solution and press the button "Save".
Do a test registration or post a test comment using the blacklisted e-mail firstname.lastname@example.org.
To test if SpamFireWall is working just add /?sfw_test_ip=10.10.10.10 to your site name. Example
www.yoursitename.domain/?sfw_test_ip=10.10.10.10 (you must see blocking screen)
Attention! You should test SFW with incognito mode switched on. To enable incognito mode press Ctrl+Shift+N for Chrome, Opera и Safari browsers; press Ctrl+Shift+P for Firefox, Internet Explorer and Microsoft Edge. A full guide to enable Incognito mode is here: https://www.wikihow.com/Activate-Incognito-Mode
Note! We can't guarantee that custom templates will be modified. This can lead to malfunctions of the cache in composite mode.
You can add the needed code in the file footer.php of the template:
<?php BitrixMainPageFrame::getInstance()->startDynamicWithID("area"); if(CModule::IncludeModule("cleantalk.antispam")) echo CleantalkAntispam::FormAddon(); BitrixMainPageFrame::getInstance()->finishDynamicWithID("area", "Loading..."); ?>
How to Add Website to Cleantalk Anti-Spam Dashboard
Please, use this guide to add website to CleanTalk Anti-Spam Dashboard: https://cleantalk.org/help/add-website
Congratulations. Anti-spam is installed!