Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

Reply
 
Thread Tools
Poor Man's Bounced Email Handler Details »»
Poor Man's Bounced Email Handler
Version: 1.00, by rebelde rebelde is offline
Developer Last Online: May 2015 Show Printable Version Email this Page

Category: Add-On Releases - Version: 4.2.0 Rating:
Released: 08-07-2012 Last Update: Never Installs: 5
Uses Plugins
Re-useable Code Is in Beta Stage  
No support by the author.

This modification has been replaced by the full Bounced Email Handler. Please use that one instead.


------------------------------------------------------------------------

What does the bounced email handler do?

It stops sending emails to addresses that are no longer valid. This helps keep your email from being marked as spam.

More technically:
  1. It collects bounced emails, counts them and marks user accounts as "do not send email".
  2. It stops sending "new post" notifications to those addresses.
What it does not do:
It does not stop sending any other emails such as:
- forum subscription updates
- Happy birthday messages
- PM notifications
- other important emails

Why is it a "Poor Man's" bounce handler?
Because this is just a hack. It blocks a lot of emails, but not all that should be blocked. Also, it just leaches off of DBTech's hard work in building a bounce handler as part of his vBMail mod. Still, it is better than nothing, and that is what I had before.

I hope to encourage somebody (like you!) or vBulletin to code something better. I just don't have time to do it myself.


To install:
  1. Install DBTech's vBMail. This is required!
  2. Set up an email address to handle bounces.
  3. Set your vBMail options similar to the ones in poor-mans-reply-all-installation-instructions.txt
  4. Install this plugin.
Done!

Please, somebody, create a real bounce handler!
The steps:
0. [s]Get DBTech's permission. If you can't get permission,[/s] rewrite their code.
1. Strip down and modify DBTech's excellent vBMail work to just what we need, see how it works and rewrite it. (Everything leading up to marking users in the user table as "do not email".)
2. Improve it to do a better job of deciding when to mark an email address as a bad. (With some types of responses, you don't need to wait for five bad emails.)
3. Find a way to stop sending other emails that shouldn't be sent such as forum subscription updates and birthday messages.
Can you do just one of these steps? Any help is appreciated.

Special thanks to DBTech for his work. What I did here is really very little. DBTech did the hard work.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 03-31-2014, 06:47 PM
rebelde rebelde is offline
 
Join Date: Jun 2008
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've just fixed it up and released it as its own add-on. It is the same but I improved the phrase text quite a bit to make it more understandable.

Please test it if you can and suggest any improvements to the instructions.
Reply With Quote
  #23  
Old 03-31-2014, 06:56 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rebelde View Post
I've just fixed it up and released it as its own add-on. It is the same but I improved the phrase text quite a bit to make it more understandable.

Please test it if you can and suggest any improvements to the instructions.
Sure thing, Thanks :up:
Reply With Quote
  #24  
Old 03-31-2014, 07:11 PM
rebelde rebelde is offline
 
Join Date: Jun 2008
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RichieBoy67 View Post
Some type of a log would be good also to see what it is actually doing.
Actually, if you click Run Now in Scheduled Tasks, it will show you the log of the current operation. I'm going to add that to my instructions now in the new mod.

Thanks for testing it!
Reply With Quote
  #25  
Old 04-01-2014, 10:22 PM
CharlieDelta CharlieDelta is offline
 
Join Date: Apr 2010
Posts: 616
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So I kept this installed but just disabled assuming it would be updated. Would it be possible to get a copy of this old mod so I can confirm what files to delete and uninstall?
Reply With Quote
  #26  
Old 04-02-2014, 01:01 AM
rebelde rebelde is offline
 
Join Date: Jun 2008
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by CharlieDelta View Post
Would it be possible to get a copy of this old mod so I can confirm what files to delete and uninstall?
I think this is the whole thing:
PHP Code:
<?xml version="1.0" encoding="ISO-8859-1"?>

<plugins>
    <plugin active="1" executionorder="5" product="vbulletin">
        <title><![CDATA[Poor Man's Bounce Handler, requires vBMail (Lite)]]></title>
        <hookname>newpost_notification_message</hookname>
        <phpcode><![CDATA[if ($touser['dbtech_vbmail_bounceflag'])
{
    continue;
}]]></phpcode>
    </plugin>
</plugins>
No file uploads, database changes or anything.
Reply With Quote
Благодарность от:
CharlieDelta
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:02 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.04060 seconds
  • Memory Usage 2,258KB
  • Queries Executed 22 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (6)post_thanks_box
  • (1)post_thanks_box_bit
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (6)postbit_onlinestatus
  • (6)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete