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
  #1252  
Old 08-17-2008, 01:13 PM
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 djbaxter View Post
I'm currently using 1.13 which is working well for me. I like the option to email the reports of who was sent an email and any invalid addresses. Could you inlcude that option in the next update?
I plan to update this - for the time being i have just added basic logging.

Quote:
Originally Posted by ezurick View Post
Ummm.. the last I checked, this forum is for 3.6 Mods and add-ons.. this is NOT 3.7!!!! I tried to update your lastest version and it states the product is for 3.7 and not compatible to 3.6... I am running 3.6 and refuse to upgrade... PLEASE move this mod to 3.7 and kill it here... or support the 3.6....
Firstly - You've not even clicked install so you get ZERO support on any of the modification. Secondly there is no need for the attitude - I will quite happily move this to another section. It didn't even occur to me that the sections had been split up.

Quote:
Originally Posted by GamerGirl27 View Post
Ok updated again and looking good!

This may sound silly, but how do you make it run? I want to send out my first lot of reminder emails now but don't know how to initiate the process lol. Otherwise, is there a set time when it runs automatically (each day for example)?

Cheers again
Which version are you using? if it's 1.2 (designed for 3.7.2) then it runs continuously - you just have to enable it in it's option grop (see the screenshot as to were to find that).

Quote:
Originally Posted by RedPoint View Post
sorry guys,
i mean by me its running, but here:


What is that guys?

Regards
I'm not currently supporting 3.6 versions until i have 3.7 perfected. backwards i know.

Quote:
Originally Posted by frostyIntrepid View Post
Hmm, may I know from where can I view the log entries that store where the emails are sent to?
currently there is basic information about the users that have been contacted. this can be found in admincp/remindermail.php (or use the link under the "Users" section in the admin CP [see attached pictures])
Reply With Quote
  #1253  
Old 08-17-2008, 01:30 PM
kpascal kpascal is offline
 
Join Date: Mar 2007
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by djbaxter View Post
  1. Go to Admin CP | Scheduled Tasks | Scheduled Task Manager
  2. Scroll down to find Inactive User Reminder Emails
  3. Edit to set when you want the cron job to execute
  4. Click on Run Now to execute the task im mediately
I have just added this mod and can not find this task in the Scheduled Task Manager. Should it appear right away?
Reply With Quote
  #1254  
Old 08-17-2008, 01:53 PM
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Posts: 2,601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by C Braithwaite View Post
Which version are you using? if it's 1.2 (designed for 3.7.2) then it runs continuously - you just have to enable it in it's option grop (see the screenshot as to were to find that).
Quote:
Originally Posted by kpascal View Post
I have just added this mod and can not find this task in the Scheduled Task Manager. Should it appear right away?
My apologies - I'm not using version 1.2 so my instructions don't apply. See Chris' response quoted from just above your post.
Reply With Quote
  #1255  
Old 08-17-2008, 03:16 PM
Moparx Moparx is offline
 
Join Date: Jul 2004
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just upgraded to 1.2 and I have to say that 14 extra queries on each page is rather unacceptable.
Reply With Quote
  #1256  
Old 08-17-2008, 03:35 PM
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 Moparx View Post
I just upgraded to 1.2 and I have to say that 14 extra queries on each page is rather unacceptable.
It only has the higher amount of queries when it finds inactive users. after a short while it will reduce as there will be less inactive users to contact. also if you disable the logging features it will reduce queries further, as will reducing the amount of users the mod processes.

I could take out 2 queries and mail directly - but i think this would only be disguising things by reducing queries not processing time.

This way the processing is distributed more - 14 queries is not going to effect performance anyway, especially not for a forum with under 500 users, of which 10% are active.
Reply With Quote
  #1257  
Old 08-17-2008, 03:43 PM
iogames's Avatar
iogames iogames is offline
 
Join Date: Jan 2007
Location: Las Vegas, NV.
Posts: 1,433
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Grrr!

Doesn't work with 3.6.10

Quote:
This product is not compatible with version 3.6.10 of vBulletin. (Compatible starting with 3.7.2)
Reply With Quote
  #1258  
Old 08-17-2008, 04:00 PM
Moparx Moparx is offline
 
Join Date: Jul 2004
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by C Braithwaite View Post
It only has the higher amount of queries when it finds inactive users. after a short while it will reduce as there will be less inactive users to contact. also if you disable the logging features it will reduce queries further, as will reducing the amount of users the mod processes.

I could take out 2 queries and mail directly - but i think this would only be disguising things by reducing queries not processing time.

This way the processing is distributed more - 14 queries is not going to effect performance anyway, especially not for a forum with under 500 users, of which 10% are active.
Ah, I see. I'll leave it on and see how things go.
Another thing I noticed: I get a Database Error when I view Who's Online with 1.2 enabled

Quote:
Database error in vBulletin 3.7.2:

Invalid SQL:

SELECT userid, username, IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid
FROM vb3_user AS user
WHERE userid IN (0586','755','757);
Reply With Quote
  #1259  
Old 08-17-2008, 04:14 PM
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 Moparx View Post
Another thing I noticed: I get a Database Error when I view Who's Online with 1.2 enabled
This one is baffling me. it doesn't happen on mine so it's difficult to figure out what is causing it. do you have any other plugin that effects the WOL page?
Reply With Quote
  #1260  
Old 08-17-2008, 04:21 PM
Moparx Moparx is offline
 
Join Date: Jul 2004
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by C Braithwaite View Post
This one is baffling me. it doesn't happen on mine so it's difficult to figure out what is causing it. do you have any other plugin that effects the WOL page?
I have a Custom WOL Locations product installed but that's it.

Additionally, The problem seems to have gone away after Email Reminder finished processing users & sending out emails.
Reply With Quote
  #1261  
Old 08-17-2008, 04:26 PM
iogames's Avatar
iogames iogames is offline
 
Join Date: Jan 2007
Location: Las Vegas, NV.
Posts: 1,433
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you confirm me that it works with 3.6.10?
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 03:58 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.07115 seconds
  • Memory Usage 2,339KB
  • 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
  • (14)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