Facebook Page
Twitter
RSS
+ Reply to Thread
Results 1 to 7 of 7
  1. Администратор
    Jameson's Avatar
    Status
    Offline
    Join Date
    Jan 2012
    Posts
    3,736
    Thanks
    12,301 times
    Thanked
    10,070 times
    Thank/Post
    2.695
    Trophies
    1 Highscore
    Awards
    MHB Statistics Award (2017)  

MHB Statistics Award (2015)  

MHB Statistics Award (2014)
    #1
    Hi MarkFL,

    I have an idea for vB4 product: limiting error emails to once per time frame.

    As you know when any database crashes or some other issue arises it usually leads to 20-100 emails in a short burst that completely flood one's inbox. I think in these cases, one email is sufficient. I saw that there was a product like this for vB3, but I didn't see one for vB4. I think forum admins would really like this feature.

  2. # ADS
    Circuit advertisement
    Join Date
    Always
    Posts
    Many
     

  3. Pessimist Singularitarian
    MHB Coder
    MHB Math Helper
    MHB Ambassador
    MarkFL's Avatar
    Status
    Offline
    Join Date
    Feb 2012
    Location
    St. Augustine, FL.
    Posts
    13,296
    Thanks
    34,251 times
    Thanked
    31,640 times
    Thank/Post
    2.380
    Trophies
    25 Highscores
    Awards
    MHB Chat Room Award (2017)  

MHB Calculus Award (2017)  

MHB Pre-University Math Award (2017)  

MHB Statistics Award (2016)  

MHB Calculus Award (2016)
    #2
    Quote Originally Posted by Jameson View Post
    Hi MarkFL,

    I have an idea for vB4 product: limiting error emails to once per time frame.

    As you know when any database crashes or some other issue arises it usually leads to 20-100 emails in a short burst that completely flood one's inbox. I think in these cases, one email is sufficient. I saw that there was a product like this for vB3, but I didn't see one for vB4. I think forum admins would really like this feature.
    Hey Jameson,

    I found something that should work for us, as far as I can tell, here:



    It requires hacking the core file "/includes/class_core.php" at a specified location, which I have verified exists in the vB 4.2.5 version. My question to you, which version of SQLite do we have installed?

  4. Администратор
    Jameson's Avatar
    Status
    Offline
    Join Date
    Jan 2012
    Posts
    3,736
    Thanks
    12,301 times
    Thanked
    10,070 times
    Thank/Post
    2.695
    Trophies
    1 Highscore
    Awards
    MHB Statistics Award (2017)  

MHB Statistics Award (2015)  

MHB Statistics Award (2014)
    #3 Thread Author
    Quote Originally Posted by MarkFL View Post
    Hey Jameson,

    I found something that should work for us, as far as I can tell, here:



    It requires hacking the core file "/includes/class_core.php" at a specified location, which I have verified exists in the vB 4.2.5 version. My question to you, which version of SQLite do we have installed?
    Oh nice! My apologies, I think this didn't exist.

    I just checked the AdminCP and I think we are using 3.7.17. Does that help or make sense?

  5. Pessimist Singularitarian
    MHB Coder
    MHB Math Helper
    MHB Ambassador
    MarkFL's Avatar
    Status
    Offline
    Join Date
    Feb 2012
    Location
    St. Augustine, FL.
    Posts
    13,296
    Thanks
    34,251 times
    Thanked
    31,640 times
    Thank/Post
    2.380
    Trophies
    25 Highscores
    Awards
    MHB Chat Room Award (2017)  

MHB Calculus Award (2017)  

MHB Pre-University Math Award (2017)  

MHB Statistics Award (2016)  

MHB Calculus Award (2016)
    #4
    Quote Originally Posted by Jameson View Post
    Oh nice! My apologies, I think this didn't exist.

    I just checked the AdminCP and I think we are using 3.7.17. Does that help or make sense?
    According to the product thread, the code that has to be added to the core file is different for version 3.x, but someone has provided the change. I'll give it a try tonight.

  6. Pessimist Singularitarian
    MHB Coder
    MHB Math Helper
    MHB Ambassador
    MarkFL's Avatar
    Status
    Offline
    Join Date
    Feb 2012
    Location
    St. Augustine, FL.
    Posts
    13,296
    Thanks
    34,251 times
    Thanked
    31,640 times
    Thank/Post
    2.380
    Trophies
    25 Highscores
    Awards
    MHB Chat Room Award (2017)  

MHB Calculus Award (2017)  

MHB Pre-University Math Award (2017)  

MHB Statistics Award (2016)  

MHB Calculus Award (2016)
    #5
    Unfortunately, none of the code provided in that thread works correctly here.

  7. Pessimist Singularitarian
    MHB Coder
    MHB Math Helper
    MHB Ambassador
    MarkFL's Avatar
    Status
    Offline
    Join Date
    Feb 2012
    Location
    St. Augustine, FL.
    Posts
    13,296
    Thanks
    34,251 times
    Thanked
    31,640 times
    Thank/Post
    2.380
    Trophies
    25 Highscores
    Awards
    MHB Chat Room Award (2017)  

MHB Calculus Award (2017)  

MHB Pre-University Math Award (2017)  

MHB Statistics Award (2016)  

MHB Calculus Award (2016)
    #6
    I was looking over the core file more closely, and I found that vB already has an error suppression algorithm in place (I don't know when this was added, but presumably after the code I tried was published), but it is hard coded to suppress errors reported within 60 seconds of each other. I edited that value to 1800 seconds (30 minutes) and ran a bad query several times during a 5 minute period and only received 1 db error email.

    After the 30 minutes from the initial error report has elapsed, I'll run the bad query again to see if I get an email.

    edit: After the initial 30 minutes expired, I ran the bad query several more times, and only received one additional db error email. This seems to be working.

  8. Pessimist Singularitarian
    MHB Coder
    MHB Math Helper
    MHB Ambassador
    MarkFL's Avatar
    Status
    Offline
    Join Date
    Feb 2012
    Location
    St. Augustine, FL.
    Posts
    13,296
    Thanks
    34,251 times
    Thanked
    31,640 times
    Thank/Post
    2.380
    Trophies
    25 Highscores
    Awards
    MHB Chat Room Award (2017)  

MHB Calculus Award (2017)  

MHB Pre-University Math Award (2017)  

MHB Statistics Award (2016)  

MHB Calculus Award (2016)
    #7
    I've worked this into a vB product, which can be found here:



    Note: I've installed this here at MHB, and set the suppression to 1800 (30 minutes), but this can now easily be changed from within the AdminCP.

Similar Threads

  1. Analysis suggestion
    By mathworker in forum Analysis
    Replies: 6
    Last Post: July 8th, 2013, 00:21
  2. [SOLVED] Suggestion regarding one of the BBCodes (the throbbing heart)
    By MarkFL in forum Questions, Comments, and Feedback
    Replies: 8
    Last Post: April 21st, 2013, 16:49

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Math Help Boards