Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Email reminder for inactive users Details »
Email reminder for inactive users
Mod Version: 1.2.7, by C Braithwaite (Member) C Braithwaite is offline
Developer Last Online: Dec 2012 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.8 Rating: (117 votes - 4.60 average) Installs: 1461
Released: 09 Feb 2007 Last Update: 24 Aug 2008 Downloads: 50903
Not Supported DB Changes Uses Plugins Auto-Template Additional Files Translations Is in Beta Stage  

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
***

Download Now

Only licensed members can download files, Click Here for more information.

Addons

Supporters / CoAuthors

Screenshots

Click image for larger version

Name:	menu.png
Views:	467
Size:	9.5 KB
ID:	85632   Click image for larger version

Name:	reports.png
Views:	664
Size:	21.9 KB
ID:	85633   Click image for larger version

Name:	settings.jpg
Views:	848
Size:	106.7 KB
ID:	85634  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Mini Mods Email reminder for inactive users 1.1.3 robertjandreu vBulletin 3.7 Add-ons 184 31 Jul 2012 17:45
Mini Mods Email reminder for inactive users technom8t vBulletin 3.6 Add-ons 27 07 May 2008 02:59

  #61  
Old 11 Feb 2007, 15:43
Chadi's Avatar
Chadi Chadi is offline
 
Join Date: May 2004
I only want to email to usergroup ID 2 and 3. How can I set this up?
__________________
...............................
Talk Jesus Forums: Christian Chat
games . chat . gallery . bible . videos
Reply With Quote
  #62  
Old 11 Feb 2007, 15:44
carpefile carpefile is offline
 
Join Date: Jul 2004
Originally Posted by djbaxter View Post
At the risk of telling you something you already know, I don't believe there is a "Banned" group by default in vBulletin - mine is ID=20 but it may be different for others so you'll need to make that a variable.
I also got a parsing error when making that change. I only edited the usergroup to match my board's banned id.

@C Braithwaite- I'm not sure the cron job is running, it doesn't show in the log even though logging is enabled. It runs manually when you push the run button, but nothing in the log indicates it ran. I set it to run every ten minutes for 1 hour every night 100 mails per (just till it catches up with the 1500 or so inactive members, then will set it to run once weekly).

Also noticed there is no title, description, or log phrase listed in the scheduled task.

It may be running without making any log entries, I don't know.

Thanx again, once the bugs are ironed out, this will be extremely useful to a ton of peeps.
Reply With Quote
  #63  
Old 11 Feb 2007, 16:14
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Originally Posted by carpefile View Post
I also got a parsing error when making that change. I only edited the usergroup to match my board's banned id.
OK. Good to know. I haven't actually yet tried my suggested modification yet - my first attempt at installing the addon (original version) crashed my email server - my fault for setting the number of emails too high but I'm now waiting for some of these bugs to be fixed before I reinstall.

Can you tell me what the parsing error was? What did it object to?

Originally Posted by carpefile View Post
once the bugs are ironed out, this will be extremely useful
It will indeed.
Reply With Quote
  #64  
Old 11 Feb 2007, 17:38
carpefile carpefile is offline
 
Join Date: Jul 2004
unexpected t string error in line 19.
Reply With Quote
  #65  
Old 11 Feb 2007, 17:42
C Braithwaite's Avatar
C Braithwaite C Braithwaite is offline
 
Join Date: Jan 2006
what i hope to do is create a list of usergroups and let you select which you send to.

i hope to iron out all bug, and ill look into the cron to see if it is running.
Reply With Quote
  #66  
Old 11 Feb 2007, 17:47
bazzup bazzup is offline
 
Join Date: Dec 2006
Real name: bazz
installed tody and already got one lost member back good job
Reply With Quote
  #67  
Old 11 Feb 2007, 18:40
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Originally Posted by carpefile View Post
unexpected t string error in line 19.
Of course. Sorry - left out a quotation mark. Try this (my example excludes two member groups for my forums) and uses lastactivity instead of lastpost:


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

Edit: Sorry - that SQL syntax is also incorrect.

My head hurts - any SQL gurus here?

Last edited by djbaxter; 11 Feb 2007 at 20:32.
Reply With Quote
  #68  
Old 11 Feb 2007, 21:32
WEBDosser's Avatar
WEBDosser WEBDosser is offline
 
Join Date: Oct 2001
cool.. uninstalled and re-installed the new version, looks a lot better
Reply With Quote
  #69  
Old 11 Feb 2007, 23:57
projectego's Avatar
projectego projectego is offline
 
Join Date: Feb 2006
Location: UK
Real name: Steve
Thanks for the update.
__________________
Reply With Quote
  #70  
Old 12 Feb 2007, 00:01
BobbyBig BobbyBig is offline
 
Join Date: Mar 2006
I took a look at your code - now I uninstalled this Mod. The frequency which can be set in the admincp is a lie.

Frequenzy just inceases the Time when the Email will be send again. It doesnt mean for "1" that it only will be send 1 time, but thats how you wrote it...

That means Inactive Users will receive the email every X days of not posting when Y days are over.

Also you ever thought about one thing: 15 Days Inactivity, Frequenzy 1, Emails Send: 50.
15*50 = 750

That means in this Period only 750 Inactive Users get the email, after this OTHER inactive users are not effected by this rule, instead the Users which allready received emails will receive email AGAIN.

You should work on the logic for that.

regards
__________________
MMORPG Forum for WoW / RO Guides & Exploits.
Reply With Quote
  #71  
Old 12 Feb 2007, 08:07
C Braithwaite's Avatar
C Braithwaite C Braithwaite is offline
 
Join Date: Jan 2006
Originally Posted by BobbyBig View Post
I took a look at your code - now I uninstalled this Mod. The frequency which can be set in the admincp is a lie.

Frequenzy just inceases the Time when the Email will be send again. It doesnt mean for "1" that it only will be send 1 time, but thats how you wrote it...

That means Inactive Users will receive the email every X days of not posting when Y days are over.

Also you ever thought about one thing: 15 Days Inactivity, Frequenzy 1, Emails Send: 50.
15*50 = 750

That means in this Period only 750 Inactive Users get the email, after this OTHER inactive users are not effected by this rule, instead the Users which allready received emails will receive email AGAIN.

You should work on the logic for that.

regards
i have no idea what you are talking about. there is a setting to set the inactivity period, how frequent the emails are sent once the inactivity period is entered, and how many emails to send at once.

for example, set the inactivity period to 7 days, then frequency to 3 days, once a person becomes inactive they will be sent an email every 3 days.

or you can set the inactivity period to 1 month, and set the reminder email to 90 days, and thus would send the reminder email every 90 days once a member had entered the inactivity period.

there is no lie. the plugin does exactly what it is supposed to do. the plugin description for frequency says "How often to send a reminder email once a member has become inactive."

"how often" being the operative words here, not "how many".

if you wish to send the email less than once a day set it to higher than 1.

idiot.
Reply With Quote
  #72  
Old 12 Feb 2007, 08:16
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
If you specify more than one usergroup ID, it sends out nothing.
Reply With Quote
  #73  
Old 12 Feb 2007, 08:30
C Braithwaite's Avatar
C Braithwaite C Braithwaite is offline
 
Join Date: Jan 2006
Originally Posted by djbaxter View Post
If you specify more than one usergroup ID, it sends out nothing.
how are you writing the usergroups? 1,2,3,4 or 1, 2, 3, 4 etc?
Reply With Quote
  #74  
Old 12 Feb 2007, 08:34
C Braithwaite's Avatar
C Braithwaite C Braithwaite is offline
 
Join Date: Jan 2006
Originally Posted by djbaxter View Post
If you specify more than one usergroup ID, it sends out nothing.
try it now, make sure it's x,y,z etc not z, y, x etc

Last edited by C Braithwaite; 12 Feb 2007 at 08:41.
Reply With Quote
  #75  
Old 12 Feb 2007, 17:22
HOST-KSA.COM HOST-KSA.COM is offline
 
Join Date: Jul 2006
Hi,, I've a questuion..

If I have more than 20 thousands of members are inactive .. will this reminder affect my server ?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 01:28.

Layout Options | Width: Wide Color: