vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=138946

Inactive Users Email Reminders For 3.6.x
by C Braithwaite
09 Feb 2007 16:15

6 Attachment(s)
Inactive reminder emails. This mod was designed to send out a reminder to inactive members to try and win them back.

***1.2.7 Update***
This update includes built in support for bouncing emails. The script will automatically detect the bounced mail, mark it as bounced so the user is not to be contacted again so as to avoid spam, and then move that user into a seperate usergroup. This plugin is still in it's testing stages, but I have addressed the bugs mentioned previously regarding the emailing side of things.

This is important so keep reading
To install this plugin and take advantage of the bounced email features you are going to need to follow these instructions very carefully. I can not gaurentee that they will work to the letter as this will be based on each persons individual hosting settings.

Step 1: Pre Install
Before you touch this product you need to do the following
  • Create an "inactive" usergroup
  • Set up a "bounce to" email address
    Pick an email address that you want to use as your bounced email address. Im using "bounce@icora.co.uk". feel free to use whatever you wish.
  • Add a email message filter
    This is the hard part. You need to set up a filter that will 'pipe' an email sent to the above email address.
    I am using Cpanel 11 and this is how i have mine set up:
    Rules: 'To' 'Equals' 'bounce@icora.co.uk'
    Actions: 'Pipe to program' with the setting: |/usr/local/bin/php /home/icora/public_html/forum/bounce.php
    This will depend entirely on your settings and structure so you may have to do a little research. It would be very helfull if people who have to use diferent configurations would post them on here.
  • Go into vBulletin options, and find the options for 'Emails'. there is a setting asking you if you want to use '-f'. set this to yes.
  • While still inn the email options set the 'Bounce Email Address' to your above address.
Step 2: Install
Remove all previous trace of this modification, and upload all the files in the "upload" folder to your base directory of the server.
Go into your product management section and add a new product. upload the XML file with overwrite selected.
Refresh your admin CP to load the new menu items. Just under the "users" group you will find an "Inactive Reminders" group. open that up and click on settings.
Play with these settings and options to suit for the most part. when you come down to the bounce settings you MUST use the same email address as the one you created above.
Set to active and save.

I must re-iterate that this version has not been widely tested, but the simulations i have ran have worked. I look forward to your feedback!

Features:
  • Select the period of time before a user is considered inactive.
  • Select how many emails to send to each inactive user per inactivity period
  • Choose weather inactivity is based on members "Last Post" or their "Last Visit"
  • Specify how often followup emails are sent
  • Specify alternative emails to send to reduce repetition
  • Keep a log of all inactive users contacted

Planned Updates:
  • More detail in reports
  • ...such as
  • Which useres returned
  • Effectivness stats
  • Email validity

**1.2.1 Update***
Added more detail to the reports section. You can now see the email address, and quickly indicate which emails were invalid. You can link directly to that user to edit as you wish.
I have fixed some errors which have been crashing people's database. Please post any problems if you can.

**1.2.3 Update***
Fixed several problems with escaping strings
Stopped database errors locking up site
***

**1.2.4 Update***
Added a "From Email" so you can specify your own email address to send the reminders from.
Fixed potential bug for people who do not use the mail queue.

Anyone having problems with sending emails out too fast, and multiple emails being sent need to consider changing their email settings in vbulletin options.
People with emails going out too fast - edit Number of Emails to Send Per Batch to a lower amount
People with multiple emails sending - edit Use Mailqueue System to "Yes, with locking"
***

**1.2.5 Update***
Added more stats in the reports page, also added a "Send test email" option so users can test the functionality of the mod
***

AKapadia 09 Feb 2007 16:19

really good idea i was looking for something like that.. Click Install

Can someone make it easy to install...please

lolo² 09 Feb 2007 16:53

very good mod i hope some one can do it easy to install ;)

Robru 09 Feb 2007 17:43

Who can help him to make a product.xml or like this :)

JsnakeJ 09 Feb 2007 18:16

Ahh I'll wait on one of them mods to help you out with this then I'll use it.

Installed.

C Braithwaite 09 Feb 2007 18:28

Updated it into a product now.

Robru 09 Feb 2007 18:48

Thank you very much for the fast services :)

Snake 09 Feb 2007 19:01

Oh my god. I was just about to request this hack but it seems that you've created it already. :D

Thanks a lot!

lolo² 09 Feb 2007 19:09

great thanks for update

Robru 09 Feb 2007 19:12

Who can tell me how to read the counters...

Quote:

$datetime[lastpost] = $now - (60 * 60 * 24 * 7); //Last post was how long ago?
$datetime[lastemail] = $now - (60 * 60 * 24 * 3); //Last email was how long ago?

Snake 09 Feb 2007 19:17

What do you mean?

Robru 09 Feb 2007 19:21

For example: I want to sent the reminder email after three months, what must I set there?

C Braithwaite 09 Feb 2007 19:38

Quote:

Originally Posted by Robru (Post 1178598)
For example: I want to sent the reminder email after three months, what must I set there?

i've updated it so it's easier to modify the settings.

just change

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

to

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

if anyone can help me convert the settings in the file so they can be easily changed in the admincp i would really appreciate it

Robru 09 Feb 2007 19:53

Thanks for this solution :)

PinkDaisy 09 Feb 2007 21:19

I just did this and don't see any settings to change anything ??


All times are GMT. The time now is 08:37.

Powered by vBulletin® Version 3.8.12
Copyright © 2019, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.