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)
-   -   Add-On Releases - EPC Sorry We Are Closed Forums Mod *Business Minded* (https://vborg.vbsupport.ru/showthread.php?t=155834)

blogtorank 08-20-2007 10:00 PM

EPC Sorry We Are Closed Forums Mod *Business Minded*
 
EPC :eek: "Sorry We Are Closed" :eek: 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

blogtorank 08-21-2007 10:21 AM

Reserved for any future usage! Enjoy the freebie!

blogtorank 08-21-2007 11:37 AM

v1.1 Just released, all with Product installation now :)

ShawneyJ 08-21-2007 11:40 AM

wow this will come in very handy thanks "installed"

alessai 08-21-2007 11:41 AM

loool :D nice one but :p i dont think im going to use it

blogtorank 08-21-2007 11:49 AM

Quote:

Originally Posted by jaycob (Post 1322260)
wow this will come in very handy thanks "installed"

You are very welcome!

Quote:

Originally Posted by alessai (Post 1322261)
loool :D nice one but :p i dont think im going to use it


LOL come on install it and try it out and use it for pranks or something :) "Sorry we are sleeping right now between the hours of 8:00AM - 6:00PM" or something like that :)

yahoooh 08-21-2007 12:24 PM

thanks , work great

blogtorank 08-21-2007 12:27 PM

Quote:

Originally Posted by yahoooh (Post 1322299)
thanks , work great

You are welcome, and can't seem to figure out what hours we wanna start shutting down :)

toddos 08-21-2007 12:37 PM

hey :D


thanks and nice work :)

but if i close a forum with this hack, can the user read the forum ? (i havent enough time at the moment to test it, sorry) He shouldnt can read it :)

blogtorank 08-21-2007 12:44 PM

Yes but all posting is turned off... I would allow the content to stay there for search engine reasons... Unless you don't care about search engines on your forums???

Let me know because we built this hack for you about 6 months later I think :D

alessai 08-21-2007 08:47 PM

this can be handy

can for example i use it when i need to upgrade my forum

because my members hate when they want to check a thred and find out i closed the whole forum to upgrade

if i can use it for that porpse
Quote:

I would allow the content to stay there for search engine reasons
can you allow this??

Ohiosweetheart 08-21-2007 08:59 PM

haha this would be so good to pull pranks on forum members.

blogtorank 08-21-2007 10:12 PM

Quote:

Originally Posted by alessai (Post 1322632)
this can be handy

can for example i use it when i need to upgrade my forum

because my members hate when they want to check a thred and find out i closed the whole forum to upgrade

if i can use it for that porpse

can you allow this??

Yes you can do this, they will view the forums, but are not allowed to post :)

0tolerance 08-26-2007 01:10 PM

This will be the perfect maintenance tool for me...
so i can say im closed for the next 30 minutes for maintenance.. and stuff is still accessible!
all your releases so far have been awesome!
keep them comming.

blogtorank 08-26-2007 08:33 PM

Quote:

Originally Posted by 0tolerance (Post 1326011)
This will be the perfect maintenance tool for me...
so i can say im closed for the next 30 minutes for maintenance.. and stuff is still accessible!
all your releases so far have been awesome!
keep them comming.

HAHA well I think it's a valuable add-on for anyone, just even as you said and then others that love to close their forums down for the night so they don't allow spammers to post up a storm ;) Thanks for the feedback, with feedback like this we will surely keep them coming.

etechno 08-28-2007 06:50 AM

This is a great tool, it's better than seeing the slogan we are closed for downtime and etc.. :) So give yourself the window and it's done.

toddos 08-28-2007 04:52 PM

hi again,
i tested it now :)

two features i would find nice:

- the whole forum (means the content, threadoverview) should be turned off, also it shouldn't be found by search engine
- then the closed message should be viewed in the main area where normally the thread overview is shown.

you understand me? sorry for my bad english ^^

toddos 08-30-2007 06:49 AM

blogtorank ? :)

blogtorank 08-30-2007 06:54 AM

Yes sir I got it notated, we are in the middle of a big project now that we are taking on that's another mod here on these forums. :) I will update you on this here at our earliest when we have a spare moment!

toddos 09-01-2007 11:18 AM

hi again,
how can i delete a forum from the closed list ?

i marked an other forum in the list, but the first forum is still closed.

where is it saved, so where can i change it manually ?

blogtorank 09-04-2007 05:29 AM

This should be done easily within the forums area that you selected when you first started to use this...

toddos 09-04-2007 08:12 PM

yes its unselected but it is still closed... ?!?!

toddos 09-08-2007 08:01 AM

blogtorank pls. help its a stupid problem

toddos 09-22-2007 08:51 AM

hello ? does anobody help me ?

lostgirl815 09-22-2007 09:13 AM

I would love to be able to do this with a single forum - set it on a timer, and have it close automatically. (I mean, as opposed to the entire board.)

toddos 09-29-2007 07:05 AM

is there any help ?

this ++++ing script crashed my forum and no one is helping me...stupid :(

sateurope 09-29-2007 08:04 AM

Hello Todos,

You can uninstall the script.
Than your problems will be over.

Greetings Angrymom:)

toddos 10-12-2007 04:01 PM

yeah, they are stupid... if they haven't any time, then they shouldnt code these products...

jhina 10-13-2007 05:10 AM

Its not working for me, I installed it but none of the forums close *shrugs* meh

tazzarkin 03-09-2008 02:06 AM

this would be a great mod if you could get the whole site to shut down. now that would be awesome!!

if you code that, it would really be great!!

Bosco Wong 04-10-2008 11:43 AM

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

With the </if>.... Please Help

Shawn Yue 04-14-2008 05:45 AM

Can Make This Work For 3.7.0 RC 3 And 3.7.0 x

ricker 07-08-2008 03:25 PM

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! :)

Vackrick 08-26-2008 06:45 AM

yes this work but it wont display the forum close message it will show all thread lock^^

TheJordan 04-28-2010 03:05 AM

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.


All times are GMT. The time now is 04:54 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.01224 seconds
  • Memory Usage 1,789KB
  • 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
  • (2)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (35)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete