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

Reply
 
Thread Tools
Inactive Users Email Reminders For 3.7.x Details »»
Inactive Users Email Reminders For 3.7.x
Version: 1.2.8, by C Braithwaite C Braithwaite is offline
Developer Last Online: Dec 2012 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.7.x Rating:
Released: 08-16-2008 Last Update: 08-25-2008 Installs: 289
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. Earlier versions of this plugin have had great success, and has been installed on 1000's of forums.

This mod is a revised version of my 3.6 modification.
Someone pointed out that I needed to make a new thread in the right forum for this.

***1.2.7 Update***
Fixed the \ in the message.
Changed the way the mails are processed to try and stop duplicates
Made the bounce management monitor ALL outgoing emails
Added more stats
Added bounced email messaage viewing with management options.
***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
***

**1.2.6 Update***
Identical to 1.2.5, however EzBounce support added.
***

**Opps Update***
Sorry i somehow managed to not include the file in the zip. My bad.
***

Show Your Support

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

Comments
  #112  
Old 08-24-2008, 07:54 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 tekguru View Post
- How many emails maximum to send to each inactive user per inactive period. (0 for unlimited) - does this mean that if set to 3 then a user will get maximum of 3 emails after being inactive for 60 days? Then another 3 if inactive for 120 days?
No, that would be 3 emails total. if the users comes back to the forum but then goes inactive again he would be sent another 3 emails. if he never came back then he would never receive another email.
Quote:
Originally Posted by tekguru View Post
- After the first email, how long should the system wait before sending out subsequent emails? (Days) This I have set to 28, but if max emails is set as above then this would clash with the above?
if you have 60 days set for activity then on day 60 an email will go out. 28 days later the second email will go out, and another 28 days after that the 3rd email would go out.
Quote:
Originally Posted by tekguru View Post
2) As per attached is the Mod working incredibly quickly to send emails (and possibly travelling in time), or is the Users that have been sent the maximum number of emails count incorrect?
the plugin does work fast, and you will initially get a very large mailqueue, however i think that perticular statistic may be wrong and will have to look into it.
Quote:
Originally Posted by tekguru View Post
3) As per the attached there seems to be a spurious table (zero height) just above the test email box?
that is very random, and again i will have to look into it. thanks for pointing this out to me though.
Quote:
Originally Posted by tekguru View Post
More......

- The report page is getting incredibly long (understandable) - it might be an idea to paginate it and allow one to filter it based on bounced users only. Also to be able to erase the table - thinking of data storage sizes here.
Good idea. Will add this.
Quote:
Originally Posted by tekguru View Post
- If one does not wish to use the bounce change usergroup feature how does one turn that facility off as it only lists the usergroups, there is not an option for 'none'.
good point. i will set an "enable group move" option.

Quote:
Originally Posted by tekguru View Post
More 2 .....

1) The message to be sent specififes:

HTML Code:
<p>Kindest Regards<br/>
The $forumtitle Team
<a href="$homeurl">$bbtitle</a></p>
But translates into (from looking at the test message):



So it looks like the '$forumtitle' variable is not being parsed?
Correct. I need to fix this.
Reply With Quote
  #113  
Old 08-24-2008, 08:03 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
No, it's a server configuration issue. Generally, files sent by a PHP script are sent from nobody@domain.com unless you configure the server to do otherwise.
with sendmail you can specify -f to force a from address. im not saying its not server configuration, however in a lot of cases it can be fixed with -f
Quote:
Originally Posted by djbaxter View Post
I think this is a step backwards, to be blunt. EZ Bounce works on all email sent out by the forum, such as notifications, etc. It would be far better to have an option to specifiy the EZ Bounce headers, or even just to set them automatically if the admin indicates that EZ Bounce is installed.

Why reinvent the wheel? Especially when you're trying to reinvent only half the wheel...
You have a valid point, and this is the very reason why for the next version the modification will handle ALL emails sent out. I realised this was the only way when one member mentioned he uninstalled ezbounce.

from what i understand, with ezbounce you have to manually click a link in each bounced email to modify the user? that's just a manual process with a shortcut in my eyes. my vision was pure automation, and on request i might add.
Quote:
Originally Posted by djbaxter View Post
That's why the email notifications are a much better idea... no logs to delete or edit.
he would just get a giant email instead - i am working on ways to organise the data better.
Reply With Quote
  #114  
Old 08-24-2008, 08:54 PM
tekguru tekguru is offline
 
Join Date: May 2007
Posts: 366
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I too have uninstalled EZ Bounce as it was installed for me previously. If this Mod can replace that functionality automatically I'd be happy as it was a nightmare clicking on the bounce links.

A giant emial works for me unless detailled stats analysis is goignto be built into the Mod, if not the email is better as we can review and delete without the clogging of the database with unneeded data.

Cheers for clarifying the use of the settings, might be an idea to add this detail in the header of the Mod config page to that folks with poor memories like me will remember or of course for new users of the Mod

Glad me other bug reports and suggestions proves useful, look forward to the next version. In the interim if we want to clear the table built up what table do we need to empty?
Reply With Quote
  #115  
Old 08-24-2008, 09:07 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 tekguru View Post
I too have uninstalled EZ Bounce as it was installed for me previously. If this Mod can replace that functionality automatically I'd be happy as it was a nightmare clicking on the bounce links.

A giant emial works for me unless detailled stats analysis is goignto be built into the Mod, if not the email is better as we can review and delete without the clogging of the database with unneeded data.

Cheers for clarifying the use of the settings, might be an idea to add this detail in the header of the Mod config page to that folks with poor memories like me will remember or of course for new users of the Mod

Glad me other bug reports and suggestions proves useful, look forward to the next version. In the interim if we want to clear the table built up what table do we need to empty?
i actually have a version here sat on my hard drive that fully automates the bounce system. im just testing it as much as i can at the moment. i am going to be coding detailed stats and will also provide an email summery every day.

if the data stored is too large, you could set the days to keep the data to something small - currently it's for 1 month, but you could quite easily set it to 1 day (you could even set it to 0.25 or somemthing and it will clear every 6 hours!) or if you need to, there is a table called "remindermail_log" empty it.
i will add options to erase the database too.

im going to do a propper manual also..
Reply With Quote
  #116  
Old 08-24-2008, 09:40 PM
Moparx Moparx is offline
 
Join Date: Jul 2004
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by C Braithwaite View Post
which version of the mod are you using?
1.2.7
Reply With Quote
  #117  
Old 08-24-2008, 09:58 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
1.2.7
it looks like the database was not set up properly on install. try un-installing the product and re-installing the product (as opposed to just overwriting). did you maybe upgrade from a previous version without uninstalling it first?
Reply With Quote
  #118  
Old 08-24-2008, 10:17 PM
Moparx Moparx is offline
 
Join Date: Jul 2004
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by C Braithwaite View Post
it looks like the database was not set up properly on install. try un-installing the product and re-installing the product (as opposed to just overwriting). did you maybe upgrade from a previous version without uninstalling it first?
Hmm.. I believe I did just overwrite the product this last time around.
The problem has been fixed.
Reply With Quote
  #119  
Old 08-24-2008, 10:26 PM
Gene Steinberg Gene Steinberg is offline
 
Join Date: Dec 2006
Posts: 278
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Alas, that can also zero the counters, which means, alas, that people might get their reminder emails all over again before the interval, right?

Worse, my members are still getting multiple copies of these reminders, and they're getting pissed off.

Everything is set correctly. I double checked.

Peace,
Gene
Reply With Quote
  #120  
Old 08-24-2008, 10:39 PM
Moparx Moparx is offline
 
Join Date: Jul 2004
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by genesteinberg View Post
Alas, that can also zero the counters, which means, alas, that people might get their reminder emails all over again before the interval, right?

Worse, my members are still getting multiple copies of these reminders, and they're getting pissed off.

Everything is set correctly. I double checked.

Peace,
Gene
Yes, uninstalling clears everything so everyone will be sent emails once again.
Reply With Quote
  #121  
Old 08-24-2008, 10:46 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 genesteinberg View Post
Alas, that can also zero the counters, which means, alas, that people might get their reminder emails all over again before the interval, right?

Worse, my members are still getting multiple copies of these reminders, and they're getting pissed off.

Everything is set correctly. I double checked.

Peace,
Gene
have you tried maiqueue with table locking?

if you want to avoid sending emails out agian you need to run a query:
go to unixtimestamp.com and get the current time.
go into phpMyAdmin(if you cant do it from within vbulletin)
run query "UPDATE user SET reminder_emaildate = 'unix-timestamp-goes-here'" before you enable the product.
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:38 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.06875 seconds
  • Memory Usage 2,345KB
  • Queries Executed 25 (?)
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
  • (1)bbcode_html
  • (16)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
  • (2)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