![]() |
|
|
Mod Options |
Limit Database Error Mails Details »»
|
|||||||||||
|
Limit Database Error Mails
Developer Last Online: Dec 2010
Hack: Limit Database Error Mails
Version: v1.00 Author: MarcoH64 for vBulletin.org vB Version: 3.5.0 File edits: 1 + 1 (config.php) Disclaimer: This hack may not be modified or distributed without the explicit permission of the author. The author don't take responsibility for any problems caused by this modification. Description: With this hack installed you can limit the number of emails sent to your technical mail address in case of Database Errors. You can specify an interval in seconds between sending mails. All errors generated after the first error, until interval is passed, are not mailed. Optionally you can specify a different interval for different types of errors. Operating system files will be used to keep track of the last mail sent. These will be zero byte files, so won't take any space. Donations? If you like this work and want to make a donation, your gifts are always welcomed at Paypal: marcoh64@gmail.com PS No screenshots!! ![]() Download Now Only licensed members can download files, Click Here for more information. Show Your Support
No members have liked this post.
|
|||||||||||
| Comments |
|
#2
|
|||
|
|||
|
I will have a look at this, as i get quite frustrated to see my inbox full of db error emails
![]() Thanks in Advance. No members have liked this post.
|
|
#3
|
|||
|
|||
|
Oh YEA, this feature should be a default feature for vBulletin.. thanks!
No members have liked this post.
|
|
#4
|
|||
|
|||
|
Then please click install
![]() Edit: Oops you just did ![]()
__________________
Marco van Herwaarden Ex vBulletin.org Coordinator No members have liked this post.
|
|
#5
|
|||
|
|||
|
Thanks Marco...this rocks.
Does anyone have a plugin / solution for this: I want to not display the ugly database error when the DB is down on non-vb pages where global.php is included.
__________________
NovaWarfare.com - Bringing back the Game - http://www.NovaWarfare.com Website Hosting - Game Server Hosting - http://www.freaks-network.com Teamspeak Status Block for vBAdvanced / PHP-Nuke / php Include PM me if you need hacks installed or simple template modifications...I'm cheap.. No members have liked this post.
|
|
#6
|
||||||||||||
|
||||||||||||
|
Originally Posted by jugo
In includes/class_core.php, find:
And replace by:
Then in the top of your non vb page script:
PS This is not tested.
__________________
Marco van Herwaarden Ex vBulletin.org Coordinator No members have liked this post.
|
||||||||||||
|
#7
|
|||
|
|||
|
Thanks Marco...that gave me a whole bunch of other ideas.
They should put a hook there.
__________________
NovaWarfare.com - Bringing back the Game - http://www.NovaWarfare.com Website Hosting - Game Server Hosting - http://www.freaks-network.com Teamspeak Status Block for vBAdvanced / PHP-Nuke / php Include PM me if you need hacks installed or simple template modifications...I'm cheap.. No members have liked this post.
|
|
#8
|
|||
|
|||
|
Yes i agree, and i don't agree.
This is a crucial part of the code and will get executed in case of database errors. No Database = No plugins to be executed = Hooks are useless.
__________________
Marco van Herwaarden Ex vBulletin.org Coordinator No members have liked this post.
|
|
#9
|
||||
|
||||
|
Go Go Marco, this is really something I need. I'm sick of database error emails on my test board.
/me installs No members have liked this post.
|
|
#10
|
|||
|
|||
|
Well on your testboard, you can simply remove the tech email from the config.php. You won't get any mails at all.
__________________
Marco van Herwaarden Ex vBulletin.org Coordinator No members have liked this post.
|
|
#11
|
||||
|
||||
|
Well actually my test board is open to the public, since my real board is closed untill vbspace is completed. So I just want to limit emails, not completely disable them.
No members have liked this post.
|
|
#12
|
|||
|
|||
|
Ok, well then this hack is just what you need.
![]() Please give feedback if there is anything you still need in this.
__________________
Marco van Herwaarden Ex vBulletin.org Coordinator No members have liked this post.
|
|
#13
|
||||
|
||||
|
Will do Marco when I fully test this thing out. (Haven't had time today)
![]() No members have liked this post.
|
|
#14
|
|||
|
|||
|
And did you already have time to test?
__________________
Marco van Herwaarden Ex vBulletin.org Coordinator No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
| Mod Options | |
|
|
| New To Site? | Need Help? |
All times are GMT. The time now is 06:18.








