vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Mini Mods - GS - Delete Soft Deleted Posts Every 30 Days 1.0 (https://vborg.vbsupport.ru/showthread.php?t=187336)

ForumsMods 08-05-2008 10:00 PM

GS - Delete Soft Deleted Posts Every 30 Days 1.0
 
GS - Delete Soft Deleted Posts Every 30 Days 1.0

Description:
This mod allows to delete after a period all soft deleted posts.

Installation:
1)Upload the files.
2)Import the product.

Languages:

- English

History:
1.0 06-08-08
- First Release

This hack is created for your use free of charge. No payment is requested. However, if you would like to donate money for the work I put in to this hack, a donation would show your appreciation.

ahmedeldeep 08-06-2008 04:47 AM

My dear this is very great mod i liked it very much off course installed but i need a small modification on it
instead of deleting the soft deleted post,
Can you make it to move this soft deleted post to a certain forum ID ??

jerx 08-06-2008 05:45 AM

Quote:

Originally Posted by ahmedeldeep (Post 1592367)
My dear this is very great mod i liked it very much off course installed but i need a small modification on it
instead of deleting the soft deleted post,
Can you make it to move this soft deleted post to a certain forum ID ??

Wouldn' t it be better to move posts you like to delete to that certain forum right away?

If you move soft deleted posts to that certain forum, I see the problem, that the posts have not been visible after deletion, but after this mod did its work, they suddenly reappear.

Q-v-n-s-Q 08-06-2008 05:46 AM

this isnt a bad idea, thanks

spy90000 08-06-2008 08:47 AM

Nice and useful Mod , installed.

KURTZ 08-06-2008 09:48 AM

Quote:

Originally Posted by Q-v-n-s-Q (Post 1592388)
this isnt a bad idea, thanks

agreed :)

but is possible change the time span?

ForumsMods 08-06-2008 03:30 PM

Quote:

Originally Posted by KURTZ (Post 1592501)
agreed :)

but is possible change the time span?

Yes, edit the Scheduled Task. Go to Admin CP -> Scheduled Tasks -> Scheduled Task Manager -> Delete Soft Deleted Posts -> After that, edit your choice

FleaBag 08-06-2008 05:10 PM

Very useful, thanks!

EvilJohn 08-06-2008 06:35 PM

Thank you. I been looking for something like this.

zmmmzz 08-07-2008 02:50 AM

can I delete soft deleted visitor messages in profiles?

ForumsMods 08-07-2008 03:51 AM

No, it only deletes messages. I will do an other hack to delete visitor messages

SessizDunya 08-07-2008 05:13 AM

Nice Mod, Installed. Thanks.

I have a question. Is it possible to see all deleted posts on one page?

eddy315west 08-07-2008 05:34 AM

Nice Mod

ForumsMods 08-07-2008 10:53 AM

Quote:

Originally Posted by SessizDunya (Post 1593143)
Nice Mod, Installed. Thanks.

I have a question. Is it possible to see all deleted posts on one page?

You can see with the following link:
http://www.yoursite.com/forums/moder...s&type=deleted

gabrielt 08-27-2008 11:18 PM

Hello,

I liked the idea, but there is one conceptual "error" about your mod.

It runs every 30 days (23:00 of day 1) and deletes ALL soft deleted posts. This means that if I soft deleted a message on the 30th of the month, it will be deleted on the following day, i.e. just 1 day after being soft deleted.

I believe that the best way to run this script would be to run it every day and delete all soft deleted posts that are older than 30 days or any other configurable timeframe.

So all soft deleted posts would be available on our forums for 30 days.

I changed the code and attached it to this thread if you want this script to behave the way I describe. Besides replacing deletsoftpost.php you need to change the schedule job to run every day instead of running every 1st of the month.

Enjoy!

Cheers,
Gabriel.

RK1gaming 08-28-2008 09:41 PM

is there a trick to this Hack ...

I went to scheduled task and ran it because I have a few posts that are soft deleted by my mods cause I wanted to test ... didn't delete them :confused:

RK1gaming 09-02-2008 06:52 PM

never mind uninstalled

LGKeiz 09-17-2008 01:23 AM

Can you make it, so you can either delete or move the soft deleted posts?

hcmagix 01-02-2010 09:58 PM

I need this Hack for vb4, will you port it?

ForumsMods 01-20-2010 03:55 PM

Quote:

Originally Posted by hcmagix (Post 1945361)
I need this Hack for vb4, will you port it?

It should work with vB 4.

XenonKilla 01-02-2013 08:45 AM

Another issue I found with this hack is that it doesn't remove the deletion data from the "deletionlog" table. So for every post that is removed with this hack, there will be an additional entry left over in the "deletionlog" table resulting it lots of orphaned data that will just accumulate over and over again.


All times are GMT. The time now is 04:21 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01148 seconds
  • Memory Usage 1,752KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (21)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete