vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Mini Mods - Email reminder for inactive users (https://vborg.vbsupport.ru/showthread.php?t=138946)

GBSteve 03-14-2007 01:35 PM

Been watching for a short while, but today I installed this mod on my test forum - looks quite nice.

BUT I ran into a snag (I can hear the sighs already...). For testing purposes, I set the mod to base inactivity on last post, not last visit. I then changed the frequency, etc to **---- so that it would be constantly (as I understand it) watching and sending, watching and sending.

I then went to "Scheduled Task Manager" and manually ran the mod. Checked the log, and sure enough it sent an email out to me and the other test user account.

Unfortunately, when I checked my email, I received two copies of the same email with the same timestamp... The log shows only 1 email, but I received a duplicate. I have the usergroups for the mod set to 2,5,6,7 (registered users, mods, admin, and supermods - just for testing purposes). My test account only belongs to the Admin usergroup so it isn't an issue of multiple usergroups...

I also know it didn't send first as a regularly scheduled job and then a 2nd time from my manual run as the CRON log only shows emails being sent out once, and then the 2 following times I ran the CRON job manually it said there were no emails to send (which is correct).

Any ideas why I received dupe emails? I do NOT want this to happen to my users. :/

FYI I have read this entire thread. :)

djbaxter 03-14-2007 01:39 PM

There are TWO settings in the options for this add-on:

1. Days of Inactivity
How many days a user can go without posting before they are considered inactive.

2. Email Frequency
How often to send a reminder email once a member has become inactive - set this to how many days you want to wait before sending out another reminder to that member.

GBSteve 03-14-2007 07:24 PM

djbaxter,

was that directed to my post? I'm aware of the two settings. My problem is that running the CRON task created TWO emails with the same timestamp yet only 1 entry in the log file. If they were both legitimate emails, I'd have seen two entries in the log.

DaveS 03-14-2007 07:28 PM

Quote:

Originally Posted by djbaxter (Post 1203316)

2. Email Frequency
How often to send a reminder email once a member has become inactive - set this to how many days you want to wait before sending out another reminder to that member.

A great mod but I think the above needs much better explanation in the Admin panel. I set this low thinking that it was the number of emails sent out to a member, and I've had lots of disgruntled users as a result and I didn't now why!
Now I do and I've corrected it, but beware everyone you could PO your users if you set it too low.

doogie88 03-14-2007 10:22 PM

How do we limit the number of emails that are sent? I've received 3 on my account now, I can imagine people are getting annoyed with 3 emails in the last 2 weeks.
I made the same mistake as above.

djbaxter 03-14-2007 11:33 PM

Quote:

Originally Posted by GBSteve (Post 1203567)
My problem is that running the CRON task created TWO emails with the same timestamp yet only 1 entry in the log file. If they were both legitimate emails, I'd have seen two entries in the log.

I'm not sure that's a ptroblem with this add-on. I believe there is a known bug in recent versions of vBulletin where the mail system sends out intermittent multiple emails. On one large forum (not my own), I have received as many as 4 with the same timestamp (notifications of replies to a thread) and even on my own I periodically receive two or occasionally three.

djbaxter 03-14-2007 11:34 PM

Quote:

Originally Posted by DaveS (Post 1203570)
A great mod but I think the above needs much better explanation in the Admin panel. I set this low thinking that it was the number of emails sent out to a member, and I've had lots of disgruntled users as a result and I didn't now why! Now I do and I've corrected it, but beware everyone you could PO your users if you set it too low.

I agree. Chris, the author, did explain this in an early post in this thread but I agree it's worded in a confusing way.

Quote:

Originally Posted by doogie88 (Post 1203664)
How do we limit the number of emails that are sent? I've received 3 on my account now, I can imagine people are getting annoyed with 3 emails in the last 2 weeks. I made the same mistake as above.

See https://vborg.vbsupport.ru/showpost....&postcount=262 above.

Smoothie 03-15-2007 01:22 AM

Testing this mod, I only received 1 email per account.

doogie88 03-15-2007 01:26 AM

Quote:

Originally Posted by djbaxter (Post 1203702)
I agree. Chris, the author, did explain this in an early post in this thread but I agree it's worded in a confusing way.



See https://vborg.vbsupport.ru/showpost....&postcount=262 above.

That still doesn't make sense.

2. Email Frequency
How often to send a reminder email once a member has become inactive - set this to how many days you want to wait before sending out another reminder to that member.

Set this to how many days you want to wait. So does it only send 2 notices?
That's how many days apart it will send the notice, but not how many total emails will be sent?

Gryphon 03-15-2007 04:06 AM

I believe that people with things like UserName[CLAN] might not be deliverable. I got the following message back:
Code:

A message that you sent contained one or more recipient addresses that were incorrectly constructed:

  UserName[CLAN]  <username@hotmail.com>: missing or malformed local part (expected word or "<")

This address has been ignored. The other addresses in the message were syntactically valid and have been passed on for an attempt at delivery.


It would also be nice if users could opt out from receiving the emails right from the email.


All times are GMT. The time now is 03:53 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01530 seconds
  • Memory Usage 1,747KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete