vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Administrative and Maintenance Tools - Auto Bounce Messages Management (https://vborg.vbsupport.ru/showthread.php?t=181936)

Hornstar 12-20-2008 03:41 AM

I have a feeling it is because of this modification that I was finally able to send out 200 000 emails without my site lagging and crashing to death lol.

This morning I set it to send out to 1000 people at a time, and it just finished sending. My server load was under 5 all day which is fantastic compared to past results. and I just went to my mail queue and there are only 92 people left in the mail queue! I will check those accounts to see what happens to them in the next few days, but so far they are all still reg accounts. Thanks :)

Alfa1 12-25-2008 12:28 PM

Quote:

Originally Posted by Milad (Post 1686028)
It didn't die. I just have no time to continue the development. I've already started the beta 2.

If I have two projects, paid and non-paid. I would choose to work on the paid one for sure.

This mod doesn't get the support it needs, as members here refuse to post a back link to my website, and on the other side they ask for product improvements. I'm kind of disappointed by the community response.

So, this mod need to be sponsored by someone, as it's not on top of my priority list.

If you update this hack, so that it works and does the following, then I will donate $100. I am sure others will also donate. I ask others that want to donate to post here.
  • different responses to different error codes / Custom filters to match patterns in bounced emails. i.e. permanent error, mailbox full, etc should get a different response. Not many webmasters want their members account inactivated when a mailbox is full.
  • Does not affect moderators, super moderators and admins
  • Turn off all email notifications & remove subscriptions
  • Stats on members with bouncing emails, and error codes
  • Turns on Popup Notification of new Private Messages for bouncing member
  • Automatically send a notification PM to bouncing Member (customizable message)
  • Return members to their original usergroup when the member updates & confirms their new email.
That the following information is added to the bottom of all outgoing email messages:
  • If the email is an subscription, then add an explanation how to remove subscriptions by going to the userCP.
  • If the email is an subscription, then add an explanation how to stop receiving email from the site by going to the userCP.
  • To which email address the email has been sent.
  • Why the recipient is receiving the email. i.e. You have subscribed to thread X with your account Y on website Z.
  • From who(Name and url of site) the email is sent
  • How often the email will be sent.
  • The physical address of the organisation sending the email.
This would comply to the demands of large email providers like hotmail, AOL, Gmail, Yahoo, etc. For more information, see this article: How to keep your board from getting blacklisted as a spammer

raagaswaram 01-03-2009 07:03 PM

does this work on 3.6.8

Zachery 01-04-2009 04:55 AM

Quote:

Originally Posted by Milad (Post 1686028)
It didn't die. I just have no time to continue the development. I've already started the beta 2.

If I have two projects, paid and non-paid. I would choose to work on the paid one for sure.

This mod doesn't get the support it needs, as members here refuse to post a back link to my website, and on the other side they ask for product improvements. I'm kind of disappointed by the community response.

So, this mod need to be sponsored by someone, as it's not on top of my priority list.

Regards

Are you really that suprised that people don't want to provide a link to your webiste on every page of their forum for your back-end administrative feature. Thats like Brad wanting a link to his website for vB-Pizza Boy. Ok, so that is a stretch. But like I said before, you should be developing modifications that you use for your own needs or reasons. Not specificly to gain recognition. I understand you need to pay your bills, I'm sure many people would be willing to pay you for your time and effort to code addons. But none of us want a link to your website on _every_ page of our forum for something that none of our users will get any benifit out of.

You do good work, but the way you want to get recognized for it is not so well thought out.

Its a shame really, the community used to be alot more friendly. People helped each other and great things came from it.

franzis 01-06-2009 10:53 AM

now i got following infomation in my acp, but i'm not sure how to handle with them.

1) can i have a look at ... maybe a users list.. where it's notived which users are now in an other usergroup?
2) can i set up the time when the cronejob moves the users? it does it one time a day, ok, but what time?
is there a crone-log to have a look at?

or maybe my crone doesn't work if there's no log?
i can see the 4 users noticed on my acp screen for more than a week.. shouldn't change that number (into f.e. zero not available users) the next day?

yours sincerely
franzis

Skyrider 01-06-2009 01:38 PM

I can't get this to work, any idea why?

Quote:

Connected to the POP3 server "pop.gmail.com".
User "forum@xxxxx.net" logged in.
There are 1 message(s) in the mail box with a total of 2783 bytes.
Disconnected from the POP3 server "pop.gmail.com".
That 1 message has the following email:
Quote:

To: idonotexistherebecauseijustdont@gmail.com
Auto-Submitted: auto-generated
Return-Path: bounce@xxxxx.com
Message-ID: <20090106153133.6886912a2f2e@forum.xxxxx.net>
Yet, it didnt moved me nor did any action. And this is not a test. I forced a run..

Milad 01-06-2009 02:48 PM

this is a beta product

MissKalunji 01-14-2009 04:43 PM

i'de love to get more details on that sponsor comment .....i'm not too familiar with that?

kahethu 03-12-2009 10:36 PM

Quote:

Originally Posted by Alfa1 (Post 1693425)
If you update this hack, so that it works and does the following, then I will donate $100. I am sure others will also donate. I ask others that want to donate to post here.
  • different responses to different error codes / Custom filters to match patterns in bounced emails. i.e. permanent error, mailbox full, etc should get a different response. Not many webmasters want their members account inactivated when a mailbox is full.
  • Does not affect moderators, super moderators and admins
  • Turn off all email notifications & remove subscriptions
  • Stats on members with bouncing emails, and error codes
  • Turns on Popup Notification of new Private Messages for bouncing member
  • Automatically send a notification PM to bouncing Member (customizable message)
  • Return members to their original usergroup when the member updates & confirms their new email.
That the following information is added to the bottom of all outgoing email messages:
  • If the email is an subscription, then add an explanation how to remove subscriptions by going to the userCP.
  • If the email is an subscription, then add an explanation how to stop receiving email from the site by going to the userCP.
  • To which email address the email has been sent.
  • Why the recipient is receiving the email. i.e. You have subscribed to thread X with your account Y on website Z.
  • From who(Name and url of site) the email is sent
  • How often the email will be sent.
  • The physical address of the organisation sending the email.
This would comply to the demands of large email providers like hotmail, AOL, Gmail, Yahoo, etc. For more information, see this article: How to keep your board from getting blacklisted as a spammer

I'll donate...

For now I choose not to install it based on the comments on this thread.
will keep an eye

Zachery 03-13-2009 01:20 AM

He said he'd remove it originally in the first few pages of the thread, then never did.

AngelBlue 04-10-2009 03:59 AM

Quote:

Originally Posted by AngelBlue (Post 1566332)
I've added some code so that bouncing users now get:
* Popup PM notification set to YES
* Receive admin emails set to NO
* Recieve email PM notification set to NO
* Thread subscription mode set to "no email" (if it was previously set to instant, daily or weekly email)
* All their thread and forum subscriptions set to 'no email'.
* A PM to explain the above.

To do this, I replaced the code in your "Move Users To Bounce Usergroup" plugin with this:

Code:

$bounces = $vbulletin->db->query_read("
        SELECT messageid, toemail
        FROM " . TABLE_PREFIX . "sent_email
        WHERE bounced = 1
");

if ($vbulletin->db->num_rows($bounces) > 0)
{
        $toemails = array();
        $messageids = array();
       
        while ($bounce = $vbulletin->db->fetch_array($bounces))
        {
                $toemails[] = "'" . $bounce['toemail'] . "'";
                $messageids[] = $bounce['messageid'];
        }
        $toemails = array_unique($toemails);

        // start added code here... define data for PM data manager

        $tonames = array();
        $touids = array();
        $myuid = 1;
        $fromuser = fetch_userinfo($myuid);

        $message = "We tried to deliver an email to you, but unfortunately, it bounced. To prevent us sending more mail to you while your email provider is not accepting it, we have deactivated all the email-related features of your account. To reactivate your account, go to your UserCP, and update your email address. You will then get a confirmation email. Clicking on the link in this confirmation email should re-enable your account, at which point you will need to visit your UserCP options page to re-enable the email notifications you wish to use.";

        $affected = $vbulletin->db->query_read("SELECT userid,username FROM " . TABLE_PREFIX . "user WHERE email IN (" . implode(', ', $toemails) . ")");
        while ($affected = $vbulletin->db->fetch_array($affected)) {
                $tonames[] = $affected['username'];
                $touids[] = $affected['userid'];
        }
        $tonames = array_unique($tonames);
        $pmdm =& datamanager_init('PM', $vbulletin, ERRTYPE_SILENT);
        $pmdm->set('fromuserid', '1');
        $pmdm->set('fromusername', 'EmailBot');
        $pmdm->set_info('reciept', false);
        $pmdm->set_info('savecopy', false);
        $pmdm->set('title', 'Email Broken!');
        $pmdm->set('message', $message);
        $pmdm->set_recipients(implode(";",$tonames), $fromuser['permissions']);
        $pmdm->set('dateline', TIMENOW);
        $pmdm->save();

       
       
        // this is stock mod code to move them to the different usergroup.
        $vbulletin->db->query_write("UPDATE " . TABLE_PREFIX . "user SET usergroupid = " .  $vbulletin->options['bm_usergroup'] . ", membergroupids = '', displaygroupid = 0 WHERE usergroupid NOT IN (" . $vbulletin->options['bm_excludeusergroups'] . ") AND email IN (" . implode(', ', $toemails) . ")");

        // and stock code to delete their message tracking info...
        $vbulletin->db->query_write("DELETE FROM " . TABLE_PREFIX . "sent_email WHERE messageid IN (" . implode(', ', $messageids) . ")");

        // continue custom code to update their user options...
        // stop them generating any more email!

        // pm popup = YES
        $vbulletin->db->query_write("UPDATE " . TABLE_PREFIX . "user SET pmpopup = 1 WHERE email IN (" . implode(', ', $toemails) . ")");
       
        // send notification email on PM - NO
        $vbulletin->db->query_write("UPDATE " . TABLE_PREFIX . "user SET options = (options - 4096) WHERE (options & 4096) AND email IN (" . implode(', ', $toemails) . ")");

        // admin email OFF
        $vbulletin->db->query_write("UPDATE " . TABLE_PREFIX . "user SET options = (options - 16) WHERE (options & 16) AND email IN (" . implode(', ', $toemails) . ")");

        // set autosubscribe = without email WHERE autosubscribe_with_email
        $vbulletin->db->query_write("UPDATE " . TABLE_PREFIX . "user SET autosubscribe = 1 WHERE (autosubscribe > 1) AND email IN (" . implode(', ', $toemails) . ")");

        // set emailupdates = 0 for their thread subscriptions
        $vbulletin->db->query_write("UPDATE " . TABLE_PREFIX . "subscribethread SET emailupdate = 0 WHERE (emailupdate > 0) AND userid IN (" . implode(', ', $touids) . ")");

        // set emailupdates = 0 for their forum subscriptions
        $vbulletin->db->query_write("UPDATE " . TABLE_PREFIX . "subscribeforum SET emailupdate = 0 WHERE (emailupdate > 0) AND userid IN (" . implode(', ', $touids) . ")");

        // finish
        unset($toemails, $messageids);
}

$vbulletin->db->free_result($bounces);


Changed the lines listed in bold to avoid a 'only variables may be passed by reference' error when the hourly2 cleanup job runs. If you are using my patch, above, you should update. This error can prevent the running of that job, without alerting you.

Smitty 04-10-2009 04:58 AM

Quote:

Originally Posted by Alfa1 (Post 1693425)
If you update this hack, so that it works and does the following, then I will donate $100.

I'd throw in US$50. I deal with bounces daily and hate it.

Milad 04-10-2009 05:36 AM

Will continue beta 2 as soon as I have time.

wfouly 05-16-2009 03:03 AM

Uninstalled
it stop the all mail function of the forum
so members waiting email activation not activated

Adam_EOGamer 06-03-2009 01:32 PM

Just a warning before anyone else adds this
It automatically placed a link in the footer of your forum, which when clicked, goes to the Syrian medical society (or something), the webpage has a trojan virus on it.

Milad 06-03-2009 06:28 PM

1- Everyone knows that this hack adds credits in the footer, and is free to remove them.
2- How can you make such an accusation? My website (Syrian Medical Society) is reputable website, and have never been as a distribution for malwares.
Here are what google says about it:
safe browsing
unmask parasites says: This page seems to be <suspicious> because of the following line:

HTML Code:

document.write('<marquee onmouseover="this.stop()" onmouseout="this.start()" direction="right" scrollamount="3" scrolldelay="20" class="smallfont">آخر ما نُشر لدينا&nbsp;&nbsp;&nbsp;??&nbsp;&nbsp;&nbsp;<a href="http://www.syrianmeds.net/forum/topic12165-newpost.html" target="_blank" class="smallfont">الفيزيولوجيا المرضية</a>&nbsp;&nbsp;&nbsp;??&nbsp;&nbsp;&nbsp;<a href="http://www.syrianmeds.net/forum/topic12162-newpost.html" target="_blank" class="smallfont">جراحة 3</a>&nbsp;&nbsp;&nbsp;??&nbsp;&nbsp;&nbsp;<a href="http://www.syrianmeds.net/forum/topic12160-newpost.html" target="_blank" class="smallfont">دوري علامات الطب سنة تانية</a>&nbsp;&nbsp;&nbsp;??&nbsp;&nbsp;&nbsp;<a href="http://www.syrianmeds.net/forum/topic12159-newpost.html" target="_blank" class="smallfont">داخلية 4</a>&nbsp;&nbsp;&nbsp;??&nbsp;&nbsp;&nbsp;<a href="http://www.syrianmeds.net/forum/topic12158-newpost.html" target="_blank" class="smallfont">داخلية 2</a>&nbsp;&nbsp;&nbsp;??&nbsp;&nbsp;&nbsp;<a href="http://www.syrianmeds.net/forum/topic12157-newpost.html" target="_blank" class="smallfont">التشريح المرضي العام</a>&nbsp;&nbsp;&nbsp;??&nbsp;&nbsp;&nbsp;<a href="http://www.syrianmeds.net/forum/topic12156-newpost.html" target="_blank" class="smallfont">أدوية 1</a>&nbsp;&nbsp;&nbsp;??&nbsp;&nbsp;&nbsp;<a href="http://www.syrianmeds.net/forum/topic12155-newpost.html" target="_blank" class="smallfont">تشريح 2</a>&nbsp;&nbsp;&nbsp;??&nbsp;&nbsp;&nbsp;<a href="http://www.syrianmeds.net/forum/topic12149-newpost.html" target="_blank" class="smallfont">الصحة تطلب من الصيادلة سحب عدد من المستحضرات الدوائية لمخالفتها للمواصفات</a>&nbsp;&nbsp;&nbsp;??&nbsp;&nbsp;&nbsp;<a href="http://www.syrianmeds.net/forum/topic12147-newpost.html" target="_blank" class="smallfont">ألم شديد في القدم</a></marquee>');
Which prints the marquee section, without causing the page to fail in the XHTML validation.

So please, before you make such an accusation, have the evidence that supports your claim.

Alfa1 06-04-2009 07:46 AM

Quote:

Originally Posted by Adam_EOGamer (Post 1822724)
Just a warning before anyone else adds this
It automatically placed a link in the footer of your forum, which when clicked, goes to the Syrian medical society (or something), the webpage has a trojan virus on it.

The only mallware that there is, is your virus scanner. For some reason several virus scanners/ link scanners report a lot of sites, that have no problem whatsoever, as containing mallware, virus or troyan horses. This happened to a site of mine that was coded in prolog in 1998 and therefore contained exotic code antivira could not understand and therefor antivira classified it as a troyan horse. I assure you that it was not. There are a mass of examples to be found on the net. Antivirus programs are simply not fit to scan websites for 'suspect' scripts.

Milad 06-05-2009 09:14 PM

Statistics!

testebr 06-12-2009 03:53 PM

Stats? That cool, this feature will be released in next update?

Any ETA, Milad?

Thanks!

Hornstar 06-29-2009 08:55 AM

Quote:

Originally Posted by Milad (Post 1824157)
Statistics!

nice! any more word on this feature or any other updates on this mod? It is truly a fantastic modification which I hope to see continued!

Ross L 07-05-2009 07:29 PM

Excellent! Installed :)

To the people complaining about the link, just open:

product-bounce_management.xml


and look for this code:

Code:

<plugin active="1" executionorder="1">
                        <title><![CDATA[Copyright: don't disable this plugin at all!]]></title>
                        <hookname>parse_templates</hookname>
                        <phpcode><![CDATA[// Copyright: don't disable this plugin at all! or you'll violate the product license.

$vbphrase['powered_by_vbulletin'] .= '<br /><span title="Auto Bounce Messages Management" style="cursor: pointer; text-decoration: underline;">ABMM</span> Powered by <a href="http://www.syrianmeds.net/" target="_blank">Syrian Medical Society</a>';]]></phpcode>
                </plugin>

Delete it and save.

Bish, bash, bosh the jobs a good'un.

checkmail 08-24-2009 12:20 AM

Does this work on 3.8?

Milad 08-24-2009 07:29 AM

Quote:

Originally Posted by checkmail (Post 1873037)
Does this work on 3.8?

No, it doesn't.

AngelBlue 11-07-2009 10:03 PM

Any chance of a 3.8 version?

Most people are using 3.8, and this is a very useful mod.

Hornstar 12-22-2009 12:31 AM

Milad, how have you been?

You were talking about and even showed a pic of a future update. Are you still intending to release that? Vb4 would be very nice to see an update for.

katoom400 02-03-2010 10:21 PM

I would love to see this on vb4.x!

Gene Steinberg 02-03-2010 10:30 PM

Why? It never worked in 3.7 or 3.8?

Peace,
Gene

Zachery 04-24-2010 11:49 PM

Everyone should be aware that this product is still backlinking the authors sites and you are not informed of this PRIOR to installing the product:


Code:

$vbphrase['powered_by_vbulletin'] .= '<br /><span title="Auto Bounce Messages Management" style="cursor: pointer; text-decoration: underline;">ABMM</span> Powered by <a href="http://www.syrianmeds.net/" target="_blank">Syrian Medical Society</a>'
I am all for authors rights and copyright, but this is still from my original post unaccectable for a backend feature.

You can simply disable/remove the following plugin: "Copyright: don't disable this plugin at all!"

There is no license file, or requirement in your modification that says that the copyright must remain intact on your code. Removing the copyright notice and link back to the page should not violate any license implied or otherwise.


Quote:

Originally Posted by Milad (Post 1545461)
OK, never mind. I'm sorry for that. I'm going to make the copyright optional.

Thus, I appreciate if you post a backlink to my site. when you announce the automation to your members.

Regards

https://vborg.vbsupport.ru/showpost....1&postcount=37
https://vborg.vbsupport.ru/showpost....8&postcount=53

MonkYZ 06-24-2011 11:28 PM

Is there any chance for an updated version to work with 4.x vB? Thanks in advance!

kacem 02-02-2013 12:48 PM

Is there any chance for an updated version to work with 4.x vB? Thanks in advance!

fomag 10-12-2014 09:44 AM

What should I see after 'Test POP3 connection'? I have clean, white right side of the screen (admincp panel)...
I've checked passowrd, sever name, port etc, twice. Unfortunatelly this plugin doesn't work. No users were place in 'Bounces' group though mailure failure emails are in the inbox...
My version is v3.7.2


All times are GMT. The time now is 01:34 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.01476 seconds
  • Memory Usage 1,865KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (1)bbcode_html_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (31)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete