vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Restrict prune by forum? (https://vborg.vbsupport.ru/showthread.php?t=53347)

Christine 05-25-2003 01:11 AM

Restrict prune by forum?
 
Sorry if this is in the wrong forum -- please move if appropriate!

Before I write a SQL script to do this, I thought I would float this idea out to y'all and see if anyone has already done it (a search didn't turn up anything).

I have certain forums (links, questions, etc...) that I don't want to prune, and it takes a mountain of time through the ACP to manually select and prune the others individually.

Has anyone seen a .php hack that would allow for selective pruning of forums based on date?

If not, is there a MySQL script flying around that does this?

Last question -- are we allowed to post SQL scripts that we write, even those aren't real "hacks"?

Thanks to anyone who can help!!

Boofo 05-25-2003 01:46 AM

The "Spin Threads" hack might be something you could use. ;)

Xenon 05-25-2003 12:38 PM

you can post sql queries, but not in full releases, as there they wouldn't make sense...

also delete a thread is not done with just one sql query, you have to deltete the posts, attachments... belonging to that thread, too

Christine 05-25-2003 04:30 PM

I will take a look at that spin threads hack and see what its all about~ Thanks for the heads up.

Thanks also, Xenon -- maybe it would be best if I pass anything like that onto an admin who can decide if its OK. As far as the query, yea, it is a bit complicated but can be done, albeit a little messy! It just takes so loooong to do this stuff through the ACP that if I can just hit the database directly, things fly (like IP address searches).

Xenon 05-25-2003 05:05 PM

of course, you can send me or another admin or mod those things if you are not sure if and where to put ;)


All times are GMT. The time now is 10:08 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.01027 seconds
  • Memory Usage 1,708KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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