So I have this completely working in 3.6.4. I'm not sure what other members are having issue with. It correctly identifies bounced email and will automatically move users into the proper usergroup.
I uninstalled the 3.5 version, using the unistall option. Then I reinstalled using GNDI's version a few pages back.
I did make two changes in vbouncer-clean.php.
Replace the send_pm function with the folllowing (properly sends users pms):
Code:
function send_pm($phrase, $userid, $username, $bounces, $langid, $bouncing_email)
{
global $vbulletin;
$username = unhtmlspecialchars($username);
eval(fetch_email_phrases($phrase, $langid));
$pmdm =& datamanager_init('PM', $vbulletin, ERRTYPE_ARRAY);
$pmdm->set('fromuserid', $vbulletin->options['vbouncer_pm_sender_id']);
$pmdm->set('fromusername', $vbulletin->options['vbouncer_pm_sender_username']);
$pmdm->set_info('receipt', false);
$pmdm->set_info('savecopy', false);
$pmdm->overridequota = true; // Force pm send even if recipient's mailbox is full
$pmdm->set('title', $subject);
$pmdm->set('message', $message);
$pmdm->set('dateline', TIMENOW);
$pmdm->set('allowsmilie', false);
$pmdm->set_recipients($username, $botpermissions);
if (empty($pmdm->errors) > 0) $pmdm->save();
else echo '<pre>111' . print_r($pmdm->errors,true) . '</pre>';
}
Then find:
Code:
if ($stats['ugid'] == 6 OR in_array($stats['ugid'], explode(',', $vbulletin->options['vbouncer_auto_ug_untouchables']))) continue;
And replace it with (fixes an issue with sending pms and email notices to users who are already bouncing):
Code:
if ($stats['ugid'] == 6 OR in_array($stats['ugid'], explode(',', $vbulletin->options['vbouncer_auto_ug_untouchables'])) OR $stats['ugid'] == $vbulletin->options['vbouncer_auto_ug_destination']) continue;
That is all I've done. I'm also attaching a copy of my settings so you can see what your settings should look like.
To make sure you're setting this up right - first you create the bouncer email address.
Make sure it works.
Setup a usergroup for bounced users.
Uninstall vBouncer.
Install GNDI's vBouncer. Configure vBouncer.
Check the email account (make sure to leave the messages on the server, so connect using imap or a webmail system) and see if you have some bounced emails.
If not, wait.
If you do, run the Scheduled Task for vBouncer Collect.
Look at the cron log, is there an entry for vBouncer Collect? What does it say?
Look at your vBouncer Stats, are there entries there?
Check the email account again. Have the emails been deleted?
Now run the Scheduled Task for vBouncer Clean. Did it give errors or say done?
Check the cron log, is there an entry for vBouncer Clean?
There you go. I may not have time to answer many questions, but I'll try. Good luck!