Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)

Reply
 
Thread Tools Display Modes
  #1  
Old 08-15-2006, 03:28 PM
cunder's Avatar
cunder cunder is offline
 
Join Date: May 2005
Location: NL
Posts: 129
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Auto Lock Old Threads

Hello
I look for a hack for 3.6.0 that close threads
where the last post is 30 days or older or whatever you want.
with specific forums by id but not in all forums.
end not affect sticky.
can this be done in a easy way?
Please? Somebody?

Quote:
Originally Posted by cunder
Hello
I look for a hack for 3.6.0 that close threads
where the last post is 30 days or older or whatever you want.
with specific forums by id but not in all forums.
end not affect sticky.
can this be done in a easy way?
Please? Somebody?
**bump** Please :hurt:
Reply With Quote
  #2  
Old 08-17-2006, 07:10 PM
cunder's Avatar
cunder cunder is offline
 
Join Date: May 2005
Location: NL
Posts: 129
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cunder
Hello
I look for a hack for 3.6.0 that close threads
where the last post is 30 days or older or whatever you want.
with specific forums by id but not in all forums.
end not affect sticky.
can this be done in a easy way?
Please? Somebody?


**bump** Please
Reply With Quote
  #3  
Old 09-05-2006, 08:54 AM
cunder's Avatar
cunder cunder is offline
 
Join Date: May 2005
Location: NL
Posts: 129
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cunder
Hello
I look for a hack for 3.6.0 that close threads
where the last post is 30 days or older or whatever you want.
with specific forums by id but not in all forums.
end not affect sticky.
can this be done in a easy way?
Please? Somebody?



**bump** Please :hurt:
**bump** Please
Reply With Quote
  #4  
Old 09-05-2006, 09:25 AM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

to help this thread i have given you a list of other people who have either created them for older version or have requested the same thing.

https://vborg.vbsupport.ru/showthrea...+close+threads

https://vborg.vbsupport.ru/showthrea...+close+threads


this one may have your answer:
https://vborg.vbsupport.ru/showthrea...+close+threads
Reply With Quote
  #5  
Old 09-06-2006, 07:25 AM
cunder's Avatar
cunder cunder is offline
 
Join Date: May 2005
Location: NL
Posts: 129
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hornstar1337
to help this thread i have given you a list of other people who have either created them for older version or have requested the same thing.

https://vborg.vbsupport.ru/showthrea...+close+threads

https://vborg.vbsupport.ru/showthrea...+close+threads


this one may have your answer:
https://vborg.vbsupport.ru/showthrea...+close+threads
thanks
but that work not on Vbulletin 3.6.0
Reply With Quote
  #6  
Old 09-11-2006, 07:02 AM
cunder's Avatar
cunder cunder is offline
 
Join Date: May 2005
Location: NL
Posts: 129
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cunder
thanks
but that work not on Vbulletin 3.6.0
**bump**
Reply With Quote
  #7  
Old 11-01-2006, 11:41 PM
alkuwary alkuwary is offline
 
Join Date: Feb 2005
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yea I would very much like that. Bump.
Reply With Quote
  #8  
Old 11-04-2006, 06:13 AM
echamberlain's Avatar
echamberlain echamberlain is offline
 
Join Date: Aug 2006
Location: San Francisco
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was looking for a similar auto thread close product that would work with 3.6.2 and I couldn't find one, so I wrote one myself.

Here it is.
Reply With Quote
  #9  
Old 11-04-2006, 10:05 AM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Create a plugin ;

Hook: cron_script_cleanup

PHP Code:
$days 31;
$forums '1,2,3,4,5';
$vbulletin->db->query_write("
    UPDATE "
.TABLE_PREFIX."thread SET open = 0
    WHERE forumid IN(
$forums) AND open = 1 AND sticky = 0 AND lastpost < ".intval(TIMENOW-(86400*$days))
); 
Reply With Quote
  #10  
Old 12-27-2006, 06:49 AM
ldma ldma is offline
 
Join Date: Jul 2006
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is that going to work in 3.5 Paul?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:31 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08476 seconds
  • Memory Usage 2,256KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete