Depends on what you're wanting to use from CB AntiSpam. If it's just the Captcha, sure. If it's the other auto blocking features then it gets a lot more complicated. As for the Captcha it's basically done entirely using 2 triggers. See the below on how to use it.
Display:
IN: components/com_comprofiler/plugin/user/plug_cbprofilebook/templates/default/guestbook.php
ON: Line 64
Validate
IN: components/com_comprofiler/plugin/user/plug_cbprofilebook/component.cb.profilebook.php
ON: Lines 362 - 366
Another example as follows using a core CB plugin.
Display:
IN: components/com_comprofiler/plugin/user/plug_cbblogs/templates/default/blog_edit.php
ON: Lines 120 - 139
Validate
IN: components/com_comprofiler/plugin/user/plug_cbblogs/component.cbblogs.php
ON: Lines 281 - 287
Kyle (Krileon) Community Builder Team Member Before posting on forums:
Read FAQ thoroughly
+
Read our Documentation
+
Search the forums CB links:
Documentation
-
Localization
-
CB Quickstart
-
CB Paid Subscriptions
-
Add-Ons
-
Forge
-- If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
-- If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please
send me a private message
with your thread and will reply when possible!
-- Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
-- My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.