Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

Reply
 
Thread Tools
EPC Sorry We Are Closed Forums Mod *Business Minded* Details »»
EPC Sorry We Are Closed Forums Mod *Business Minded*
Version: 1.1, by blogtorank blogtorank is offline
Developer Last Online: Mar 2008 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.6.8 Rating:
Released: 08-20-2007 Last Update: Never Installs: 31
Uses Plugins
Additional Files  
No support by the author.

EPC "Sorry We Are Closed" Forums Mod
*Business Minded*


This hack came from the idea of a certain request here:

Opening Hours for a forum ?!

So we decided to do this and take it on, see the below screen shots to see how easy it is to work with.

How it works:

1. You set the time frames to open and close within your vBulletin Scheduling (CRON)

2. When you do the Phrase:

PHP Code:
Phraseforumclosed
Text
Sorrythis forum is now closed for postingPlease check back later
Change the above to whatever you want it to say per your likings.

3. Pick the forums by using the multiselect, that you want closed at the specified times in your CRON setting in Step one.

4. Nothing more... Everything will run as normal and (AUTOMATICALLY), no posting will be allowed within your times you specified.

Installation Instructions:

All within the Zip file!

Installation Time:

2 - 3 Minutes

Installation Complexity:

SIMPLE

Support:

Only given to those who mark install, if you have questions before installing feel free to ask.

Feedback and all is greatly welcome, if you have suggestions feel free to load them on here.

Please click install if you like this and will be putting it to good use!


UPDATES:

v1.1 Released - Now with a Product Install

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 04-10-2008, 11:43 AM
Bosco Wong Bosco Wong is offline
 
Join Date: Apr 2008
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When I Add In the Code At Navbar Bar Problem Appear....

With the </if>.... Please Help
Reply With Quote
  #33  
Old 04-14-2008, 05:45 AM
Shawn Yue Shawn Yue is offline
 
Join Date: Jan 2008
Location: Hong Kong
Posts: 199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can Make This Work For 3.7.0 RC 3 And 3.7.0 x
Reply With Quote
  #34  
Old 07-08-2008, 03:25 PM
ricker ricker is offline
 
Join Date: Jun 2003
Location: Apple Valley, CA
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is this working in 3.7.2?

I have some host-based server maintenance going on tomorrow and this script would be perfect for shutting my board down in the wee hours so I can sleep through it!
Reply With Quote
  #35  
Old 08-26-2008, 06:45 AM
Vackrick Vackrick is offline
 
Join Date: Apr 2008
Location: Taiwan
Posts: 359
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes this work but it wont display the forum close message it will show all thread lock^^
Reply With Quote
  #36  
Old 04-28-2010, 03:05 AM
TheJordan TheJordan is offline
 
Join Date: Dec 2007
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If anyone is using this with vB 4.x, you can make the closed notice show up like this...

In the FORUMDISPLAY template, find
{vb:raw navbar}

and insert this underneath it:
PHP Code:
<vb:if condition="!$foruminfo[allowposting]">
<
div style="text-align: center; font-weight: bold; color: red;">
<!-- 
your closed message here -->
The message board is not currently accepting posts.  Please see the FAQ for more information.
</
div>
</
vb:if> 
Still works like a charm.
Reply With Quote
Reply

Thread Tools

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:47 AM.


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.05144 seconds
  • Memory Usage 2,252KB
  • Queries Executed 21 (?)
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
  • (2)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (6)postbit_onlinestatus
  • (6)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