Hi, cannot really find any sort of documentation that's helpful to me regarding the CB Content module. I want to display a random user's name and avatar in a module position on a page of my site. How would I write that?
It can parse Text (HTML is allowed) for substitutions. It can also output CSS, JS, and jQuery as well as load some of CBs APIs (would depend on your needs). The inputs for each are pretty self explanatory with descriptions of their purpose and examples in the descriptions. The substitutions are always based off the viewing user. So if they're not logged in it's ideal to hide the module (set access to Registered). Please see the below for substitution usage information.
As for what you're wanting the module can't do that. It can show a users username, but it can't show a random users username. For that you should use the CB Online module.
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.