Skip to Content Skip to Menu

🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

[#7333] How to make the Activity module reload on certain actions?

  • timstohr
  • timstohr
  • OFFLINE
  • Posts: 1091
  • Thanks: 56
  • Karma: 9
6 years 1 month ago - 6 years 1 month ago #308304 by timstohr
Hi Kyle,
I would need to have the Activity module re-load (or update itself) when the user activates our app. Can I simply hit a URL for that to happen like you do with the normal updating of the activity module every 30 seconds?

Anyway to achieve that using a URL?

The thing is that our app loads the last view from its cache. Currently I have the whole page getting completely reloaded which does what it is supposed to (as in the last activity), but it leaves us with problems in other parts of the website.


Is it possible to tell the activity module via loading a URL or something that it should "re-charge"?

Thanks

Tim
Last edit: 6 years 1 month ago by krileon. Reason: Added [#7333] tag to subject

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48625
  • Thanks: 8305
  • Karma: 1446
6 years 1 month ago #308318 by krileon
Is the built in "Auto Update" feature not sufficient for updating the stream? It should insert new activity entries at the top if it finds any. There is no functionality to refresh the stream like you're wanting.


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.

  • timstohr
  • timstohr
  • OFFLINE
  • Posts: 1091
  • Thanks: 56
  • Karma: 9
6 years 1 month ago #308324 by timstohr
Yeah in essence the auto update is sufficient BUT there are some people who have the website open but not looked at it for some time. Then they quickly go in and check if there are new updates (which is not long enough to trigger the auto update). Then they leave again because nothing new has happened.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48625
  • Thanks: 8305
  • Karma: 1446
6 years 1 month ago #308327 by krileon
Ok, that seams more like a problem with the auto update expiring sooner than you'd like. I'll add a feature ticket to add parameters to control when it expires or even possibly never expires. Should be simple enough addition to be added in next released planned shortly after CB 2.3 (to be released soon; probably next week).

forge.joomlapolis.com/issues/7333


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.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48625
  • Thanks: 8305
  • Karma: 1446
6 years 1 month ago #308331 by krileon
Ok, next release will have new global parameters within CB Activity > Parameters > Loader for you to control the auto load and auto update interval and attempts. Setting attempts to 0 for example will cause it to never give up.


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