Facebook 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4291
Latest: Robertqt
New This Month: 5
New This Week: 0
New Today: 0
Stats
Total Posts: 43744
Total Topics: 7590
Most Online Today: 93
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 79
Total: 80

Author Topic: Restoring a deleted photo  (Read 3766 times)

0 Members and 2 Guests are viewing this topic.

Offline Monocero

  • Full Member
  • ***
  • Posts: 127
    • View Profile
Restoring a deleted photo
« on: June 20, 2023, 03:40:17 pm »
Hello, I am asking you to implement the Recycle Bin function so that the administrator can restore a deleted photo. The idea is that each deleted photo will go to the Recycle Bin, from which it can be restored to the gallery. Such a function exists in SMF, the administrator can create a Recycle Bin board and deleted posts can go there.


Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16653
    • View Profile
Re: Restoring a deleted photo
« Reply #1 on: June 20, 2023, 03:45:01 pm »
Its a good idea.
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 Monocero

  • Full Member
  • ***
  • Posts: 127
    • View Profile
Re: Restoring a deleted photo
« Reply #2 on: June 21, 2023, 01:39:10 am »
Thank you for your message. I hope that someday this feature will appear in this mod. :)

Offline Monocero

  • Full Member
  • ***
  • Posts: 127
    • View Profile
Re: Restoring a deleted photo
« Reply #3 on: September 17, 2024, 02:12:52 pm »
vbgamer45 what about this suggestion? This feature would really be useful.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16653
    • View Profile
Re: Restoring a deleted photo
« Reply #4 on: September 21, 2024, 05:07:18 pm »
Little tricky to do currently, have to think about restoring to gallery. Hiding recylced items from public.
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 Monocero

  • Full Member
  • ***
  • Posts: 127
    • View Profile
Re: Restoring a deleted photo
« Reply #5 on: September 22, 2024, 08:02:42 am »
I understand, I hope you can handle it.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16653
    • View Profile
Re: Restoring a deleted photo
« Reply #6 on: September 24, 2024, 11:42:27 pm »
Hmmm new idea. I backup the entry in the pictures  database table to a recycle table. Delete the original picture database table.
Then have an area to view them. I think it is doable now.
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 Monocero

  • Full Member
  • ***
  • Posts: 127
    • View Profile
Re: Restoring a deleted photo
« Reply #7 on: September 28, 2024, 04:12:20 am »
Sounds interesting. Will you implement this feature for testing?

Offline Monocero

  • Full Member
  • ***
  • Posts: 127
    • View Profile
Re: Restoring a deleted photo
« Reply #8 on: October 19, 2024, 03:20:54 pm »
This is just an idea for now, have you already checked that it can work this way?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16653
    • View Profile
Re: Restoring a deleted photo
« Reply #9 on: October 19, 2024, 03:23:29 pm »
I have an idea in my head on how to get it done.
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 Monocero

  • Full Member
  • ***
  • Posts: 127
    • View Profile
Re: Restoring a deleted photo
« Reply #10 on: October 20, 2024, 01:23:20 pm »
I see, I hope you'll check it out when you find the time. I'm looking forward to this feature. I don't want to prevent users from deleting photos, but I want to have the ability to restore a photo when needed. :)

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16653
    • View Profile
Re: Restoring a deleted photo
« Reply #11 on: October 28, 2024, 02:42:04 pm »
10.2
+Added option to recycle images instead of deleting them. Under Gallery Settings -> Enable recycle bin instead of deleting media items
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 Monocero

  • Full Member
  • ***
  • Posts: 127
    • View Profile
Re: Restoring a deleted photo
« Reply #12 on: October 31, 2024, 04:16:59 pm »
Thank you so much for creating this feature! You kept your word: you said you’d check it out, and you did. You found a solution and implemented the new feature, actually, two of my suggestions! Thank you very much for your kindness.

I think this warning should not appear when the recycle bin feature is enabled:

Warning this will delete the selected item and you can not restore it.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16653
    • View Profile
Re: Restoring a deleted photo
« Reply #13 on: October 31, 2024, 10:08:01 pm »
Glad you enjoy. Good idea on the text change/removal maybe for next 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/

Offline Monocero

  • Full Member
  • ***
  • Posts: 127
    • View Profile
Re: Restoring a deleted photo
« Reply #14 on: November 01, 2024, 04:23:56 am »
Although now it seems to me that this warning, however, should remain, because the user can not restore his photo after deletion, only the Administrator can do so.
Like Like x 1 View List

 

Related Topics

  Subject / Started by Replies Last post
3 Replies
6194 Views
Last post December 31, 2007, 02:07:11 pm
by Jump1979man
2 Replies
6069 Views
Last post September 12, 2008, 08:08:31 pm
by DocPixel
3 Replies
5088 Views
Last post February 14, 2009, 08:53:49 am
by Riley
1 Replies
2063 Views
Last post March 08, 2017, 05:17:08 pm
by SMFHacks
1 Replies
978 Views
Last post August 21, 2022, 09:20:49 am
by SMFHacks

+- Recent Topics

Downloading with Zero Credits? by SMFHacks
March 23, 2025, 01:40:50 pm

Some minor Layout modifications by Senkusha
March 22, 2025, 06:30:31 pm

Uploading Bulk files to a Category? by SMFHacks
March 21, 2025, 08:26:01 pm

Mod for compare gallery.text with board.text by SMFHacks
March 21, 2025, 05:52:46 pm

ST Shop integration by Senkusha
March 18, 2025, 07:33:13 pm

Contact Us by SMFHacks
March 16, 2025, 07:49:23 pm

HTTP 500 error during install by SMFHacks
March 13, 2025, 10:44:31 am

Site upgrade to 2.1 by SMFHacks
March 12, 2025, 09:29:43 pm

[Mod]WebP and AVIF File Support for SMF 2.1 by SMFHacks
March 10, 2025, 04:32:57 pm

Pretty URL's Pro support/help by [chrisB]
March 03, 2025, 10:18:09 am

Powered by EzPortal