[XB] Auto Deleted Content

[XB] Auto Deleted Content [Paid] 2.3.3

No permission to buy ($30.00)
Somehow nice, but somehow a toy and not a tool.

I do not have the time to click on [edit] and change the date.

Now this add-on can be used to delete a special message, for example, when you need it one time a month.

a) But if I want to write many self-deleting posts, I need a fixed input in the add/edit form
b) and for comments of my mods, i need a quick-link to delete them after fixed {x} days.
c) Finally a special code inside the message text could be very, very helpful, too.

[del14] = delete the post in 14 days!


d) And there should be a message like:

--------------------- line -------------------
This message will be auto deleted at the 5/22/24


With these changes it would be a wonderful and very powerful tool for daily use many times.
 
Ok, there is an option to show that a post is in the queue.
But this needs a query, right?

I would prefer just a message inside message field like written above.

Option: Add message at end of post message text? (see phrase lala)
 
Errormessage:
I tried to save (checkbox was checked) => error: deleting not possible without a date
I have unechecked the box => error

LogicException: Cannot save a deleted entity in src/XF/Mvc/Entity/Entity.php at line 1216
 
Wow! Big problem! I can save only with an input. I cant change that input, because I cant save without input. Now this post ist marked for deletion. But I dont want to delete it.

Please check this.
 
Next problem:

I had two posts in queue;
watching list with posts
delete one deletion order
next page after clicking is: Oops!
Calling list again, shows again two posts!
 
LogicException: Cannot delete an entity that has been partially updated in src/XF/Mvc/Entity/Entity.php at line 1594

XF\Mvc\Entity\Entity->delete() in src/addons/OzzModz/AutoDeletedContent/Service/AutoDeleteAddEditTrait.php at line 75
OzzModz\AutoDeletedContent\XF\Service\Post\Editor->setupAutoDeleteSave() in src/addons/OzzModz/AutoDeletedContent/XF/Service/Post/Editor.php at line 31
OzzModz\AutoDeletedContent\XF\Service\Post\Editor->_save() in src/addons/OzzModz/PostEditAlert/XF/Service/Post/Editor.php at line 23
OzzModz\PostEditAlert\XF\Service\Post\Editor->_save() in src/addons/TickTackk/ChangeContentOwner/Service/Content/EditorTrait.php at line 120
TickTackk\ChangeContentOwner\XF\Service\Post\Editor->_save() in src/addons/SV/StickyAnyPost/XF/Service/Post/Editor.php at line 40
SV\StickyAnyPost\XF\Service\Post\Editor->_save() in src/XF/Service/ValidateAndSavableTrait.php at line 42
XF\Service\Post\Editor->save() in src/XF/Pub/Controller/Post.php at line 146
XF\Pub\Controller\Post->actionEdit() in src/addons/TickTackk/ChangeContentOwner/XF/Pub/Controller/Post.php at line 66
TickTackk\ChangeContentOwner\XF\Pub\Controller\Post->actionEdit() in src/addons/SV/MultiPrefix/XF/Pub/Controller/Post.php at line 60
SV\MultiPrefix\XF\Pub\Controller\Post->actionEdit() in src/addons/SV/AlertImprovements/XF/Pub/Controller/Post.php at line 21
SV\AlertImprovements\XF\Pub\Controller\Post->actionEdit() in src/XF/Mvc/Dispatcher.php at line 352
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 259
XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 115
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 57
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2487
XF\App->run() in src/XF.php at line 524
XF::runApp() in index.php at line 20
 
Hi there @Ozzy47 and @Painbaker , I've run into an issue with the latest update. The add-on is no longer deleting items when the expiry date is reached. Instead, the items just sit in the pending queue.

I have tried looking for a cron entry, but there is none. Additionally, when I try to manually delete the items in the pending queue, an error message gets thrown out asking me to select at least 1 item. None of the individual buttons on the right side of the menu work either.

I have attached a few screen grabs below, and I would really appreciate assistance on this, as I rely on this add-on to run limited time promotions on my community.

As always, I look forward to your support on this matter as soon as you guys find the time!
 

Attachments

  • Screenshot 2024-08-02 at 10.19.58 PM.webp
    Screenshot 2024-08-02 at 10.19.58 PM.webp
    58 KB · Views: 4
  • Screenshot 2024-08-02 at 10.19.42 PM.webp
    Screenshot 2024-08-02 at 10.19.42 PM.webp
    61.6 KB · Views: 4
  • Screenshot 2024-08-02 at 10.19.46 PM.webp
    Screenshot 2024-08-02 at 10.19.46 PM.webp
    37.8 KB · Views: 4
can you please add option
  • to specify a forum where content would be auto deleted
  • option to add an administrator-preset timeframe after which a post in a topic will be deleted (without setting it manually).
    example of timeframe - hours, days, months
 
Last edited:
Hi there @Ozzy47 and @Painbaker , I have been running the addon without any further server error issues, and I am now able to manually select items from the queue to be deleted.

However, the automated part is still not working. I.e. I will have content that is supposed to be deleted on the 1st of October 2024, but the content will still be there when the date has passed. I've tried to run cron manually, but realized that there is no cron job option. Am I missing anything here?

Thanks!
 
I tried setting up an addon to delete threads in a given forum every 1 hour but it doesn't work properly - threads are not deleted
 
Back
Top Bottom