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

Reply
 
Thread Tools
Email reminder for inactive users Details »»
Email reminder for inactive users
Version: 1.2.7, by C Braithwaite C Braithwaite is offline
Developer Last Online: Dec 2012 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.6.8 Rating:
Released: 02-08-2007 Last Update: 08-23-2008 Installs: 1463
DB Changes Uses Plugins Auto-Templates
Additional Files Translations Is in Beta Stage  
No support by the author.

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

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #932  
Old 10-17-2007, 04:58 PM
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Posts: 2,601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vbuser99 View Post
Recently I have installed version 1.11.

I have 150K members, installing this add-on for the first time may put server on its knees as it may try to send lots of emails at once. This also may cause your site marked as email spammer (or something like that) due to high number of emails per batch.
That's one of the reasons I prefer v1.09.

Quote:
Originally Posted by vbuser99 View Post
I figured I needed more options, like maximum number of emails per batch (cron) and maximum number of reminder emails per user, so users do not continue getting reminders after X number of reminders.

So I added said new options and optimized and corrected SQL code (there were some bugs) in the add-on, and now it is working great!

I would love to share this updated add-on but I do not really know where/how to post it.

Shall I post it as a new add-on on a new thread, or ...???
The author is Chris. Could you PM him and ask what his preference are? if you can't get an answer from him, I'd suggest uploading it here as an attachment, with a disclaimer that your version isn't currently supported - caveat emptor.

Quote:
Originally Posted by BadgerDog View Post
I've stuck with v1.09 and it has been working fine, but your addtional options would be nice to add.

I'd love to see your fixes posted and tried by folks who couldn't get v1.11 to function. If it works, I might just upgrade to it with your mods.

Thanks for your work.... :up:
Indeed. But bear in mind that the author can only support official versions. If you encounter a problem with an unofficial update, uninstall that version and go back to 1.09.
Reply With Quote
  #933  
Old 10-17-2007, 06:18 PM
vbuser99 vbuser99 is offline
 
Join Date: Jul 2004
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is the unsupported updated version of Email reminder for inactive users add-on.
You need to uninstall previous versions (1.09 or 1.11) before installing version 1.20
Both product-remindermail.xml and remindermail.php has been updated.

Version 1.20 is updated and is the working and improved version of 1.11

Updates:
- Renamed emailDate field to reminderDate (user table) because it was too generic.
- Added reminderCount field (user table)
- Added limitperbatch option to limit number of emails sent to inactive users per batch (per cron run).
- Added limitperuser option to limit number of reminder emails sent to a user.
- Updated email message
- Pull only required data via SQL for better performance.
- This version ensures that updates to user table are done correctly, by updating only processed rows. Previous version was bulk updating user table before process started.

I am in the process of adding requested changes, will upload the finished product soon...
Reply With Quote
  #934  
Old 10-17-2007, 07:06 PM
XXP XXP is offline
 
Join Date: Jan 2007
Location: Upstate NY
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for these updates (both of you). These look like they're going to be quite helpful.

We installed 1.11 and ran it successfully last week. Have delivered around 5K reminders since.

Because you call for the old Reminder to be removed and because you mention changes to the database mechanism, I need to ask, please:

Will 1.2 honor the reminders already sent -- and thus NOT resend reminders to users who've already been invited to return?

Also:
What do we need to do to preserve our customized message before installing 1.2? Will it be preserved for us or should we explicitly back it up and reinstall it?

Is there a test mechanism in this version -- to send out a test copy of the email message for proofing? (Such as: send a test copy to Admin group only, regardless of activity; OR send a test copy to user(s) in list.)

Thanks again. This is a supper tool.
Reply With Quote
  #935  
Old 10-17-2007, 07:19 PM
vbuser99 vbuser99 is offline
 
Join Date: Jul 2004
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by XXP View Post
Thanks for these updates (both of you). These look like they're going to be quite helpful.

We installed 1.11 and ran it successfully last week. Have delivered around 5K reminders since.

Because you call for the old Reminder to be removed and because you mention changes to the database mechanism, I need to ask, please:

Will 1.2 honor the reminders already sent -- and thus NOT resend reminders to users who've already been invited to return?

Also:
What do we need to do to preserve our customized message before installing 1.2? Will it be preserved for us or should we explicitly back it up and reinstall it?

Is there a test mechanism in this version -- to send out a test copy of the email message for proofing? (Such as: send a test copy to Admin group only, regardless of activity; OR send a test copy to user(s) in list.)

Thanks again. This is a supper tool.
As I am quite new into code releasing, I did not think of this issue.
The attached version 1.20 will NOT preserve any data as UNINSTALL is required.

I will create a seperate upgrade version, which will keep your previous settings and will honor the reminders already sent.

I will also work on a test mechanism...
Reply With Quote
  #936  
Old 10-19-2007, 02:10 AM
frostyIntrepid frostyIntrepid is offline
 
Join Date: Sep 2007
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am sorry but did anyone get this to work on 3.6.8?
Reply With Quote
  #937  
Old 10-19-2007, 02:23 AM
Alibass's Avatar
Alibass Alibass is offline
 
Join Date: Mar 2007
Posts: 615
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sure it works fine on 3.6.8 and PL1. I am using it and have been for quite awhile.
Reply With Quote
  #938  
Old 10-19-2007, 10:18 AM
lairnoc's Avatar
lairnoc lairnoc is offline
 
Join Date: Oct 2003
Location: The Netherlands
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok installed it. nou hope it will do its job :P
Reply With Quote
  #939  
Old 10-19-2007, 04:17 PM
pitzerwm pitzerwm is offline
 
Join Date: Aug 2007
Location: WA state
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

First, Thanks for taking the time and energy to write this mod. It really provides a needed service.

I don't know if this is functioning right and/or I have it set up right.

I set it email people that hadn't been there in 15 days, 30 days between emails and 10 at a time. I set the schedule for Monday night at 1, looking at the log, on Monday night it started sending the emails and sent about 60 of them, 10 at a time, but then every minute or so, for hours it "cycled" and reported "no emails sent". Although a couple of times during that 22 hour time frame it would send 1 email out.

Is this the way it works? Is it working its way through the members 10 at a time, every minute or so? I have about 400 members.

Thanks
Reply With Quote
  #940  
Old 10-23-2007, 05:07 AM
Zia's Avatar
Zia Zia is offline
 
Join Date: Dec 2005
Location: golpo.net
Posts: 931
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

where to download v1.2 .

---
we are on v 1.11-- i just want to be sure its working-
in schedule task log its showing - No emails to send

any one can pls help me out
Reply With Quote
  #941  
Old 10-31-2007, 09:50 AM
jags2ooo jags2ooo is offline
 
Join Date: Jan 2002
Location: New York
Posts: 92
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I get a error when i attempt to run the task.

Fatal error: Maximum execution time of 30 seconds exceeded in /home2/ZZZZZ/public_html/XXXXXX/forums/includes/class_core.php on line 660

Overall Great mod i couldn't have gotten this in a better time.. 60k + users 13k active >.<
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 04:31 PM.


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.05175 seconds
  • Memory Usage 2,330KB
  • 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
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete