vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Auto Prune Threads (https://vborg.vbsupport.ru/showthread.php?t=67049)

Cyricx 04-20-2005 04:28 PM

Is it just me or does this seem to be pruning based on last views instead of last post?

Looking at the code it shouldn't be, but on my test site it is pruning by views...

Any one else having that problem? or any ideas what could be wrong?

almqdad 05-04-2005 09:28 AM

great hack

Andreas 06-02-2005 01:05 AM

Quote:

Originally Posted by Acido
This hack remove threads, but post remain in database.

This is not true. Function delete_thread() also removes the posts, edit-notes, etc.

@Cyricx
No. Threads don't even have a 'last view' property ...

Acido 06-02-2005 01:08 AM

Quote:

Originally Posted by KirbyDE
This is not true. Function delete_thread() also removes the posts, edit-notes, etc.

@Cyricx
No. Threads don't even have a 'last view' property ...

Thanx for clarify that :)

HeloHi 06-08-2005 11:03 PM

How would one modify this to auto-move threads to a specific forum instead of deleting them?

SuprSurfr 07-20-2005 11:45 AM

KirbyDE could you explain this step a little further?
I am new to VB and i am not sure what i should do here.

Thanks

Quote:

2. Add the following phrase to phrasegroup Forum-Related Phrases
varname: prune_after
text: Prune After<dfn>Stetting this to a value > 0 will automatically prune all threads from this forum where the last reply is older then the set amount of days</dfn>
I found where i needed to apply step 2.

Thanks

FROGGYJ 10-23-2005 02:01 AM

would this work in vb 3.5 gold?

Acido 10-27-2005 03:25 PM

I really need this hack ported to vb 3.5


All times are GMT. The time now is 09:38 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.01004 seconds
  • Memory Usage 1,728KB
  • 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
  • (3)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
  • (8)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