Skip to Content Skip to Menu

🌟Discover the Joomla AI Plugin that wrote its own story! - CB Editor Assistant 1.1now for Joomla 3, 4 & 5!
✍️ 5-Day Free Trial, then 🎯 save up to 30% with our 🛍️ Intro Offer (First 50 users, ends Dec. 31)
🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

cb content bot not working

9 years 8 months ago #261811 by ninokorinteli
cb content bot not working was created by ninokorinteli
Hi,

i put substitution in the article with the suggested format: {cb}[cb:userfield field="55" /]{/cb} (tried both field id, and field name), but the field value just doesnot show up in joomla content.

when installing my expectation was that it will render fields profile view values in joomla content. also the field i tried to substitute was photo field, and the article - featured uncategorized joomla article - may be any restrictions on field types, or joomla content? ideally i would like to substitute video fields (with linked videos), what i'm doing wrong or missing?

for info i'm running CB 2.0.7, Jommla 3.4.1, and installed content bot 3.0.1

thank you in advance
nino

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

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
9 years 8 months ago #261832 by nant
Replied by nant on topic cb content bot not working

ninokorinteli wrote: Hi,

i put substitution in the article with the suggested format: {cb}[cb:userfield field="55" /]{/cb} (tried both field id, and field name), but the field value just doesnot show up in joomla content.

when installing my expectation was that it will render fields profile view values in joomla content. also the field i tried to substitute was photo field, and the article - featured uncategorized joomla article - may be any restrictions on field types, or joomla content? ideally i would like to substitute video fields (with linked videos), what i'm doing wrong or missing?

for info i'm running CB 2.0.7, Jommla 3.4.1, and installed content bot 3.0.1

thank you in advance
nino


Works for me:

<p>This is a test</p>
<p>This is {cb}[username]{/cb} viewing.</p>
<p> </p>
<p>This is {cb}[cb_text]{/cb} viewing</p>
<p>This is {cb}[cb:userfield field="cb_text" /]{/cb} viewing</p>

Make sure your joomla editor is not breaking the sequence with spans or other crap.

Best to edit the html directly.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48630
  • Thanks: 8307
  • Karma: 1446
9 years 8 months ago #261876 by krileon
Replied by krileon on topic cb content bot not working
If the field isn't showing at all then you likely have a permissions issue. The viewing users needs to be able to access the field attempting to display. This means if I'm not logged in the tab the field is on should be set to Public in order for me to see it. In addition to this CB Privacy for example could also block the fields display.


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.

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

9 years 8 months ago #261950 by ninokorinteli
Replied by ninokorinteli on topic cb content bot not working
The tab the field is on is set to public, besides the same field's value shows up on public profile view without problems, i dont have cb privacy installed, and i have TinyMCE as an editor.

it only shows me text between <p></p> tags, and {cb}[username]{/cb} when im logged in as an admin.

doesnot show either {cb}[cb_text]{/cb} or {cb}[cb:userfield field="cb_text" /]{/cb} formats

plus i edit html directly usually...

what else it can be?

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

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
9 years 8 months ago - 9 years 8 months ago #261955 by nant
Replied by nant on topic cb content bot not working

ninokorinteli wrote: The tab the field is on is set to public, besides the same field's value shows up on public profile view without problems, i dont have cb privacy installed, and i have TinyMCE as an editor.

it only shows me text between <p></p> tags, and {cb}[username]{/cb} when im logged in as an admin.

doesnot show either {cb}[cb_text]{/cb} or {cb}[cb:userfield field="cb_text" /]{/cb} formats

plus i edit html directly usually...

what else it can be?


Are you logged in when viewing?

Please try my examples.

Is the plugin published?
Last edit: 9 years 8 months ago by nant.

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

9 years 8 months ago #262040 by ninokorinteli
Replied by ninokorinteli on topic cb content bot not working
i tried all examples, the plugin is published, i can only visible if the user is logged in, in other words each user can see his field's value being displayed in joomla article, if logged in. is that how it should work?

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

Moderators: beatnantkrileon
Powered by Kunena Forum