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

Reply
 
Thread Tools
Email Reminder for inactive users Details »»
Email Reminder for inactive users
Version: 2.1.6, by TalkVirginia TalkVirginia is offline
Developer Last Online: Mar 2013 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.8.x Rating:
Released: 05-26-2011 Last Update: 05-28-2011 Installs: 92
DB Changes Uses Plugins
Additional Files Translations  
No support by the author.

Like others before me, I've been using this mod quite a while on previous versions of vBulletin. Since updates and support for older versions had stopped, I figured I would make my own modifications and help others that have enjoyed it as well. I want to add back in some of the previous functionality that has been left out as well as add some new functionality. This mod for the most part picks up where the 3.7.x version leaves off.

What does it do?
=====================================
This mod will send out reminder emails to inactive members to encourage them to come back to your site. This is now only based on member's last activity date.

*** See Updates section below for new feature list per release. ***

IF YOU HAVE QUESTIONS OR PROBLEMS WITH THE ADDON, PLEASE LET ME KNOW.

PLEASE DON'T FORGET TO CLICK THE INSTALLED LINK AND DON'T FORGET TO NOMINATE MOTM!!
THANK YOU!!

Features
The following features are updatable through the AdminCP.
=====================================
* Turn Product on/off.

* Set the number of days a user can be inactive (grace period) before email is sent.
Example: Inactivity Graceperiod is set for 60 days. On day 61, member Bob will begin receiving reminder emails.

* Send Email Once.
If this is set, when members become inactive they will receive one reminder only.

* Set how often an reminder email is sent after an inactive member has received their first reminder.
Example: Inactivity Grace period is set for 60 days, and Reminder Email frequency is set for 30 days. On day 61, member Bob will receive his first reminder email letting him know he has been inactive for over 60 days asking him to come back to see your new content. If Bob, continues to be inactive, Bob will receive reminder emails based on the number of days you have the email frequency set to. If set to 30 days, members will receive reminders every 30 days after their first reminder.

* Set reminder email format - TEXT or HTML.

* Set the reminder email subject. (phrased)

* Set the reminder email body. (phrased)

* Set the usergroups to be sent a reminder email.

* Set Userids to exclude.

* Edit number of emails send totally (Max Reminders)
Example: If the Send Once option is set to false, and this option is set to 50. Inactive members will only receive 50 reminders.

* Keep a log of all inactive users contacted

* Opt-Out Feature for members - Include an opt-out link in reminder email. (Thanks to Gene Steinberg)

Install Instructions
--------------------------
1. Upload file in the upload folder to the forums folder on your server.

2. In your AdminCP:
a. Go to Plugs & Products -> Product Manager -> Add New Product.
c. Import the product xml from the zip file. (make sure to use overwrite)
3. The mod is disabled by default on install so you will need to enable it. Go to Vbulletin "Settings" -> Options -> Inactivity Reminder Emails.

4. Settings and the inactivity log viewer are also available on the left menu just above the users settings group.

5 Mark as Installed

6 Please Nominate for MOTM

=======================================
Update 2.1.5 - Initial Release for VB 3.8.x

Credits & Previous Updates
======================================
Updates and fixes that have been carried over from version 1.1.3 can be found at the link below.
https://vborg.vbsupport.ru/showthread.php?t=180025&highlight=email+reminder

I also want to give full credit and thanks to the developers of the previous versions 1.0.6 to 1.1.3 from which this was derived:

C Braithwaite
robertjandreu

PLEASE DON'T FORGET TO CLICK THE INSTALLED LINK.

Download Now

File Type: zip product-remindermail-2.1.6.zip (22.0 KB, 598 views)

Screenshots

File Type: jpg 5-16-2011 2-39-54 AM.jpg (91.1 KB, 0 views)
File Type: jpg 3-26-2010%208-40-15%20AM.jpg (57.5 KB, 0 views)
File Type: png 3-15-2010%208-23-36%20AM.png (22.8 KB, 0 views)
File Type: png 3-15-2010%208-26-32%20AM.png (26.0 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
tumboor

Comments
  #2  
Old 05-27-2011, 02:28 AM
TalkVirginia's Avatar
TalkVirginia TalkVirginia is offline
 
Join Date: Oct 2008
Location: Virginia
Posts: 545
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Inactive User Reminder Emails Tutorial

This is a sort of intro tutorial on this mod. If you have further questions, haven't made something clear, please let me know and I'll add it to this write up.

Inactive Reminders Menu Group
First up, as you can see from this screen, you can find the settings in it's own menu group just above the vBulletin Users menu group. You can also find it by going to the vBulletin "Settings" menu group at the top.


How does processing occur?
This mod uses an scheduled Cron Job called "Inactive User Reminder Emails" and can be found in the Scheduled Tasks Manager. When installed, it's configured to run nightly at 1:30am.




Enabling the mod
This mod is disabled by default on first-time install. If you are upgrading from a previous version, you should still make sure it's enabled. In addition, you should do a save even if no settings are changed to save settings for any new features.




Batch Processing
This comes into play if you have a large site and don't want to overwhelm your host with 20k or more worth reminder emails sent at one time. This feature will allow you to set the amount of reminders sent out during each scheduled cron job




Send Reminder Emails Once Only
If you want to send out reminders only one time to your members after they have become inactive, you can do this by setting this option to yes.



Maximum Email To Send
If you set the option above to No, then this option will be used. Set this to any amount greater than zero and that is all your inactive members will receive. Set it to 3, and once the counter reaches 3, no more reminders will be sent.




Inactivity Grace Period
This allows you to set a variable threshold or number of days before your members are consided to be inactive. I would recommend setting this to 30 days or higher. Once they have not logged in for this many days, on the following day they will start receiving reminder emails.



Inactivity based on Last Post *REMOVED*
[S]
If this is set to Yes, then user inactivity will be determined by the date which they last posted. Users will begin receiving reminders the day after the number of days set for Inactivity Grace Period, if they haven't posted within that amount of time. If this is set to No, then Inactivity will be based on the last time the user visited your site.
[/S]
Inactivity is now based on Last Activity Date only. If you feel that inactivity should be based on something else, please let me know what, and why and I will think about changing it but this seemed to be the most logical at the time.



How often should reminder emails be sent?
After users have become inactive either based on last post or their last activity on your site, reminder emails will be sent every x number of days set here. If you set this option to 7, users will receive email reminders once a week, after their initial reminder has been received, until they log in again and/or make a post.



Usergroups to receive reminder emails
This option is required. You will need to specify which Usergroup IDs are to receive inactivity reminder emails. IDs must be separated with a comma.



Exclude User IDs
If there is a user in one of the Usergroups specified above, that you do not want to receive reminder emails, you can indicate that here.



Email Format
This option enables you to set the format that users receive reminders in, as well as the format that admins receive notification that this addon is working. You can set this to either TEXT or HTML. This will not affect other emails that are sent out through vBulletin. I have included sample reminder email content, however reminder emails use vBulletin phrases so thay can be customized as you like. You can change them by clicking on the links shown here with this option, or through the vBulletin Phrase Manager. The phases are located in the Email Subject and Email Message phrase groups. The phrases this mod installs are called inactivity_reminder_plaintext and inactivity reminder_html. They are called the same in both phrase groups. You may alter the contents of these phases however please do not change the names. You may include variables such as $username, $userid, $email, $bbtitle, $homeurl, $forumurl, and $hometitle. If you would like to include other information in your content, please let me know and I'll will look into adding it in future versions.




Enable Admin Email Report: This option gives you the choice of receiving an admin report with a list of members that were sent inactivity reminders.

Enable Logging: This will allow you to turn logging on and off. This records who have been sent reminder emails.

Inactivity Log Duration: How many days do you want to keep in the log. Each time the Cron Job runs and emails are sent out, users will recorded in the log, then any entries older than the number of days indicated here will be automatically purged.

That's about it. Any questions? Comments? Any features requests?

I want to thank everyone that has downloaded and is using this mod on their site. Your constructive comments, both positive and negative, give me a lot of encouragement to do more and do better.
Reply With Quote
Благодарность от:
Aljuve
  #3  
Old 05-27-2011, 06:11 AM
FreshFroot's Avatar
FreshFroot FreshFroot is offline
 
Join Date: Jul 2005
Posts: 770
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks been waiting for awhile and this is great!
Reply With Quote
  #4  
Old 05-27-2011, 08:19 AM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah I might give this a go and see how it goes. A little worried what it might do to server load with having over 600 000 members.
Reply With Quote
  #5  
Old 05-27-2011, 08:54 AM
TalkVirginia's Avatar
TalkVirginia TalkVirginia is offline
 
Join Date: Oct 2008
Location: Virginia
Posts: 545
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Hornstar View Post
Yeah I might give this a go and see how it goes. A little worried what it might do to server load with having over 600 000 members.
If you can find a good balance of emails to send at one time or multiple times during the day. If my math serves correct... example: 600000/(24*7) = 4000 emails / 24 = 166.6 per hour) You should be able to handle more than that I would think.
Reply With Quote
  #6  
Old 05-27-2011, 10:54 AM
MagicThemeParks's Avatar
MagicThemeParks MagicThemeParks is offline
 
Join Date: Sep 2009
Posts: 850
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Jim! :up:

I'll be downloading it and installing it probably this weekend
Reply With Quote
  #7  
Old 05-27-2011, 11:29 AM
TalkVirginia's Avatar
TalkVirginia TalkVirginia is offline
 
Join Date: Oct 2008
Location: Virginia
Posts: 545
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MagicThemeParks View Post
Thanks Jim! :up:

I'll be downloading it and installing it probably this weekend
You're most welcome!
Reply With Quote
  #8  
Old 05-27-2011, 06:07 PM
MrAd MrAd is offline
 
Join Date: Nov 2006
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed. thanks!
Reply With Quote
  #9  
Old 05-27-2011, 06:09 PM
MrAd MrAd is offline
 
Join Date: Nov 2006
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also nominated! Great mod, thanks again Jim!
Reply With Quote
  #10  
Old 05-27-2011, 06:31 PM
MrAd MrAd is offline
 
Join Date: Nov 2006
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

first Bug, I get the following Error

Fatal error: Class 'vB_Template_Runtime' not found in xxxx/public_html/admincp/inactivitylog.php on line 112
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 01:45 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.04844 seconds
  • Memory Usage 2,352KB
  • Queries Executed 24 (?)
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
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (2)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (5)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete