vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Mini Mods - ZH - Auto Lock Thread (https://vborg.vbsupport.ru/showthread.php?t=133110)

fly 12-21-2006 03:22 PM

Quote:

Originally Posted by Ziki (Post 1137648)
Just after x days

I'm no genius at coding but aren't you checking the time of the last post?

Code:

AND lastpost < ".intval(TIMENOW-(86400*$zhtime)

Ziki 12-22-2006 01:08 PM

Will fix it.

Ziki 12-22-2006 01:11 PM

1.0.1 released


Please upgrade as soon as possible.The hack didn't work :D

mat.knott 02-11-2007 09:23 PM

sorry if this is a stupid question... on my boards i have daily topics and each one runs for a day so would this work to auto lock every post in a set board at midnight of the day it was started?

Ziki 02-12-2007 07:16 PM

But you would have to enter the threadids manually

HOST-KSA.COM 02-12-2007 07:19 PM

Thanks

flindersredclaw 02-15-2007 01:25 AM

Strange hack... Installed but does nothing without putting in the thread id you want locked. So if you have 5000 threads you would have to find each thread id to make this work globally. Kind of pointless when you can lock the thread manually anyway. I though perhaps this may have prevented old threads being opened after x number of days..

Eagle Creek 02-16-2007 03:57 AM

Would it be possible to:
1. Make this happen for only one forum?
2. Automaticly add a reply to the thread?

Ziki 02-16-2007 05:20 PM

1.Yes
2.Yes

Will do?Maybe

Eagle Creek 02-16-2007 05:42 PM

Uuhm.. of course what I mean is:
are these functions currently available?


All times are GMT. The time now is 02:11 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.02792 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
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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