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-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.


All times are GMT. The time now is 01:43 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.01007 seconds
  • Memory Usage 1,729KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete