Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
EZ Bounced Email Management for Admins Details »»
EZ Bounced Email Management for Admins
Version: 1.11, by Antivirus Antivirus is offline
Developer Last Online: Aug 2014 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 3.6.x Rating:
Released: 02-08-2007 Last Update: 07-13-2008 Installs: 502
DB Changes Uses Plugins
Additional Files  
No support by the author.

DESCRIPTION:
This mod will insert a special EZbounce link into the header of all emails sent from your forums. In the event any email bounces back to you, you simply click the EZbounce link and the Ezbounce script launches, which will modify the bouncing members settings to prevent further bouncing emails. It will also send that member a PM asking them to update their email address.

This modification is known to work with versions as high as 3.8.x


FEATURES:
  • Will not modify settings for Admins, Supermods, or Moderators if their email bounces
  • (if turned on) Bouncing member is moved to whatever usergroup you set in AdminCP EZbounce Settings
  • Updates bouncing member's "Receive Email from Administrators" setting to NO
  • Updates bouncing member's "Receive Email Notification of New Private Messages" setting to NO
  • Updates bouncing member's "Receive Email from Other Members" setting to NO
  • Remove email notification for all of bouncing member's subscribed THREADS
  • Remove email notification for all of bouncing member's subscribed FORUMS
  • Turns on Popup Notification of new Private Messages for bouncing member
  • PM is sent to Member notifying them of bounced email & asking them to update email address
  • (if turned on) When member updates & confirms their new email, they are returned to original usergroup.

Now, the next time you send a newsletter from your AdminCP, (so long as you only send emails to members whom have "Receive Email From Administrators" set to "Yes") you will no longer receive a bounced email from this member (because they are no longer being sent).

And also, if you created a new usergroup such as "Bounced Members" and set this usergroupid in this hack's settings, now the members that have bounced can be pruned, sent reminder emails, whateveryou want to do with them!


WHAT IF A MEMBER DECIDED TO CLICK ON THE LINK IN THE EMAIL HEADER?
Most email clients don't show the email's headers by default, however in the event a member is slick enough to view their header and they click on this mysterious link, they will simply receive a no permission message since they're unallowed to log in to the AdminCP.


ZIP FILE CONTENTS:
1 Product (2 plugins, a couple phrases & installcode which adds 1 colum to user table)
1 File


HOW TO VIEW FULL EMAIL HEADERS:
You might need to configure your email client to view full email headers in order to see the EzBounce link. There's detailed instructions on how to do this for the most popular email clients here.


CHANGELOG:
#> 1.11 - released on 7/6/2008:
Fixed bug reported in post #583

#> 1.10 - released on 12/18/2007:
Added when bouncing member is managed for bouncing, their "Pop Up a Notification Box When New PM Is Received" setting is turned on before the notification PM is sent, to better ensure they are notified to update their email address.
Bought the new CD entitled Sleaze Freak by Scum Of The Earth on Amazon.com

#> 1.9 - released on 9/22/2007:
Added when bouncing member is managed for bouncing, their "Pop Up a Notification Box When New PM Is Received" setting is turned on before the notification PM is sent, to better ensure they are notified to update their email address.
Modified the way old usergroupid is restored so methos is more compatible with other installed mods.
Optimized some queries in ezbounce.php and plugin codes.

#> 1.8 - released on 6/1/2007:
Bug fix - fixed array_merge error for those running php 5.

#> 1.7 - released on 5/8/2007:
Bug fix - fixed bug where old usergroup was incorrectly being restored.

#> 1.6 - released on 4/26/2007:
Added protective measure for Admins, Supermods, or Mods who's email may have bounced. this makes sure their usergroup and settings are not modified

even if their email bounces.
When bouncing member is managed for bouncing, their "Receive Email Notification of New Private Messages" is now set to NO.
When bouncing member is managed for bouncing, their "Receive Email from Other Members" is now set to NO.
When bouncing member is managed for bouncing, email notification is turned OFF for all of bouncing user's subscribed threads.
When bouncing member is managed for bouncing, email notification is turned OFF for all of bouncing user's subscribed forums.

#> 1.5 - released on 2/17/2007:
Added option in Settings which allows admin to insert the EZbounce link into outgoing email's message body (for email clients which make it difficult to show

email headers or don't properly parse html links when displaying email headers.
Fixed bug where original usergroupid was being erased in the event admin processed bounced more than once for same member

#> 1.4 - released on 2/17/2007:
Fixed bug - PM is now sent regardless of whether or not bouncing member had "Enable Private Messaging" turned off in UserCP.
Fixed bug - Usergroup is now properly reset to what it was before member was managed for bouncing

#> 1.3 - released on 2/15/2007:
New setting in AdminCP which gives option to move bouncing members into any usergroup of Admin's choice
If member had previously bounced, and they update their email, they are moved back to their original usergroup

#> 1.2 - released on 2/10/2007:
Bouncing members are now handled by setting their preference to receive admin emails to "no"
Sends PM to member notifying them email bounced
If / when member updates his/her email their preference to receive admin emails is reset to "yes"

#> 1.0 - released on 2/8/2007
Original release



If you like this hack, please click Nominate for MOTM

Download Now

File Type: zip EZ Bounced Email Management_v111.zip (7.5 KB, 1073 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
TAIFUN_T

Comments
  #292  
Old 06-06-2007, 01:22 PM
kether1 kether1 is offline
 
Join Date: Jun 2006
Posts: 232
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For some reason users are not being put back into their original user group after updating their email. When they click the link to verify that they have a valid email account, they get a blank screen. If they hit refresh, they are taken to the forum and the "no permission' error. They are also put into the "bounced email" group again.

I thought it might be an error on my part, so I had them place into the 'registered' group (2). I tested this and it worked. I clicked the link in the returned email and the user was put into group ID 2 - registered. But when that member updates their email address, the above happens (white screen after clicking link, etc...) AND they are put into the 'Bounce Email Group', the first group I created based on the recommendations in this modification. This group is a copy of the "User's awaiting Email Conformation" group.

So, even though I set them up to be put in the registered group when I click the EX-Bounce link in the returned email, (which they are at that point) - The user is placed into the New 'Bounced" group when they update their email.

What is wrong? Any idea? I have tested this every way I can. Please help!

[EDIT]
Additional information: Members who have not been 'moderated' by this modification can change their email address, but also get a blank page when clicking the link. They however, are able to hit refresh and go into the forum and continue in the same usergroup that they were in before they changed their email address. (Don't know if this was important, but thought it might help to know.) Thanks!

Thanks,
Kether
Reply With Quote
  #293  
Old 06-07-2007, 10:40 AM
Antivirus's Avatar
Antivirus Antivirus is offline
 
Join Date: Sep 2004
Location: Black Lagoon
Posts: 1,090
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

kether, what version of vbulletin are you running? have you disabled all other hacks and then tried clicking on the ezbounce link?

I have most current version installed and am having no problems.
Reply With Quote
  #294  
Old 06-07-2007, 12:13 PM
kether1 kether1 is offline
 
Join Date: Jun 2006
Posts: 232
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Antivirus View Post
kether, what version of vbulletin are you running? have you disabled all other hacks and then tried clicking on the ezbounce link?

I have most current version installed and am having no problems.
Most current version running also. The other products seem to be working fine. I do not have any that deal with usergroups or the mail system - unless VBSEO does something that I am not aware of that might cause this conflict.

Any other suggestion?

Thanks for your quick response!

Kether
Reply With Quote
  #295  
Old 06-07-2007, 05:15 PM
Antivirus's Avatar
Antivirus Antivirus is offline
 
Join Date: Sep 2004
Location: Black Lagoon
Posts: 1,090
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

try disabling all other mods/hacks then clicking on the EZbounce link.
Reply With Quote
  #296  
Old 06-12-2007, 05:13 AM
jluerken's Avatar
jluerken jluerken is offline
 
Join Date: Aug 2003
Location: Germany
Posts: 1,016
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Antivirus (Coder),

I noticed a little thing which should be added to this great hack.
I checked all bounced emails and used the link at the end of the emails to move the users to a defined group.
This worked fine but there should be a small change in the query.

The system should NOT change the users group when the user is in special (defined) groups already e.g. Administrator or banned.

I had a banned user which was moved into a different group cause I clicked the link and he was now able to use the system again. This happened cause if you get a lot of bouncing mails you do not check every single user.

Can you add an option that users are not move when they are in defined usergroups?
Reply With Quote
  #297  
Old 06-12-2007, 10:44 AM
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Posts: 2,601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why are you sending email to banned members?
Reply With Quote
  #298  
Old 06-13-2007, 01:28 PM
txsbmw txsbmw is offline
 
Join Date: May 2006
Posts: 238
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by txsbmw View Post
I notcied some people were having problems getting the bounced e-mails (as I am). I use my own domain e-mail addy and have not received any bounced e-mails even though I sent out a mass e-mail last night. Come to find out (even though I have my admin e-mail set up in the config.php as well as everywhere else such as AdminCP and such) the e-mails were being returned to my "catch all" account that was automatically created when I set up my hosting. I never use that account or even check it, and if I had not had stumbled across it in my Cpanel last night I would have never have known that is where the bounced e-mails were going. I have already contacted my hosting company to find out what is going on, but I thought I would let other users know that are using their domain e-mail address that if they are not getting the bounced e-mails to check their catch all account to see if they are there.
For those that may have had this problem (it was not just a vbulletin problem, but for all software that I use and use the PHP sendmail function). After almost a month my hosting company got this figured out (this use to not happen, seems to have started happening after they upgraded to PHP5). They fixed it and I asked what they did so others would know what to do if this was happening to them, here is what they said after I sent them one of the e-mail headers:

As I can see your message headers are formed incorrectly (envelope sender address isn't specified explicitly, so actual address is composed from your account name and server's hostname).

Here is what they said they did to fix it:

I've changed sendmail command syntax in your local php.ini file, i've added envelope sender address option to its command line.
Reply With Quote
  #299  
Old 06-13-2007, 08:21 PM
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Location: Netherlands
Posts: 3,537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It would be nice if it was possible to hand this task to a moderator. But this only works from the adminCP. Could you put this in the modCP?
Reply With Quote
  #300  
Old 06-14-2007, 12:34 PM
Antivirus's Avatar
Antivirus Antivirus is offline
 
Join Date: Sep 2004
Location: Black Lagoon
Posts: 1,090
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Alfa1 View Post
Could you put this in the modCP?
You could easily modify the hack to do this. All you need to do is the following:

1) Within the AdminCP settings for this hack, change the path for your AdminCP directory to the path to your ModCP directory. In other words, the setting for your Admincp dir will actually be path to your Modcp dir.

2) Within script ezbounce.php find:
PHP Code:
if (!can_administer('canadminsettings'))
{
    
print_cp_no_permission();

and replace with:
PHP Code:
if (!is_member_of($bbuserinfo5,6,7))
{
    
print_cp_no_permission();

Make sure that 5,6,7 are the usergroups which you want to be able to access the script. The default mod, supermod and admin usergroups are 5,6,7 if yours have changed, update respectively. Then instead of placing the ezbounce script within your adminCP, place it within your Modcp.

I haven't tested this, but it should work for you.
Reply With Quote
  #301  
Old 06-15-2007, 02:40 AM
cashpath cashpath is offline
 
Join Date: Jul 2003
Posts: 216
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can this be updated to move a members thread notification setting to off?

As in the automatic thread subscriptions.
Reply With Quote
Reply


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 08:41 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06696 seconds
  • Memory Usage 2,362KB
  • Queries Executed 26 (?)
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
  • (2)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
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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_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
  • 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
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete