Hide "last online" when user is online

12 years 7 months ago #176183 by teQy
hey guys,

so my problem is pretty much what the subject says. i've tried hiding the field via the conditional fields plugin, but that didnt seem to work.
i read somewhere else that online status is not an actual stored value, so i was willing to settle for hiding "last online" when the date is further in the past than 10 minutes from now. however, i also didnt find "last visit date" in cb's tables.

do i really have to write my own plugin to accomplish this? i would be grateful for any suggestions

Please Log in to join the conversation.

12 years 7 months ago #176293 by krileon
Replied by krileon on topic Re: Hide "last online" when user is online
I can't think of a way to accomplish it without some sort of new plugin hooking into field API and conditionally altering the fields display based off the users login state. Integrations like CB Conditional will see the value "YYYY-MM-DD HH:MM:SS" so it might be possible using CB Conditional if the conditions are set right.


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 to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.190 seconds

Facebook Twitter LinkedIn