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)

TalkVirginia 05-21-2011 01:01 PM

I wanted to post an idea I had for discussion. I was analyzing where inactivity is being based on last post date. Currently there is no other criteria being used so when grace period for inactivity is reached a member will start getting reminders the day after. Granted my plan is to adapt this add-on to something similar to the rules criteria for when notices are displayed, but for now I was thinking that the inactivity criteria should be opened up instead of basing it on one or the other.. (ie. Last Post Date, Last Visit date...) but have the option to base inactivity on last post date if the member's last visit was greater than or equal to whatever number of days you choose. Make sense? I'm open for input and would be interested to hear yours.

Thanks,
Jim

gamerzhut 05-21-2011 03:35 PM

I guess Inactive based on last visit is more than enough. Since it would be bugging out the members if we simply send out the emails. Correct me if i am wrong.

TalkVirginia 05-21-2011 03:56 PM

Quote:

Originally Posted by gamerzhut (Post 2198391)
I guess Inactive based on last visit is more than enough. Since it would be bugging out the members if we simply send out the emails. Correct me if i am wrong.

You are correct. That being said, is there anyone basing inactivity on lastpost date? Would anyone like to see more criteria added similar to the notices? ... or would anyone like me to take lastpost date out all together.

S_E_A 05-21-2011 05:19 PM

Quote:

Originally Posted by TalkVirginia (Post 2197992)
Thank you for the info - I'll look into this and post a fix as soon as I can.

EDIT: AH, Ok.. I see the problem. If you don't mind and feel like you can make the change yourself. Here's how you can do it.

1. Open the <forum>\includes\functions_remindermail.php
2. Find:

Lines 91 and 212.
PHP Code:

"SET rmEmailDate = UNIX_TIMESTAMP(), "

3. Remove the comma at the end of TIMESTAMP() on both lines.

4. Save the file and you should be good to go.

If you decide you don't want to edit it yourself, I've attached a fixed file to this post. Just drop it in your forum includes folder.

Let me know if you have any other issues.

Thanks,
Jim

TalkVirginia, should we all make the suggested amendment?

Thank you for an excellent mod.

TalkVirginia 05-21-2011 05:28 PM

Quote:

Originally Posted by S_E_A (Post 2198423)
TalkVirginia, should we all make the suggested amendment?

Thank you for an excellent mod.

Yes, everyone that has v2.15 installed will need to do this.

S_E_A 05-21-2011 06:02 PM

Thank you :)

Alan_SP 05-21-2011 11:01 PM

Quote:

Originally Posted by TalkVirginia (Post 2198395)
You are correct. That being said, is there anyone basing inactivity on lastpost date? Would anyone like to see more criteria added similar to the notices? ... or would anyone like me to take lastpost date out all together.

I use it by last activity, but someone might (maybe even I) use it for both things. If you could as 2 in one, to remind those who didn't log in and didn't write anything in set period. With different messages, what would make it a very long list of settings.

Don't know, bothering users isn't best strategy. Maybe having last activity is enough?

TalkVirginia 05-22-2011 08:09 AM

Quote:

Originally Posted by Alan_SP (Post 2198526)
I use it by last activity, but someone might (maybe even I) use it for both things. If you could as 2 in one, to remind those who didn't log in and didn't write anything in set period. With different messages, what would make it a very long list of settings.

Don't know, bothering users isn't best strategy. Maybe having last activity is enough?

Good points. Thank you for your input. :)

Stefan118 05-22-2011 09:18 AM

An other point.

I have set the inactivity to 60 days (2 months), and last night an user who has last signed in at april 8th got the reminder mail.
An other user has last logd in march 27, and also got an email last night.

Not that I bother, but how comes?

TalkVirginia 05-22-2011 07:38 PM

Quote:

Originally Posted by Stefan118 (Post 2198625)
An other point.

I have set the inactivity to 60 days (2 months), and last night an user who has last signed in at april 8th got the reminder mail.
An other user has last logd in march 27, and also got an email last night.


Not that I bother, but how comes?

What year? :)


All times are GMT. The time now is 12:37 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.02799 seconds
  • Memory Usage 1,745KB
  • 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_php_printable
  • (6)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
  • (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