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)

djbaxter 04-28-2007 04:56 PM

Quote:

Originally Posted by subnet_rx (Post 1237138)
Anyone got suggestions on good settings for this mod? I had several users email me that they were getting several messages over the course of a week. I don't want to look like a spammer. Maybe even just email all inactive users once, and that's it. If they don't want to come back after that, I'd rather not remind them again. Should I use 360 in the amount column?

Mine are as follows (using version 1.09):

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

Email Frequency = 30
How often to send a reminder email once a member has become inactive.

Email Quantity = 10
How many emails to send each time cron runs (Lower means faster board, but longer to send all emails. Higher, vice versa.)

kitsch 04-29-2007 03:07 PM

Quote:

Originally Posted by C Braithwaite (Post 1236858)
Not being funny or anything, but try setting your email address to the correct address in your ACP?
The reason that it is putting that email address is because that is what YOU set it to. any emails sent out from vbulletin will use that email address as the return address/contact address.

I'm sorry, but I think I've set the address correctly.
Using vBulletin 3.6.4, btw. Could that be the problem?

C Braithwaite 04-29-2007 05:51 PM

Quote:

Originally Posted by djbaxter (Post 1236987)
D'oh! :o

Sorry. I am using this add-on in combination with the EZ Bounced Emails add-on. My comments are appropriate to the latter, not this one, of course.

I blame it on waking up an hour earlier than normal and lack of coffee... :o

lol will let you off

Quote:

Originally Posted by kitsch (Post 1237621)
I'm sorry, but I think I've set the address correctly.
Using vBulletin 3.6.4, btw. Could that be the problem?


i've only personally tested it on 3.6.5, but i cant see why it would be a problem..

KURTZ 04-30-2007 02:13 PM

installed!

DarkWolf74 05-01-2007 01:49 PM

Oh heck.. I was having the problem of people complaining about getting emails way too frequently too.. Can someone verify what this setting does?

Email Frequency = 30
How often to send a reminder email once a member has become inactive.

Is that frequency in DAYS? How many days apart to send them? If so it needs reworded. I thought it was how many emails to send them before stopping.

djbaxter 05-01-2007 02:14 PM

Quote:

Originally Posted by DarkWolf74 (Post 1238938)
Oh heck.. I was having the problem of people complaining about getting emails way too frequently too.. Can someone verify what this setting does?

Email Frequency = 30
How often to send a reminder email once a member has become inactive.

Is that frequency in DAYS? How many days apart to send them? If so it needs reworded. I thought it was how many emails to send them before stopping.

Yes, that's correct. And yes, it does need some rewording - perhaps "Days between reminders" would be better.

C Braithwaite 05-01-2007 05:09 PM

Quote:

Originally Posted by DarkWolf74 (Post 1238938)
Oh heck.. I was having the problem of people complaining about getting emails way too frequently too.. Can someone verify what this setting does?

Email Frequency = 30
How often to send a reminder email once a member has become inactive.

Is that frequency in DAYS? How many days apart to send them? If so it needs reworded. I thought it was how many emails to send them before stopping.

Quote:

Originally Posted by djbaxter (Post 1238947)
Yes, that's correct. And yes, it does need some rewording - perhaps "Days between reminders" would be better.

Well, i beg to differ - "how often", last time I checked the English language, does not mean in any way, shape, or form "how many"

I should have specified that it is measured in days however, I will hold my hands up to that one.

;)

djbaxter 05-01-2007 06:02 PM

I don't think "how often" is the part that's confusing people. I think it's the phrase "email frequency".

C Braithwaite 05-02-2007 10:39 AM

Quote:

Originally Posted by djbaxter (Post 1239071)
I don't think "how often" is the part that's confusing people. I think it's the phrase "email frequency".

Frequency "The property or condition of occurring at frequent intervals."


Should i dumb it down for people? I thought that "frequency" was a common word, not some fancy tech talk?

djbaxter 05-02-2007 11:50 AM

I think a different phrase would likely remove the confusion which seems to have affected numerous people who've installed the add-on. As I said above, perhaps using "Days between reminders" would eliminate most of the confusion (reading the thread would eliminate all of it but you know that's not going to happen for many people).

By the way, congratulations on Mod of the Month for April!

BadgerDog 05-02-2007 02:28 PM

Quote:

Originally Posted by djbaxter (Post 1187433)
That's quite easy to add in the Admin options in the existing mod. Just create your email content to include the link. Mine provides specific details:

Hi .. :)

I'm just about to implement and try this....

You've used HTML coding, but the sample as delivered in the mod is "plain text". Do both approaches work when mailed to the member?

Is there some way I can test this on a single user (ie: myself), to see what it looks like when it arrives?

Thanks for any feedback...

Regards,
Badger

djbaxter 05-02-2007 02:38 PM

Quote:

Originally Posted by BadgerDog (Post 1239766)
You've used HTML coding, but the sample as delivered in the mod is "plain text". Do both approaches work when mailed to the member?

I'm using version 1.09 of this add-on which does send emails in rich text/html format. If you send a plain text email, the member would need to cut and paste the link into his browser.

BadgerDog 05-02-2007 02:52 PM

Quote:

Originally Posted by djbaxter (Post 1239775)
I'm using version 1.09 of this add-on which does send emails in rich text/html format. If you send a plain text email, the member would need to cut and paste the link into his browser.


That's interesting.....

I downloaded v1.11....

So, if I'm creating an email to use with this version, I should format and use just plain simple text?

.... or, re-download v1.09 and use soething like your elegant HTML email?

Have I understood it correctly?

Thanks

Regards,
Badger

djbaxter 05-02-2007 02:55 PM

I think it's your choice.

If 1.11 is working for you and you're happy with it, then format the message for plain text.

Some people have found 1.10 and 1.11 to be buggy. To be honest, I've forgotten what didn't work well for me - I reverted to 1.09 which for me has always worked well.

I believfe Chris is still working on an update intended to address the issues with 1.11.

BadgerDog 05-02-2007 02:58 PM

Thanks ...

Well, I'm a virgin user, so maybe I'll go with something that you know works.... :D

I'll uninstall v1.11 and install v1.09, then I'll plagerize some of your HTML email and use it, if you don't mind? :)

Thanks again for the feedback....

Regards,
Badger

djbaxter 05-02-2007 03:03 PM

Be my guest. :)

BadgerDog 05-02-2007 03:12 PM

Quote:

Originally Posted by djbaxter (Post 1239794)
Be my guest. :)


Thanks... :)

I think just discovered what the "clarity" chatter was all about in v1.09, which I just installed.... :D

I hope this makes sense.....

Quote:

How many days a user can go without posting before they are considered inactive.
Product Active? 60
(Hasn't logged in for 60 days)

Is this product active? No
(I need to test it first)

How often to send a reminder email once a member has become inactive. 30
(In other words, remind him every 30 days?)

How many emails to send each time cron runs (Lower means faster board, but longer to send all emails. Higher, vice versa.) 10
(I have no idea. I use a dedicated system with 800 members. Perhaps 10 logged in at a time)


I assume I set the cron up to run every HOUR or so?

Regards,
Badger

djbaxter 05-02-2007 03:25 PM

I have mine set to run hourly. I guess that would depend on how busy your forum is and server resources.

BadgerDog 05-02-2007 03:39 PM

Quote:

Originally Posted by djbaxter (Post 1239812)
I have mine set to run hourly. I guess that would depend on how busy your forum is and server resources.

Ok, we have lift off..... :)

Set a couple of test accounts to be over 200 days old since last logged in.....

Went to cron job and said "go for it" ....

One was a Hotmail account which still hasn't arrived... :D I guess they don't like it, or for some reason it hasn't got there yet....

The other was to a regular domain and sure enough, arrived nicely formatted and looking remarkably like your work.... ;)

I reset the cron to send 10 at a time at 16 past the hour and to folks we haven't seen in 90 days. Let's go live...

Thanks again for your help ... :up:

Regards,
Badger

ps: Marked installed v1.09 ....

BadgerDog 05-02-2007 04:31 PM

Hmmmm.. the first automatic cron time came and went, nothing happened....

When I pushed the "do it now" button, 10 emails went out as planned....

Is there something wrong with v1.09 cron job?

I assume I can't out v1.11 cron (PHP) with v1.09?

Thanks

Regards,
Badger

YLP1 05-02-2007 05:14 PM

I installed the 1.09 version on a vb3.6.5 board. No installation errors but I created a test user group and placed an member with old activity (a test one that I created a few years ago) that has one of my domain valid email addys.

I activated the product and indicated the correct usergroup in the ACP.

I ran the cron almost an hour ago and I have not received the email yet.

Forum is sending all other emails as designed but not this one.

When I ran the cron, the result page only stated this:

Quote:

Inactive User Reminder Emails
Done
Any ideas on where I screwed this up?

Thanks in advance.

C Braithwaite 05-02-2007 07:49 PM

Quote:

Originally Posted by djbaxter (Post 1239658)
I think a different phrase would likely remove the confusion which seems to have affected numerous people who've installed the add-on. As I said above, perhaps using "Days between reminders" would eliminate most of the confusion (reading the thread would eliminate all of it but you know that's not going to happen for many people).

By the way, congratulations on Mod of the Month for April!


ill get onto it, and cheers - im well happy about motm!

Quote:

Originally Posted by djbaxter (Post 1239787)
I think it's your choice.

If 1.11 is working for you and you're happy with it, then format the message for plain text.

Some people have found 1.10 and 1.11 to be buggy. To be honest, I've forgotten what didn't work well for me - I reverted to 1.09 which for me has always worked well.

I believfe Chris is still working on an update intended to address the issues with 1.11.

i've not had the fre time to work on it. but im keeping up to date with this thread.

BadgerDog 05-02-2007 09:28 PM

Ok, for whatever reason..... cron started working and has been sending out batches of 10 emails an hour for the last several hours, all on it's own... (Note: v1.09) :up:

I've already seen a huge spike in members who haven't been on for 60 days coming back and checking out things. I haven't had one complaint about the emails, but rather three so far saying thanks for reminding them, they had forgotten how much they enjoyed the forum.

Thanks for the development work.... :)

Regards,
Badger

Quote:

Originally Posted by BadgerDog (Post 1239861)
Hmmmm.. the first automatic cron time came and went, nothing happened....

When I pushed the "do it now" button, 10 emails went out as planned....

Is there something wrong with v1.09 cron job?

I assume I can't out v1.11 cron (PHP) with v1.09?

Thanks

Regards,
Badger


C Braithwaite 05-02-2007 11:12 PM

Quote:

Originally Posted by BadgerDog (Post 1240116)
Ok, for whatever reason..... cron started working and has been sending out batches of 10 emails an hour for the last several hours, all on it's own... (Note: v1.09) :up:

I've already seen a huge spike in members who haven't been on for 60 days coming back and checking out things. I haven't had one complaint about the emails, but rather three so far saying thanks for reminding them, they had forgotten how much they enjoyed the forum.

Thanks for the development work.... :)

Regards,
Badger

I am so glad you like :D
..but i dont do this for thanks.. i do it for cash..

lol im kidding .. it's all free

djbaxter 05-03-2007 12:51 AM

Chris is right. He doesn't need the cash. Send it to me :D

BadgerDog 05-03-2007 09:36 AM

Quote:

Originally Posted by djbaxter (Post 1240240)
Chris is right. He doesn't need the cash. Send it to me :D

Well, it appears to me that in many ways, the two of you seem to be developing this together ... :D

Since you're just up the road from me, the next time you come to the big city let me know and I'll buy you lunch to say thanks... :up:

BTW, overnight... membership log-ins have gone up up almost 40% using this mod ... ;)

Regards,
Badger

cassis2k 05-03-2007 09:41 AM

Good job. Thanks

Clicks Install

YLP1 05-03-2007 05:20 PM

Quote:

Originally Posted by YLP1 (Post 1239913)
I installed the 1.09 version on a vb3.6.5 board. No installation errors but I created a test user group and placed an member with old activity (a test one that I created a few years ago) that has one of my domain valid email addys.

I activated the product and indicated the correct usergroup in the ACP.

I ran the cron almost an hour ago and I have not received the email yet.

Forum is sending all other emails as designed but not this one.

When I ran the cron, the result page only stated this:



Any ideas on where I screwed this up?

Thanks in advance.

I am still stuck - see above. Any thoughts?

kkeezer 05-03-2007 05:37 PM

Congrats on winning MOTM! :up:

Any ways is there a way to test this mod? I would like to see what they see as a test.

Thanks,
Kyle

YLP1 05-03-2007 11:04 PM

I ended up installed the ver 1.11 and it sent out over 400 emails. Is there a way to control the amount of emails that are sent out each time? Sending out so many emails at once could cause a domain to be blacklisted. OR does this product use what we choose in the ACP->>Email Options:
options['emailsendnum']" colSpan=2>Number of Emails to Send Per Batch
vBulletin includes a mail queuing system to prevent bottlenecks when sending lots of email. Use this option to specify how many emails will be sent per batch.

.


If it doesn't I can see this being a problem maybe not right away but it will be a problem as far as blacklistings.

Your thoughts?

djbaxter 05-04-2007 01:06 AM

I believe if you're using version 1.11, it doesn't actually send all those 400 emails out at once. Rather, it adds them to the vBulletin mail queue.

Chris, please correct me if I'm wrong (I'm actually still using 1.09 myself).

lazydesis 05-04-2007 02:24 PM

Quote:

Update 1.1.1
Edited default templates
Added daily report
coule you please tell me where the report is? thanx ..great hack meanwhile :D

YLP1 05-04-2007 05:12 PM

Quote:

Originally Posted by djbaxter (Post 1241009)
I believe if you're using version 1.11, it doesn't actually send all those 400 emails out at once. Rather, it adds them to the vBulletin mail queue.

Chris, please correct me if I'm wrong (I'm actually still using 1.09 myself).

Gosh I hope so but when I look at the task report, it shows them all going out at the same time.

I couldn't get ver1.09 to work at all which is why I installed the 1.11. Right now I have disabled the cron pending confirmation of whether or not the product uses the vb mail queue.

BadgerDog 05-04-2007 05:19 PM

Quote:

Originally Posted by YLP1 (Post 1241448)
Gosh I hope so but when I look at the task report, it shows them all going out at the same time.

I couldn't get ver1.09 to work at all which is why I installed the 1.11. Right now I have disabled the cron pending confirmation of whether or not the product uses the vb mail queue.


I don't know about v1.11, but my v1.09 sent out 150 emails over a few days at 10 at a time. I know a lot of folks received them because my logins went up 50% or more. I do know that the test one I sent to a Hotmail account never arrived, but I wonder if that's a filtering thing (blocking?) being done by MSN?

Regards,
Doug

YLP1 05-04-2007 06:10 PM

Using ver1.09 ---- I moved one of my old test member names into a test group--- it hadn't accessed the forums for 8 months.

I never got the email nor did the report identify that the email was ever sent. That's why I tried the 1.11. I am crossing my fingers that 400 emails didn't go out at once. I have a large community forum for a small city and 99% of my members live in this community and use one of three IP providers. That is why I am really worried about the blacklisting ---- Can you imagine one or more of these providers received 200 emails from one source in a span of 5 to 10 minutes? Ouch.... I am crossing my fingers that you are right about it using the vb mail queue. If not, I could be toast with the batch that went out last evening.

Burley 05-06-2007 09:23 PM

Great hack!

Is it possible to change the language of the e-mail automatically according to the default language wich a user has set?

v12kid 05-06-2007 10:55 PM

any updates to the issue with the quantity being sent out? I am afraid to send some as well, dont want to get blacklisted!

Once there is clarification on the issue I will Install it!!

YLP1 05-06-2007 11:04 PM

Quote:

Originally Posted by v12kid (Post 1242745)
any updates to the issue with the quantity being sent out? I am afraid to send some as well, dont want to get blacklisted!

Once there is clarification on the issue I will Install it!!

I am waiting for the response as well... I have the ver1.11 installed (couldn't get v1.09 to work) but I disabled the auto cron so that it won't send any emails until I know for sure about the number of emails being sent at one time.

I will say that out of the 400+ that ver 1.11 said it sent --- I haven't received one single bounced email which I think is very unusual. I am wondering if the emails were sent at all even though the log states they were. I don't know how to test this any other way than to use my test account that hasn't been accessed for over 6 months. I never got an email for that account either.

aam 05-08-2007 05:53 PM

Quote:

Originally Posted by kitsch (Post 1236639)
I've sent out a huge batch of e-mails and to my surprise the From: field of the e-mail has been set incorrectly. It should have been:

admin@gsm-forum.eu

and instead it got set to:

"GSM Forum Europe" <GSM Forum Europe@p2pgsm.com>

(p2pgsm.com being the name of the server the forum runs on). So the users received the mail from europe@p2pgsm.com... Which isn't really cool. :(

Quote:

Originally Posted by C Braithwaite (Post 1236858)
Not being funny or anything, but try setting your email address to the correct address in your ACP?
The reason that it is putting that email address is because that is what YOU set it to. any emails sent out from vbulletin will use that email address as the return address/contact address.

I've been playing with your mod (v1.11) and it is very useful, but it needs a bit of tweaking. There is a real problem where the from field is not being generated correctly. I initially thought it must be something to do with the email address in vboptions, but it isn't.

I've noticed that the resultant email "from field" can end up as various things, but generally either "bbtiltle <bbtitle>" or bbtitle<servername>. This can lead to the email being rejected by some mail servers (as the sent email does not have a correct email from header, or a domain indicated and no @).

The problem is due to the way vbmail has been used in remindermail.php. The final email from field is not generated by: (line50)
Code:

$uheaders .= "From: " . $vbulletin->options['bbtitle'] . " Reminder Service <" . $vbulletin->options['webmasteremail'] . ">" . "\r\n";
Instead it is from the $from: (line 69)
Code:

vbmail($toemail, $subject, $message, $notsubscription = false, $from = $vbulletin->options['bbtitle'], $uheaders = '', $username = '');
So all it was generating was a from based on bbtitle. One way to correctly generate a from field containing the board's email is to change $from to use 'webmasteremail': (line 69)

Code:

vbmail($toemail, $subject, $message, $notsubscription = false, $from = $vbulletin->options['webmasteremail'], $uheaders = '', $username = '');
A similar problem can be seen in the reminder report produced (line 79), but this time multiple from email headers are created on the report - one from $from and another from $uheaders.

C Braithwaite 05-08-2007 06:39 PM

Quote:

Originally Posted by djbaxter (Post 1241009)
I believe if you're using version 1.11, it doesn't actually send all those 400 emails out at once. Rather, it adds them to the vBulletin mail queue.

Chris, please correct me if I'm wrong (I'm actually still using 1.09 myself).

Quote:

Originally Posted by YLP1 (Post 1241448)
Gosh I hope so but when I look at the task report, it shows them all going out at the same time.

I couldn't get ver1.09 to work at all which is why I installed the 1.11. Right now I have disabled the cron pending confirmation of whether or not the product uses the vb mail queue.

Yes it adds it to the vbulletin mail queue.
sorry, i;ve got a killer headache right now so im not able to reply to everything.


All times are GMT. The time now is 01:19 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.02340 seconds
  • Memory Usage 1,873KB
  • 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
  • (3)bbcode_code_printable
  • (29)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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