|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
A question to all you Forum Gurus
Do you guys know how to make phpBB or vBulletin turn inactive or closed during specific times of the day.. I'm sure there is a hack to do it.. or if someone could write one.. that would be awesome.. Our school system does not allow us to view forums during specific times of the day during the school year. We would like to use a forum system to post messages rather than mass-email everyone..
So i'm wonding if it can be done or not.. Thanks |
|
#2
|
|||||
|
|||||
|
Re: A question to all you Forum Gurus
Not that I am familiar with.. But wouldn't the easiest way to follow the school policies be to just not look at it during those times??
For example, our team forum is just for messages. I'm not sure as to what you mean "mass e-mail" people through team forums. The basic use of a forum system is to act as a bulletin board, or post messages and reply to these messages. I know that "mass e-mailing" is possible through certain forum systems, like this one for example, but if you just want post messages and also adhere to school policies, just do not visit the forums. Simple. |
|
#3
|
|||||
|
|||||
|
Re: A question to all you Forum Gurus
If you use phpBB or vBulletin, they have the ability to be shut off. You can write a script that runs whenever you need to turn the site on & off. I use one for the backups. You'll notice, if you are on chiefdelphi at 5:47am EST, the forums are off. That is all automagic.
|
|
#4
|
|||||
|
|||||
|
Re: A question to all you Forum Gurus
in phpBB you'd need to run the MySQL query to disable your forums:
Code:
UPDATE `phpbb_config` SET `config_value` = '1' WHERE `config_name` = 'board_disable' Code:
UPDATE `phpbb_config` SET `config_value` = '0' WHERE `config_name` = 'board_disable' Make a file called formonoff.php Place this file in your main forums directory (That's the one with the files like index.php, posting.php, etc..) Even though the script does use some simple security to prevent people from using their web browser to use the script, you might want to edit your .htaccess file, or set the permissions in such a way that your web server can't execute it. Place the following code in the file: PHP Code:
Code:
php -f /PATH_TO_FORUMS_HOME/formonoff.php off e7YMe8 Code:
php -f /PATH_TO_FORUMS_HOME/formonoff.php on e7YMe8 ![]() hope this helps ya ![]() (ps: I'm not really sure why you'd want them to turn off/on at times of the day.. but.. heh. whatever works for ya )Jack |
|
#5
|
||||
|
||||
|
Re: A question to all you Forum Gurus
Quote:
(Sorry, slightly off topic.)But yeah, if the forums are disabled by the school, doesn't that mean you aren't supposed to access them? ![]() |
|
#6
|
|||
|
|||
|
Re: A question to all you Forum Gurus
Well yes.. but they are ways around it.. but i'm not sure if we will actually use a forum system.. it was just brought up and I was thinking of a way to do it without getting in trouble.. but thanks guys.. that's some good scripts..
Thanks |
|
#7
|
|||||
|
|||||
|
Re: A question to all you Forum Gurus
Quote:
![]() |
|
#8
|
|||||
|
|||||
|
Re: A question to all you Forum Gurus
I don't know... does 47 have any special significance? Hmmmmm.
![]() |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| moderators for Q&A forum | Ken Leung | CD Forum Support | 25 | 03-01-2003 18:15 |
| my idea of a question forum... | Ken Leung | General Forum | 12 | 30-11-2002 12:17 |