gteigland VIP
Total posts: 159
24 Jun 2016 13:13

So in my community people can delete their account which includes their records. When I had a user delete their account during testingand then other users come to the site we get this message:

http://www.awesomescreenshot.com/image/1351032/3772cdeadcd1e42ca774228574c7d373

I understand why this message appears as teh cobalt records are tied to the joomla user id so then when that user deletes their account they are trying t find the records but without the users it shows this error.

Obviously we will have people deleting accounts so how do we deal with this as it relates to cobalt and users deleting records.

Last Modified: 12 Jul 2016


gteigland VIP
Total posts: 159
24 Jun 2016 13:36

You can also see the issue here on the cobalt records page: https://unknownartists.co/component/cobalt/items/1-projects?Itemid=182


Jeff VIP
Total posts: 745
25 Jun 2016 03:24

Yes I face the same issue. I know you can manually change a record's author but the process should be automated somehow.

Suggestions

  1. User deletes account > user records are automatically unpublished / deleted.
  2. User deletes account > user records are automatically designated to a default user.

@Sergey, what are your thoughts on this?


Sergey
Total posts: 13,748
29 Jun 2016 04:41

We do have onUserAfterDelete event in plugin. That should delete all records of the user from DB.

Most probably the extension through which user deletes his account does not trigger it.


pepperstreet VIP
Total posts: 3,837
29 Jun 2016 08:59

Jeff Suggestions 1. User deletes account > user records are automatically unpublished / deleted. 2. User deletes account > user records are automatically designated to a default user.

+1 for options


gteigland VIP
Total posts: 159
29 Jun 2016 11:52

Yes we use Easysocial and my guess is that they deleted their account through that -- obviously not asking you to code it but couple of questions

  1. WHere is this plugin and Ican't find it in your download section on on my site?
  2. Any guidance on where to start with integration when they delete profile in EasySocial?

Sergey
Total posts: 13,748
05 Jul 2016 06:55

gteigland WHere is this plugin and Ican't find it in your download section on on my site?

You can find code in plugins/system/cobalt/cobalt.php. Perhaps it is unpublished?

gteigland Any guidance on where to start with integration when they delete profile in EasySocial?

I am on shorl leg with Stackidea devs. I'll ask them that question and report you later.


gteigland VIP
Total posts: 159
05 Jul 2016 19:13

I just checked. It is published. Yeah let me know what you hear from stackideas. As you will noticed i've tightly integreated your cobalt with easyblog and easysocial.


Sergey
Total posts: 13,748
12 Jul 2016 05:03

They told me that event should be triggered. Please check Cobalt system plugin is published.


gteigland VIP
Total posts: 159
12 Jul 2016 06:20

yes i checked again.. it is published... should i contact stackideas tofix it?


Sergey
Total posts: 13,748
12 Jul 2016 13:57

No. et's make a test. Open cobalt system plugin and in onUserAfterDelete insert something like echo 1; exit; and try to delete user profile and see if we get to that event.

Powered by Cobalt