Skip to Content Skip to Menu

CB Content Bot - not working in SEBLOD CCK

9 years 6 months ago - 9 years 6 months ago #262579 by pepperstreet
CB Content Bot - not working in SEBLOD CCK was created by pepperstreet
Hello, I have made some tests with CB integration in Seblod CCK. i.e. link to profile, get Avatar thumbnail etc.

There are different ways to achieve results, but I also wanted to use the easy CB Content Bot and substitution. Apart from the usual J! core MenuItems, Seblod offers also its own list and article views. Seblod offers a special global config parameter to dis/allow content plugins on list views.

I have tested with misc other content plugins, and all seem to run and display properly. :)

Only CB Content Bot does not work as expected. I just see the plain plugin syntax. :(

Any clues what might be the issue or the difference? Who is to blame? Where to look? :unsure:
Last edit: 9 years 6 months ago by pepperstreet.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48478
  • Thanks: 8282
  • Karma: 1443
9 years 6 months ago #262607 by krileon
Replied by krileon on topic CB Content Bot - not working in SEBLOD CCK
It's not designed for Seblod CCK. It's designed for Joomla content. It also works the same way loadmodules parsing does and other core Joomla content plugins by altering the $article->text in addition to other variable cases to cover a large range of usages. You also need to use the correct syntax for it to even parse, which is the following.

{cb}SUBSTITUTIONS HERE{/cb}

When using content plugins outside of an article it only populates ->text with content.prepare usage. This means there's no user id to create a user object. So your substitutions have to be based off the viewing user and not the article creator. This is configured within CB Content Bot parameters; the alternative is using substitutions with user="#me".


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

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

Moderators: beatnantkrileon
Powered by Kunena Forum