Fatal error on CB Activity

11 years 1 month 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 to join the conversation.

11 years 1 month ago - 11 years 1 month 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.

Please Log in to join the conversation.

11 years 1 month ago - 11 years 1 month 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.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.229 seconds

Facebook Twitter LinkedIn