Skip to Content Skip to Menu

Internal antispam captcha on other forms

  • activha
  • activha
  • ONLINE
  • Posts: 2327
  • Thanks: 117
  • Karma: 13
7 years 4 months ago #294933 by activha
Hi

As your antispam captcha plugin is really nice, is there a possibility to use it to protect other forms ?

I mean can I add php code to include CB spam code in another component form or a manually written one ?

Any substitution method ?

Thanks
Jean

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48438
  • Thanks: 8275
  • Karma: 1443
7 years 4 months ago #294954 by krileon
Replied by krileon on topic Internal antispam captcha on other forms
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.
The following user(s) said Thank You: activha

Please Log in or Create an account to join the conversation.

  • activha
  • activha
  • ONLINE
  • Posts: 2327
  • Thanks: 117
  • Karma: 13
7 years 4 months ago #294986 by activha
Replied by activha on topic Internal antispam captcha on other forms
Thanks for the info

That will help avoiding google ;-)

Regards
jean

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum