Skip to Content Skip to Menu

CB activity 'postdate' instead of 'days since'

6 years 10 months ago #300766 by pjfroelofs
The activity feed show the number of days, since the post was made.
That means, that after a month, a lot of posts have the same date.

Is it possible to change this to the 'post date'?
Attachments:

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48536
  • Thanks: 8290
  • Karma: 1445
6 years 10 months ago #300768 by krileon
No, not without modifying the template files and adding conditional date display behavior. You can see the actual date on mouseover if a specific date is necessary, but for activity streams it's largely irrelevant to be completely accurate.


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.

6 years 10 months ago #300927 by pjfroelofs
Replied by pjfroelofs on topic CB activity 'postdate' instead of 'days since'
LS

In our case, we would like to see the actual post date, and not the days since the post.
Could you help me with the filenames and html/php code to change this?

Thank you,
Patrick

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48536
  • Thanks: 8290
  • Karma: 1445
6 years 10 months ago #300942 by krileon
We do not provide code edit assistance. The template files for CB Activity can be found at the below location.

/components/com_comprofiler/plugin/user/plug_cbactivity/templates/default

Make a copy of the default template folder, rename it to something like "custom", then delete all the files you don't intend on changing. Next select it within CB Activity as the template to prevent changes being lost on update (note you will need to maintain your template file and check for changes with new releases).


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