Skip to Content Skip to Menu

[SOLVED] [onlinestatus] values

  • Backstein
  • Backstein
  • OFFLINE
  • Posts: 21
  • Thanks: 3
  • Karma: 0
3 years 7 months ago - 3 years 7 months ago #321229 by Backstein
[SOLVED] [onlinestatus] values was created by Backstein
For a substitution I'd like to refer to the [onlinestatus].

My question is: what value gets the [onlinestatus] if the user is online/offline?


Thanks

B
Last edit: 3 years 7 months ago by krileon. Reason: Added [SOLVED] tag to subject

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

  • krileon
  • krileon
  • OFFLINE
  • Posts: 47967
  • Thanks: 8173
  • Karma: 1434
3 years 7 months ago #321235 by krileon
Replied by krileon on topic [onlinestatus] values
Try it in a Custom HTML field and see what value it outputs. See the below substitution tutorial to understand the different substitution syntax available.

www.joomlapolis.com/documentation/279-community-builder/tutorials/18353-using-substitutions-throughout-cb


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

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

  • Backstein
  • Backstein
  • OFFLINE
  • Posts: 21
  • Thanks: 3
  • Karma: 0
3 years 7 months ago #321288 by Backstein
Replied by Backstein on topic [onlinestatus] values
It gives "true" or "false"

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

  • krileon
  • krileon
  • OFFLINE
  • Posts: 47967
  • Thanks: 8173
  • Karma: 1434
3 years 7 months ago #321308 by krileon
Replied by krileon on topic [onlinestatus] values
Read the substitution tutorial. You are using a raw substitution. So what you are seeing is entirely expected.


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.

  • Backstein
  • Backstein
  • OFFLINE
  • Posts: 21
  • Thanks: 3
  • Karma: 0
3 years 7 months ago #321328 by Backstein
Replied by Backstein on topic [onlinestatus] values
It's alright.

"true" or "false". That's what I was looking for.

(can be closed)
The following user(s) said Thank You: krileon

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

Moderators: beatnantkrileon
Powered by Kunena Forum