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 - Deluxe Delete Soft Deleted 1.1 (https://vborg.vbsupport.ru/showthread.php?t=188225)

ForumsMods 08-14-2008 10:00 PM

GS - Deluxe Delete Soft Deleted 1.1
 
GS - Deluxe Delete Soft Deleted 1.1

Description:
This mod allows to delete after a period all soft deleted posts, threads and visitor messages.

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

Languages:

- English

History:
1.0 15-08-08
- First Release
1.1 15-08-08
- Add an option to delete soft delete if is over 30 day.

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.

KURTZ 08-15-2008 03:19 PM

Gasper, just tagged ;) nice job man!?

edit: can you add an options for the time span?

Sym0n 08-15-2008 03:23 PM

Does this version now check to see if the post has been soft deleted 30+ days ago each day and then psychically delete it or if it was only deleted say 14 days ago it's left soft deleted?

ForumsMods 08-15-2008 09:11 PM

No, I forget your order. I will include it in next version which will be released today or tomorrow.

Edit:
Version 1.1 15-08-08
- Add an option to delete soft delete if is over 30 day.

Hornstar 08-15-2008 11:01 PM

yeah I really should get around to using this, I must have thousands upon thousands of soft deleted threads. thanks for sharing.

Doug Nelson 08-16-2008 03:35 AM

So does this run daily or monthly now that we can limit it to 30+ days old?

I have a thousand or more soft deleted posts from several years. Will this cause a bad server load the first time it runs?

Spank 08-16-2008 03:39 AM

Thanks for going with my suggestion to make this deluxe package. I'll install later on.

ForumsMods 08-16-2008 03:46 AM

Quote:

Originally Posted by Doug Nelson (Post 1599762)
So does this run daily or monthly now that we can limit it to 30+ days old?

I have a thousand or more soft deleted posts from several years. Will this cause a bad server load the first time it runs?

It runs every 30 days. You can modify it editing cron.

Sym0n 08-18-2008 07:16 AM

Quote:

Originally Posted by Gasper (Post 1599573)
No, I forget your order. I will include it in next version which will be released today or tomorrow.

Edit:
Version 1.1 15-08-08
- Add an option to delete soft delete if is over 30 day.

Thank you :)

yingzhou 08-19-2008 10:55 AM

why you change a thread? Thanks for useful mod. :D

LGKeiz 09-17-2008 01:24 AM

Can you make it so we can move soft deleted threads to another forum

Pamela 09-18-2008 01:56 AM

Awesome! I was needing this. Thanks! :D

*clicks install*

dbreh 09-22-2008 02:19 AM

it's great Products, really thanks so much

Quote:

Originally Posted by Doug Nelson (Post 1599762)
I have a thousand or more soft deleted posts from several years. Will this cause a bad server load the first time it runs?

yes it do, if it's thousand as you said

after you finish from running this Products you should do the follow
Maintenance >> Update Counters >> Rebuild Thread Information

then optimize the data bas tables as follow
Maintenance >> Repair / Optimize Tables >> Check All

tavarish 09-23-2008 06:58 PM

i would like to see a auto mover for soft deleted threads, would this be possible to make? auto move to forumid X after 10 days ex..?

hcmagix 09-28-2008 08:22 PM

@Gasper

After running your script the trash icons are still shown in showthread view.
Is that a little bug?

rapidphim 09-29-2008 04:42 PM

I think this is what I am looking for. However, can we make the trash can clickable and list all the soft deleted posts so admin can select them to either undeleted which post or physically deleted them all at once ?

rapidphim 10-03-2008 02:59 AM

can someone please get back to me on this and confirm if these are done via admincp or directly on forum view?

gbox master 12-11-2008 08:21 PM

can you please tell me if this works also on vb3.6xx
if not will you make one for 3.6xx

thnx
nice mod to install

momo2 12-17-2008 05:09 PM

Been looking for something like this for a long time. Thanks..

Doug Nelson 03-08-2009 10:07 PM

Does this work with 3.8.1? I just noticed I have some very old softdeleted posts that are still there after 30 days.

ForumsMods 03-09-2009 12:19 AM

Yes, should work fine.

Doug Nelson 03-09-2009 03:52 AM

So any ideas on why my softdeleted posts aren't being deleted?

FractalizeR 04-29-2009 06:08 PM

Also, I don't see any attachment removing from these soft-deleted threads. It seems, like attachments will remain without thread, consuming space after their thread or post is removed...

princeedward 09-15-2009 09:47 PM

thanks... ;)

Robru 01-24-2010 10:33 AM

Works fine with 4.x :)

Jamey 01-28-2010 10:08 PM

Any updates for 3.8.4?

Mr.Halcon 02-28-2010 02:26 AM

Thank you, it's very usefull for me ;)

OturanBoğa 03-15-2010 10:00 AM

Yes, works fine with 4.x :)

bairy 03-28-2010 10:51 AM

Quote:

Originally Posted by FractalizeR (Post 1801294)
Also, I don't see any attachment removing from these soft-deleted threads. It seems, like attachments will remain without thread, consuming space after their thread or post is removed...

That's not the only problem. If you soft delete a thread, the posts within it are still set to visible = 1 (i.e. aren't set to soft deleted), so when this cron comes along and removes the soft-deleted threads directly from the db, there are lots of posts that become orphaned (i.e. are attached to a thread that no longer exists)

What the mod needs to do is query through all the affected posts, attachments, polls(?) etc when deleting a thread and remove everything connected. Similarly it needs to examine attachments for posts.

There might be a data manager that can do it. Or just seek out the code that runs when a physical remove is done.

I applaud your making a mod VB Style, but it's gonna leave a lot of bad fragmented stuff on boards. With any software this complicated it's generally a bad idea to remove anything directly from the db, unless you know it's not connected to anything else.

hcmagix 11-18-2010 04:06 AM

Quote:

Originally Posted by OturanBoğa (Post 2003974)
Yes, works fine with 4.x :)

shure? I cant see no actions from this hack in action log

OturanBoğa 12-16-2010 10:17 AM

Yes...When I activate this, all soft deleted posts, threads and visitor messages are deleted totally

diim_nowa 03-07-2011 03:15 AM

ForumsMods,
And you can add a mod ?
Option to view all soft deleted posts, threads and visitor messages

bizhat 08-21-2011 08:01 AM

This MOD ported to vBulletin 4 ?


All times are GMT. The time now is 06:42 AM.

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.01128 seconds
  • Memory Usage 1,773KB
  • 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
  • (33)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