![]() |
On/Off Forum CronJobs
On/Off Forum CronJobs About this hack: If your forum has scheduled backups and you dont want new data to collide with the backup, or if you dont want your forum accessed at certain times, this is the perfect extension for you. This simple cronjob will automaticly close or open your vBulletin forum :). Features: Automaticly Open and close your forums at assigned times. Guaranteed to be useful when automated backups are being processed. Installation information on hack: Files edited: 0 Templates edited: 0 Files to upload: 2 Cronjobs to add: 2 Time to install: 5 minutes max MAKE SURE YOU CLICK INSTALL! Supports all 3.5 version boards. |
FAQ
Q: Does this backup the database? A: No, it closes and opens the forum for whilst a backup is in process. Q: Where can I recieve support for this? A: In this thread or by sending a private message to me or Chris M. Q: Do i need to CHMOD any of the files? A: No, they should be set as 644 as default. |
Installed :D
Chris |
Installed. (And paid for). ;)
|
Installed!
|
Very Good Idea!
/me Clicks Install |
Hehe glad this is getting more attention than expected :)
|
very good :)
|
Good idea! Installed. :)
|
looks cool, i may install it later :)
|
Quote:
|
Hm.. I'm not extremely familiar with cron jobs, but from what I understand..
You're able to set up a cron job to do a database backup? And with this mod, turn vB off at the same time as the backup? Does it automatically detect when the backup is finished and come back online, or would you have to set it to go offline for an hour? Thanks, |
Quote:
|
Quote:
|
Excellent hack will install when I finally finish our upgrade to 3.5. Will be absolutely perfect AS IS for us.
|
Added some FAQ's.
|
can be used for 3.0.7?
|
I am the guy who paid to have this script made and then allowed it to be release to the community for free. :)
Now I am having a problem. On the servers where I have this running va cron in the AdminCP it works great. I have one windows server where I want to run the scripts with a batch file. I am using the command line: c:\php\php.exe -f c:\domains\mydomainnameremoved\wwwroot\includes\cr on\forumoff.php I do not get any errors when running it via the command line. But the forum does not shut down (or open back up). Any ideas? |
Quote:
|
Quote:
|
I haven't looked at it, but you can't normally call a cron script direct.
|
Quote:
|
Hy
I try this the last night. The Idea was to turn off the forum for about 5 minutes. Install was not a problem, also the add of the both cronjobs. But...there was nothing going on. There is no entry in the log for the off an also not for the forum on. So, now i don't know whats going on and whats not going on. Anybody any idea? cu SwissPegasus Edit: If i start this manualy in the admin cp, everything works fine. Maybe there is a problem on building datastore? |
*Works fine on 3.5.4* :)
|
for some reason it is not turning the forum back on
could this be because cron jobs dont work while the forum is offline? (read that on VB.com) also running 3.5.0 anychance we can get it to just turn off the forum for 10 minutes or 15 minutes and then turn it back on? instead of having 2 cron jobs. And anything that will display a custom message? |
This cron working in my forum,I see in schedule.But forum not closed.
Any idea for that ? Edit: Same problem for me Quote:
Also I find this message from vb http://www.vbulletin.com/forum/showp...67&postcount=2 |
Quote:
|
Are you still in work :)
|
Ok attachment updated, please tell me if you have any more problems :)
|
Did you try this cron realy ? Because still same,cron is working I see in logs,manual working is OK but automatic closed still not working.
|
now it doesnt turn off forums.
it turned them off for me before but now it doesnt. |
i get an unexpected t_string on line 26
it appears it doesnt like semi colons |
CAN anyone get this working the right way?
|
All times are GMT. The time now is 04:01 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|