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)
-   -   New Posting Features - Automatic Thread Closing (https://vborg.vbsupport.ru/showthread.php?t=196678)

ralle89 05-09-2009 12:19 PM

It simply checks the date and if it's too old and fits the right forum, it will appear locked. That's all. No database changes at all.

djbaxter 05-09-2009 12:26 PM

Quote:

Originally Posted by djbaxter (Post 1807315)
I would assume this runs via a cron job but I don't see anything listed under Scheduled Tasks...

I'm still curious as to how it's triggered...

Quote:

Originally Posted by ralle89 (Post 1807444)
It simply checks the date and if it's too old and fits the right forum, it will appear locked. That's all. No database changes at all.

My question was: How is it triggered? It can't be running continuously, I assume. How often does it check for age of threads? And using what mechanism?

ralle89 05-09-2009 12:44 PM

Can't you just view the code?
Well it runs when needed, it's not a cronjob. It just runs with showthread and modifies the output.

djbaxter 05-09-2009 12:59 PM

Quote:

Originally Posted by ralle89 (Post 1807454)
Can't you just view the code?
Well it runs when needed, it's not a cronjob. It just runs with showthread and modifies the output.

Thank you. There... was that so difficult? :rolleyes:

ralle89 05-09-2009 05:50 PM

Lol. No not really.

merkaz 05-10-2009 11:18 AM

So Nice

thanks

masterme 05-27-2009 05:15 PM

Can this also be used to close a thread automaticly after x posts have been made?

Jalo 05-28-2009 11:39 AM

Installed but for some reason the icons do not indicate that the thread is closed. Any suggestions?

Manually closing a thread does show the right icon.

Jan

ralle89 05-29-2009 03:47 PM

Quote:

Originally Posted by Jalo (Post 1818687)
Installed but for some reason the icons do not indicate that the thread is closed. Any suggestions?

Manually closing a thread does show the right icon.

Jan

Can you send a screenshot? Are you sure the thread lives up to the conditions of when it should be closed?

Quote:

Originally Posted by masterme (Post 1818243)
Can this also be used to close a thread automaticly after x posts have been made?

yeah "Option to close thread after X amount of thread" is supposed to mean that :P

my_aly 05-29-2009 08:37 PM

Thank you


All times are GMT. The time now is 04:36 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.01130 seconds
  • Memory Usage 1,734KB
  • 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)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