Skip to Content Skip to Menu

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

[SOLVED] What Parameters to use in the bot cb_content to Display other Members Profile Fields in article to take their Profile fields Print

  • madhu
  • madhu
  • OFFLINE
  • Posts: 78
  • Thanks: 4
  • Karma: 1
11 years 5 months ago - 11 years 5 months ago #227370 by madhu
Dear sir,
I am sorry, i am changing the Topic as it is not suitable for the old Topic Heading,

My Question is,
As a member i want to take the printout of the other members profile fields,
Here i used the bot cb_content.
but how to use the plugin,
i mean what parameters and substitutions i have to use,
can any one please give me with example.
Thank you very much.
:huh:
Last edit: 11 years 5 months ago by krileon.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
11 years 5 months ago #227420 by krileon
You can use the "user" parameter to make a substitution load in the value from another user. Please see the below substitution tutorial.

www.joomlapolis.com/support/tutorials/107-use-cases/18353-using-substitutions-throughout-cb

Directly under "Parameters" it explains the various parameters. An example of the "user" parameter is also provided there.


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.

  • madhu
  • madhu
  • OFFLINE
  • Posts: 78
  • Thanks: 4
  • Karma: 1
11 years 5 months ago #227455 by madhu
Sir ,
If you dont mind, please please give me a example, how to use, please

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
11 years 5 months ago #227456 by krileon
I already have, please read the tutorial. There are multiple examples of this exact usage directly under "Parameters" where the "user" parameter is used.


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.

  • madhu
  • madhu
  • OFFLINE
  • Posts: 78
  • Thanks: 4
  • Karma: 1
11 years 5 months ago #227457 by madhu
Thank you sir,
i have used the parameter
[cb:if user_id="56"]This is Me being displayed.[/cb:if]

then the user with the id 56 only displayed, then in that article if any member click on that page he take the printout of the details of the member with the id 56 only,
so how to display the other members profile?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
11 years 5 months ago #227461 by krileon
No, that is just an IF statement. It simply conditions the user id variable and if there is a match it'll display the content inside the IF statement. You need to use the "user" parameter on your substitution. Again, please see the examples directly under "Parameters"; one such example as follows.

[cb:userdata field="avatar" user="62" /]

The above would show the Avatar of user with the ID of 62.


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.

Moderators: beatnantkrileon
Powered by Kunena Forum