Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
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
  #832  
Old 08-18-2007, 01:23 AM
Head Roller's Avatar
Head Roller Head Roller is offline
 
Join Date: Oct 2005
Location: Lafayette, CO
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Fantastic Mod. THanks.
Reply With Quote
  #833  
Old 08-18-2007, 09:12 AM
cubenz cubenz is offline
 
Join Date: Aug 2007
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cubenz View Post
Hi,

I am a vBulletin neophyte, and this is the first mod that I've installed, so please be kind to me.

I've read through the first 30% of this thread without finding the answer to my question, but it is obvious that the mod will work if conditions are right. I'll keep reading, but if someone could help me now, I would be very appreciative!

1. Using 'Run Now', the feedback indicates e-mails are being sent, but they are not received at the other end. I can send e-mails from AdminCP/Users/Send Emails without problem (with and without SMTP set!)

2. Information appears in the Scheduled Tasks log only if I use Run Now - there is no evidence that it is running via 'cron'. (How often is the cron list checked by vBulletin when browsing the messages in my Test board?)

3. In the early part of this thread, there is talk of a limit to the number of e-mails sent out in one go - the code doesn't seem to contain a limit, and I can't see one in the configuration. Is it still there? [Update - I see that it isn't - I'm sure why will be revealed soon...]

Thanks

Quentin
OK, I uninstalled, and installed 1.0.9, and the mail is now being sent.

My guess is that I just don't understand the VB Mail Queue (I tried with and without that turned on).

Quentin
Reply With Quote
  #834  
Old 08-19-2007, 09:50 AM
tctransporter tctransporter is offline
 
Join Date: May 2007
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How do I know if it sent any out? I installed the newest version but I didn't see any option to tell it to run. I just edited the settings and saved it. Is there a way to tell if they was sent?
Reply With Quote
  #835  
Old 08-19-2007, 12:45 PM
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Posts: 2,601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tctransporter View Post
How do I know if it sent any out? I installed the newest version but I didn't see any option to tell it to run. I just edited the settings and saved it. Is there a way to tell if they was sent?
Assuming you are using version 1.09 (highly recommended), the add-on actually runs from a cron job. Go to Admin CP | Scheduled Tasks and try running it manually.
Reply With Quote
  #836  
Old 08-20-2007, 11:49 AM
6piston's Avatar
6piston 6piston is offline
 
Join Date: Apr 2005
Posts: 139
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi C Braithwaite

is there any way that i could check that the mod is working?
like tracking of emails sent and/or report of sent emails etc?

or any alternatives like where to roughly track the effectiveness of the mod?

thanks!
Tom
Reply With Quote
  #837  
Old 08-20-2007, 08:00 PM
Saint_ago Saint_ago is offline
 
Join Date: Jan 2006
Location: S?o Paulo - Brasil
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by djbaxter View Post
It's sent from the email address specified in your Admin CP as the forum email address.
Doesn't work. In my board, the messages arrive with this sender address:

BFCentral: A Maior Comunidade de Battlefield da Am?rica Latina <BFCentral:A.Maior.Comunidade.de.Battlefield.da.Am ?rica.Latina@sharedhosting2.oi.com.br>

Forum name:
BFCentral: A Maior Comunidade de Battlefield da Am?rica Latina

Email Address:
contato@bfcentral.com.br

Board URL:
http://bfcentral.oi.com.br

I'm using 3.6.5, with SMTP send mail set on NO. My PHP.INI:

sendmail_from admin@bfcentral.com.br
sendmail_path /usr/sbin/sendmail -t -i

Sometimes (depending on the mail client), the sender is just blank.

Plz help me, how can i change this "BFCentral:A.Maior.Comunidade.de.Battlefield.da.Am ?rica.Latina@sharedhosting2.oi.com.br" to a valid address?

Thanks in advance
Reply With Quote
  #838  
Old 08-21-2007, 06:09 PM
kellogs kellogs is offline
 
Join Date: May 2006
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by C Braithwaite View Post
just change the main email address of your site
The sender email address is wrong. on my forum, i have set the main address as me@abc.com but when it sent out to user it shows the following

"Singapore Motherhood and Parenting Forums" <Singapore Motherhood and Parenting Forums@mail.solone.net>

May i know how to fix it?

Everything else works great!

Thanks,
Edy
Reply With Quote
  #839  
Old 08-23-2007, 07:23 AM
C Braithwaite's Avatar
C Braithwaite C Braithwaite is offline
 
Join Date: Jan 2006
Location: Leeds
Posts: 293
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kellogs View Post
The sender email address is wrong. on my forum, i have set the main address as me@abc.com but when it sent out to user it shows the following

"Singapore Motherhood and Parenting Forums" <Singapore Motherhood and Parenting Forums@mail.solone.net>

May i know how to fix it?

Everything else works great!

Thanks,
Edy
whatever you have set your "Webmaster's Email" address to in your site options.
Reply With Quote
  #840  
Old 08-23-2007, 09:47 AM
fly fly is offline
 
Join Date: Oct 2003
Posts: 1,215
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by C Braithwaite View Post
whatever you have set your "Webmaster's Email" address to in your site options.
What he's saying is, that doesn't work. I have mine setup, and yet it sends out the reply address as "UF FORUMS"@SPIVEY.UF.COM
Reply With Quote
  #841  
Old 08-23-2007, 08:52 PM
ElForro ElForro is offline
 
Join Date: Mar 2006
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK. I really don't understand how this works... again...

I've set 60 days of inactivity... "Inactivity based on last post" set to "NO"

So... I did a User Search for users with last activity after "2007-06-22" AND before "2007-06-23"... The result was 400 users... Let's say, 400 users with last activity 60 days ago...

But when I run the cronjob, it says it found about 4.000 users...

I searched users only with last activity before "2007-06-23" (60 days ago) and it found like 50.000...

So, can anyone please tell me how this product search for the inactive users? Based on what?

Thanks!

Edit: Just made a test with a Test usergroup with TWO (2) users... Run the cron, and it said "Found 4 Inactive Users."... Now that's weird....

Edit 2: Besides all that.. The mails are not being sent... I really don't know what's happening...
Reply With Quote
Reply

Thread Tools

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 05:19 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.07750 seconds
  • Memory Usage 2,321KB
  • 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
  • (6)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
  • (4)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