Skip to Content Skip to Menu

Fatal error on CB Activity

  • krileon
  • krileon
  • ONLINE
  • Posts: 48536
  • Thanks: 8290
  • Karma: 1445
11 years 10 months ago #218826 by krileon
Replied by krileon on topic Re: Fatal error on CB Activity
I've no idea, that's something the developers of DT need to review further. If they're going to delete a user then it must be done with that function so as long as you replaced their delete usage with that function everything should work fine from then on.


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.

11 years 10 months ago - 11 years 10 months ago #219116 by deltafidesign
Replied by deltafidesign on topic Re: Fatal error on CB Activity
I have to upgrade this.

Adding the last part of code didn't work. The only way it work is adding this:

$_PLUGINS->registerFunction( 'onAfterDeleteUser', 'userDeleted', 'getDemoTab' );

Anyway, in the activity list in backend I still see activities of user deleted but no owner is associated.
Last edit: 11 years 10 months ago by deltafidesign.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48536
  • Thanks: 8290
  • Karma: 1445
11 years 10 months ago - 11 years 10 months ago #219154 by krileon
Replied by krileon on topic Re: Fatal error on CB Activity
You're just acting on the delete user trigger that CB fires. That has nothing to do with actually deleting the user. Please review my previous posts as I've explained what function you need to use for DT to properly delete a user.

CB Activity doesn't currently delete a users activity when the user is deleted, but it won't show on frontend anymore. Have added a feature ticket to implement this for next release. It initially was not implemented to avoid clearing a database of a users activity if they were accidentally deleted for whatever reason.

forge.joomlapolis.com/issues/3874


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.
Last edit: 11 years 10 months ago by krileon.

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

Moderators: beatnantkrileon
Powered by Kunena Forum