Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43259
Total Topics: 7518
Most Online Today: 177
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 178
Total: 178

Author Topic: What happens to personal category images once an account is deleted?  (Read 1487 times)

0 Members and 1 Guest are viewing this topic.

Offline shuban

  • Hero Member
  • *****
  • Posts: 665
    • View Profile
    • Biology Forums
For example,

Let's say I have a personal gallery associated with my account, and I have one category made with 10 pictures uploaded.

If I delete my account, are the picture records that point to the personal category updated as well?

The reason why that's important is because if the pictures don't get deleted in the deletion process, how will other users be able to see those pictures indexed if the personal category doesn't exist any more?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: What happens to personal category images once an account is deleted?
« Reply #1 on: April 21, 2020, 12:50:21 pm »
Nothing at all by default.
We do have an addon  found at https://www.smfhacks.com/index.php/topic,2018.0.html that removes it
"When a user delete's their account. This mod auto deletes their images, ratings and personal gallery information."
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline shuban

  • Hero Member
  • *****
  • Posts: 665
    • View Profile
    • Biology Forums
Re: What happens to personal category images once an account is deleted?
« Reply #2 on: April 21, 2020, 12:53:23 pm »
Sort of sucks. I just attempted to replicate the scenario and while it doesn't delete the image (which is what I want), it doesn't relocate the member's personal images into a default global category.

I think this is something that should be included in future updates.

Thanks anyway

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: What happens to personal category images once an account is deleted?
« Reply #3 on: April 21, 2020, 12:57:02 pm »
Check out that mod. It could be modified to move to a category instead of being deleted.  You would need to set USER_ID_CAT in the pictures table to 0 then SET ID_CAT = to the category where you want the images moved to.

The issue why I did separate addons for these is to reduce issues/file edits. In SMF 2.1 I will use more hooks to be able to do more actions with touching the core.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline shuban

  • Hero Member
  • *****
  • Posts: 665
    • View Profile
    • Biology Forums
Re: What happens to personal category images once an account is deleted?
« Reply #4 on: April 21, 2020, 01:05:57 pm »
Essentially what has to happen (no exceptions) by default:

When member is deleted > delete all associated user galleries > modify all picture records associated with the user gallery to point to a global default {adjusted as a setting in admin section}

Currently this does occur, which is a bad foresight

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: What happens to personal category images once an account is deleted?
« Reply #5 on: April 21, 2020, 01:10:51 pm »
I can look into adding that into a future update.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/
Like Like x 1 View List

 

Related Topics

  Subject / Started by Replies Last post
2 Replies
6077 Views
Last post September 04, 2007, 08:15:27 pm
by Wonga
8 Replies
11623 Views
Last post September 25, 2007, 08:03:57 pm
by clarkkent93
1 Replies
3360 Views
Last post April 12, 2008, 03:31:07 pm
by SMFHacks
2 Replies
5723 Views
Last post September 12, 2008, 08:08:31 pm
by DocPixel
3 Replies
4657 Views
Last post August 29, 2012, 03:41:47 pm
by SMFHacks

+- Recent Topics

No thumbnails on new uploads by SMFHacks
March 27, 2024, 02:10:41 pm

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

Powered by EzPortal