![]() |
I've decided to make things a bit easier with the mod so I'm planning on stripping out the logic that will base inactivity on last post and last visit. I'll be basing inactivity on last activity.
|
Quote:
|
Uploaded a new version with the following changes/additions:
UpDate 2.2.0 =================
|
We got one serious, serious problem with your new version.
This option: Usergroups Which usergroups do you want to monitor for inactivity? It doesn't work. I've been manually moving bounced messages to another usergroup, since you don't seem to have a proper bounce management system. But that group, although not checked, was sent email anyway. So suddenly I've got hundreds of bounces. Ouch. The only group that I checked is Registered Users, by the way. You gotta fix that one ASAP, and then handle bounce management somehow, such as automatically moving bounced messages to a different usergroup. Peace, Gene P.S. I'm curious about your paranormal research since I happen to host a nationally syndicated radio show, The Paracast, which covers the subject. :) |
Ok will jump on fixing that now. Thanks.
As far as the paranormal research goes... what would you like to know? |
1 Attachment(s)
Ok.. give these a whirl. :) This should fix the monitored usergroups issue.
functions_remindermail.php => forumroot\includes folder process_inactive_members.php => forumroot\includes\cron folder Please let me know if you run into anything else. Thanks |
Thanks.
As to the paranormal stuff, I suppose we can take that to my forum. :) Peace, Gene |
1 Attachment(s)
I have given this mod another try with the newest update. (2.2.0)
Regarding the problem I had... Could it be an old bug? I have read all the posts of this mod, and found 2 other people who had the same problem. https://vborg.vbsupport.ru/showpost....&postcount=194 https://vborg.vbsupport.ru/showpost....&postcount=296 I also have a question. I have set the "Only send once?" at Yes. What happens if a inactive user reads the mail, decides to log in again and then in a while becomes inactive again? Thanks, Stefan. P.S. Might want to take a look at this... All my members have ID 0? |
Quote:
https://vborg.vbsupport.ru/showpost....&postcount=406 Quote:
They would get only one email regardless. Here's why:
In other words... 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). Make sense? |
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!!! |
Quote:
Ok.. need to give more info.. I don't know what ID you're referring to. What names are you clicking? |
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. |
1 Attachment(s)
Quote:
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. |
Quote:
If they come back, they are active. After some time they may become inactive and I want them to remind again. |
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) |
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. |
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: |
Quote:
|
Quote:
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? |
Thank you ;)
Installed & ***** |
Thank you master
|
I'm getting this error after uploading all the files then I install the product:
Code:
Warning: require_once([path]/includes/functions_remindermail.php) [function.require-once]: failed to open stream: No such file or directory in [path]/includes/adminfunctions_plugin.php(931) : eval()'d code on line 2 |
nevermind I forgot one file.
|
Quote:
Is it possible that you program your mod that if members become active that resets reminder count completely for him? For example, if I set sending only one mail after 30 days of inactivity, member might get back and after some time again become inactive. But, with mod made this way, second time he becomes inactive he wouldn't receive any reminder emails. This isn't good in my opinion. I think that every inactivity period should be considered separate from all others inactivity periods and treated as such. You have it now programmed as only one inactivity period that could be interrupted with periods of activity. And this restricts how we can use this mod very much. If I want to send 20 reminders, I want to send 20 reminders for every inactivity period my users make, not in total for this user. |
Quote:
|
Quote:
|
Quote:
|
1 Attachment(s)
Quote:
Quote:
1. In your admincp, go to Plugins and Products -> Download/Upload Plugins 2. Scroll to the bottom of the main screen and browse for this plugin after saving it to your hard drive. 3. click Import Done! This will reset the reminder mail date and reminder mail count to zero when a returning member logs in. Let me know if you have any questions or issues. I'll update the zip file as soon as I can. Thanks |
Quote:
Great work as always. |
Could someone please answer my question in post #396?
|
Quote:
My apologies for missing your post. If I may ask, what version of vb are you using? Both 3.8.x and 4.x.x versions are very similar in code however the difference is in how templates are rendered. I've also fixed some bugs in the mod so I would recommend updating to the current release if you haven't already. Things to check on test accounts: All inactivity now is based on last activity of the member. Make sure they are able to receive emails from the administrator. What I did when creating a test account is set the join date to like 1/01/2000 and last activity to 1/01/2005. Again, make sure the test account is set to accept emails from the administrators, then manually run the cron task. I'm pretty sure I have the criteria locked down and working at this point if you're using the current recent. Check the recent posts I've made since there are a few patches though and an additional plugin to reset inactive members when they return. Try that and let me know if you have any more issues or questions. |
Thank you for the update!
I hope it is working, the upload was very fast, and i couldn't see what happend :D I will test it tomorrow. |
Quote:
Quote:
http://mysite.com/optout-reminders.php?u=&e=email@mysite.com When I view the reports in the inactivity log, ID for all users is showing up as 0. This is an awesome mod but the Unsubscribe feature needs to work. |
Quote:
|
The zip file is now updated with the correct files and new plugin to reset inactive members.
|
Please let me know if there are any other issues remaining that need to be fixed. Thanks
|
Thanks for the quick update Jim.
The zip file has some duplicate files and folder. It looks like the older .xml product file is still in there in addition to the new file modified yesterday. May be confusing for some. I tried to update the Product with Add/Import product, tested again but that didn't fix the problem. Do I need to install the existing product first and then install the new one? The instructions for this mod mentions this for older versions only. |
I tried to use $lastactivity variable and it doesn't show in email. :( Not to big of a problem, I'll compose mail without it, but probably other variables also don't work.
Also, some emails do get bounced back, but it's not logged. Don't know how to set this up, I'm using qmail on my server (with Plesk CP). |
Quote:
Import the product XML in the zip, and upload the files in the zip. Make sure you check the "overwrite" option on the import. Also if you have made any changes to the email template phrases, please back them up first. They will be overwritten. If this doesn't seem to work, uninstall it and reimport the product xml. Quote:
1. open the functions_remindermail.php in your forum's includes folder. 2. scroll down to line 163 and press enter to make a new line. 3. add the following line: PHP Code:
Add the variable to your email template. As for the bounced back emails, ignore that for now. I haven't put that functionality in yet. That will be in a future release. |
Thanks, but I found some inconsistencies with actual variables and those in manual.
Here, take a look: In manual: Quote:
PHP Code:
|
All times are GMT. The time now is 05:10 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|