vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Mini Mods - Email Reminder for inactive users (https://vborg.vbsupport.ru/showthread.php?t=237531)

Alibass 03-27-2010 06:44 PM

Quote:

Originally Posted by TalkVirginia (Post 2011127)
Where you able to send reminder email out at least once to inactive users? The way it works is the first time reminder emails are sent out, each inactive user will get a timestamp for that reminder mail run. Each time the cron job runs after that it will use the number of days set in the field "How often should we send inactivity reminders". For example, if a user has been inactive for 180 days, this user would get a reminder. If you have 30 in the field mentioned above, this user would not receive another reminder for 30 days. If you want them to get reminders more frequently, then you would need to set this to a lower number. For instance, 7 days then they would get reminders, once a week.

It works the same way when sending reminders in lastpost mode.

Crapola my bad.... I had used this member to test a few days back and I forgot it. The mod is working just like it should. :) :up:

However the last sentence in the reminder message I had to change from $bburl to $forumurl to get the url to display and work properly. Just thought I would let you know in case you want to correct in your next update.

Thanks for all your hard work and time you have put into this mod. It really helps me keep my site cleaned up and old members returning.

TalkVirginia 03-27-2010 07:21 PM

1 Attachment(s)
Quote:

Originally Posted by archet1337 (Post 2011164)
I have only tried it once. Give me a couple of minutes and I will check and get back to you.

Edit: I'm having a hard time reproducing it as I can't get the cron to send out any emails even though I have set last activity/post of two test accounts back one and three months.

When I get the email reports sent from the same email address to admin, they show up with "Digi-Tech Forums" as sender, so I can only assume it's working as intended?

If not, I will give you a shout ;)

I put this little tool together to make it easier to reset the reminders for testing purposes or for some other reason. All this does is reset the emaildate and emailcount fields to zero so that you can do a test run for a test account or reset all users to do them all over again.

It consists of 2 files:
1 new file: resetreminders.php
1 updated file: cpnav_remindermail.xml

1. Unzip the attached file and upload the contents to your forum root.
2. Go to and/or refresh your admincp.
3. Go to Inactive Reminders -> Reset Reminders
4. Enter the user ids you want to reset separated with a comma, or enter 0 for all.

TalkVirginia 03-27-2010 07:49 PM

Quote:

Originally Posted by Alibass (Post 2011204)
Crapola my bad.... I had used this member to test a few days back and I forgot it. The mod is working just like it should. :) :up:

Not a problem! :) Glad to hear it's working good for you. :)

Quote:

Originally Posted by Alibass (Post 2011204)
However the last sentence in the reminder message I had to change from $bburl to $forumurl to get the url to display and work properly. Just thought I would let you know in case you want to correct in your next update.

Thanks for pointing that out. I'll make a note of that.

Quote:

Originally Posted by Alibass (Post 2011204)
Thanks for all your hard work and time you have put into this mod. It really helps me keep my site cleaned up and old members returning.

Not a problem! :) I enjoy doing it and I get my 15 mins of fame. LOL :) j/k ... but I do enjoy making the mods. :) I'm glad to hear it's helped your site. Now if I could only get members to be active on my site... ;)

archet1337 03-27-2010 08:05 PM

Quote:

Originally Posted by TalkVirginia (Post 2011214)
I put this little tool together to make it easier to reset the reminders for testing purposes or for some other reason. All this does is reset the emaildate and emailcount fields to zero so that you can do a test run for a test account or reset all users to do them all over again.

Thank you, that did the trick. I was able to reset and run the cron job once more.

This is the result I got:

https://vborg.vbsupport.ru/

TalkVirginia 03-27-2010 08:17 PM

Quote:

Originally Posted by archet1337 (Post 2011229)
Thank you, that did the trick. I was able to reset and run the cron job once more.

Ah ok - Thanks for the info! I don't think there is anything I can do with that. I'm not 100% sure, but that may be a gmail issue. I have some work I have to get done for a .NET class I'm taking ( I know... Boo! Hiss! Micro$tink goop... lol ) Anyway, I'll try to reproduce that on my end with a test gmail account asap. Is there any way you can view the hidden mail header info, and attach that in a text file? I'll see if there is anything in the header that might cause that or if there is anything I need to change or possibly include.

archet1337 03-27-2010 08:20 PM

Great stuff. Thanks Jim :)

Will keep an eye out for updates.

Alibass 03-27-2010 08:31 PM

Quote:

Originally Posted by archet1337 (Post 2011229)
Thank you, that did the trick. I was able to reset and run the cron job once more.

This is the result I got:

http://www.digi-tech.org/images/dive...reminder_1.png

I have tested this on a user with a gmail acct and it worked fine. Are you sending your emails through your hosting server? If yes try sending through your ISP or another service. Your hosting server or ISP maybe blocking sender info.

TalkVirginia 03-27-2010 08:37 PM

Quote:

Originally Posted by Alibass (Post 2011247)
I have tested this on a user with a gmail acct and it worked fine. Are you sending your emails through your hosting server? If yes try sending through your ISP or another service. Your hosting server or ISP maybe blocking sender info.

Yes, I'm sending reminders through my host (bluehost.com). I quickly created a Gmail account and was able to reproduce the issue as well. I also looked at the header when I received one through my ISP (comcast) account and that worked fine.

Alibass 03-27-2010 08:50 PM

Quote:

Originally Posted by TalkVirginia (Post 2011253)
Yes, I'm sending reminders through my host (bluehost.com). I quickly created a Gmail account and was able to reproduce the issue as well. I also looked at the header when I received one through my ISP (comcast) account and that worked fine.

I run all my mail through my host and it works fine. Some host companies put a block on somethings so you do not use their server for spam.

TalkVirginia 03-27-2010 09:01 PM

Quote:

Originally Posted by Alibass (Post 2011260)
I run all my mail through my host and it works fine. Some host companies put a block on somethings so you do not use their server for spam.

ah ok. Well.. as long is it's not crashing it's a good thing. lol ;)


All times are GMT. The time now is 06:37 AM.

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.03470 seconds
  • Memory Usage 1,755KB
  • 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
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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