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-29-2011 11:45 PM

Quote:

Originally Posted by Stefan118 (Post 2201450)
Ok, thank you.

I did also upload the 2 modified files.

I modified my last post... you were just ahead of me with posting.

Whow...
Not only the ID is 0...
When I click their names, all the data is gone!!!

Sorry I was adding a bit more of an example. :)

Ok.. need to give more info.. I don't know what ID you're referring to. What names are you clicking?

Stefan118 05-29-2011 11:48 PM

I added a thumbnail 4 posts up...

The data of the usernames is gone when I click them in the reminder mail log.

Edit:

Pfffff, luckely when i do a search of the email address, all the data of the user shows up.
So only when I click on their names in the log, I get an empty user info.
Exactly the same as when i manualy should add an user. That field I get.

TalkVirginia 05-30-2011 12:02 AM

1 Attachment(s)
Quote:

Originally Posted by Stefan118 (Post 2201458)
I added a thumbnail 4 posts up...

The data of the usernames is gone when I click them in the reminder mail log.

Edit:

Pfffff, luckely when i do a search of the email address, all the data of the user shows up.
So only when I click on their names in the log, I get an empty user info.
Exactly the same as when i manualy should add an user. That field I get.

Easy fix... replace this file. upload and overwrite the existing one in your includes folder.

Originially I was doing a "SELECT * .... " in my queries... but I changed it to grab specific fields and forgot about the userid. Thank you for pointing that out. :)

I'll update the zip file now.

Alan_SP 05-30-2011 12:05 AM

Quote:

Originally Posted by TalkVirginia (Post 2201449)
If you set the grace period for them to become inactive 60 days from their last activity date. On their 61st day they should get a reminder if they've never received one. This will set a flag so that the next time they become inactive for 60 days they won't get anymore emails if the mod is set to send only one email.

If set to send more than one.. same as above except the mod will look to see if they received an email previously.. and how many days it's been. For instances. If they have been inactive for greater than 60 days, let's say they have been inactive for 150 days and you have the "How often should we send reminder emails" setting set to 30 days, they should recieve an email every 30 days within that 150 day period which would be 2 times (150 - 61 = 89 / 30 = 2.966).

If I understand correctly, mod will send only one email. Even if they return and become inactive again. Can you change this behavior? I'd like that this settings mean that my users are bothered whenever they become inactive after certain period of time I define.

If they come back, they are active. After some time they may become inactive and I want them to remind again.

Stefan118 05-30-2011 12:12 AM

I uploaded the new file...
However, the ID's still are 0, and still no data when I click names.
I even logged out and logged back in.

Anyway...
To improve this mod..

Maybee you can add this in a next update?

A member is inactive for 60 days.
He'll be send an email on day 61.
Member becomes active again.
---------
Member becomes inactive again after several months.
Member gets a reminder again.

That was what I ment a few posts ago.
I only want to send a member 1 reminder mail when they become inactive(I want to bother my members as less as possible)

TalkVirginia 05-30-2011 12:35 AM

1 Attachment(s)
Inactivity Log Bug:

When you go to prune the inactivity log, it can not find the
"pruned_inactivitylog_successfully" phrase. In addition, it is unable to locate the redirect page.

This has been fixed in the attached file. Upload the attached file to your AdminCP folder and overwrite. I'll update the product and update the zip in a later release.

To fix the phrase issue manually do this:

Note: It may be necessary to place your site in debug mode for this.

1: Go to Languages & Phrases....
2: Search in Phrases...
3: In the search form, leave all fields at there default except the following:

Search for Text: pruned_inactivitylog_successfully

Search in... Phrase Text and Phrase Variable Name

Click "Find"...

Click Edit in the Phrase Search Results

In the Phrase edit form, change the Phrase Type to "Error Messages".

Leave all other fields as they are.

Click "Save"

If you placed your site in debug mode, take your site out of debug mode now.

You're done.

Stefan118 05-30-2011 12:57 AM

Well done.
I uploaded (overwritten) the inactivitylog.php with the new file...

Pruned the log, and have send 10 mails again...

Thanks,
You fixed it! :up:

TalkVirginia 05-30-2011 04:09 AM

Quote:

Originally Posted by Stefan118 (Post 2201495)
Well done.
I uploaded (overwritten) the inactivitylog.php with the new file...

Pruned the log, and have send 10 mails again...

Thanks,
You fixed it! :up:

Good to hear! :) Now on to the next feature set. ;) Detect bouncing emails :up:

TalkVirginia 05-30-2011 11:28 AM

Quote:

Originally Posted by Alan_SP (Post 2201466)
If I understand correctly, mod will send only one email. Even if they return and become inactive again. Can you change this behavior? I'd like that this settings mean that my users are bothered whenever they become inactive after certain period of time I define.

If they come back, they are active. After some time they may become inactive and I want them to remind again.

Hi Alan,

You have the option to set the mod to send either a single reminder or if you want, you can send multiple reminders. There is also the option to set a maximum limit of reminders. For instance, you only want to send 20 reminders, and they member will not receive anymore after they get the 20th reminder. If the member becomes active, the mod will not reset the reminder count. In addition to this, the inactivity grace period or how long should a member be away from your site to be considered inactive? Some say 30 days, others say 60 days, or maybe 90 days. To completment this setting as I've mentioned in other posts the setting to define how often an member will receive a reminder after they have become inactive.

Does this answer your question?

socialteenz 05-30-2011 12:27 PM

Thank you ;)

Installed & *****


All times are GMT. The time now is 09:15 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.01550 seconds
  • Memory Usage 1,749KB
  • 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
  • (5)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