Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

CB Content Bot 3.0.2 not working

  • activha
  • activha
  • ONLINE
  • Posts: 2327
  • Thanks: 117
  • Karma: 13
8 years 5 months ago - 8 years 5 months ago #281540 by activha
Replied by activha on topic CB Content Bot 3.0.2 not working
I have the same kind of problem

Will
Code:
{cb}[cb:userdata field="cb_company" /]{/cb} work also ? or only {cb}[cb:userdata field="cb_company" /]{/cb}
??
Last edit: 8 years 5 months ago by activha.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48459
  • Thanks: 8280
  • Karma: 1443
8 years 5 months ago #281543 by krileon
Replied by krileon on topic CB Content Bot 3.0.2 not working
Encoded quotes won't work as CBs substitution usage won't pick them up. Only way to fix this is to have the bot convert the quotes, but that can possibly cause issues it self. Will review a possible fix for next release.

forge.joomlapolis.com/issues/5964

Please note CB Content Bot is a proper content.prepare plugin now. So it will function anywhere that content.prepare is used. If you were using it for example in a module that was output in an article you need to edit the module and set it to run content prepare.


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: ricco1

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

  • activha
  • activha
  • ONLINE
  • Posts: 2327
  • Thanks: 117
  • Karma: 13
8 years 5 months ago #281544 by activha
Replied by activha on topic CB Content Bot 3.0.2 not working
OK I'll try without editor while you find a solution :-)
But have to remember this...
The following user(s) said Thank You: ricco1

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48459
  • Thanks: 8280
  • Karma: 1443
8 years 5 months ago #281548 by krileon
Replied by krileon on topic CB Content Bot 3.0.2 not working
It's being fixed in 3.0.3. Should be out by end of day tomorrow. The quotes will be decoded before being parsed for substitutions. You should be able to quickfix with the below.

IN: plugins/content/cbcontentbot/cbcontentbot.php
ON: Line 134
FROM:
Code:
return $cbUser->replaceUserVars( $matches[1], false, true, $extra, false );
TO:
Code:
return $cbUser->replaceUserVars( htmlspecialchars_decode( $matches[1], ENT_COMPAT ), false, true, $extra, false );


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: ricco1

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

  • ricco1
  • ricco1
  • OFFLINE
  • Posts: 310
  • Thanks: 8
  • Karma: -7
8 years 5 months ago #281553 by ricco1
Replied by ricco1 on topic CB Content Bot 3.0.2 not working

krileon wrote: The alternative is to use a CB Content Module.


I think for me this is the better solution. I will try it soon.

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

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
8 years 5 months ago #281555 by nant
The following user(s) said Thank You: ricco1

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

Moderators: beatnantkrileon
Powered by Kunena Forum