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 02-04-2012 03:53 AM

Quote:

Originally Posted by raymondblog (Post 2295908)
Not really sure what you meant by using the "built in vb mail functions".

vbulletin has a wrapper function around the sendmail function.

raymondblog 02-04-2012 06:39 AM

So it means that even though I set vBulletin to use SMTP, this mod will use the sendmail function, not the SMTP?

Any chance of updating the mod to support the method used to send email from the admincp?

TalkVirginia 02-05-2012 12:07 AM

Quote:

Originally Posted by raymondblog (Post 2295990)
So it means that even though I set vBulletin to use SMTP, this mod will use the sendmail function, not the SMTP?

Any chance of updating the mod to support the method used to send email from the admincp?

it is using the same email functionality that is used anywhere in vB. Nothing is different.

BGN64 02-05-2012 01:31 PM

Most of my members were imported from another forum system. The ones that have not gone through the password set procedure, or haven't been to the site since the change to Vb show a last login of 12-31-1969 but they are not being sent the email. Any thoughts?

Edit: I see... their last activity date is blank. Is there any way to include them in the process?

TalkVirginia 02-05-2012 01:50 PM

Quote:

Originally Posted by BGN64 (Post 2296427)
Most of my members were imported from another forum system. The ones that have not gone through the password set procedure, or haven't been to the site since the change to Vb show a last login of 12-31-1969 but they are not being sent the email. Any thoughts?

Edit: I see... their last activity date is blank. Is there any way to include them in the process?

I'll take a look at this. Will probably have to add that to the cron task. Thanks

sweetpotato 02-22-2012 08:30 AM

It seems to stop working with vb 4.1.10.

TalkVirginia 02-22-2012 11:15 AM

Quote:

Originally Posted by sweetpotato (Post 2302230)
It seems to stop working with vb 4.1.10.

I'm testing an update on another site I have which is running 4.1.10. So far it seems to be working ok. I'm still trying to iron out issues with detecting bounced email. I'm not sure if my host is filtering them or what. Right now I have a mechanism to validate the email address before email is sent out which seems to work. There are a few smaller issues I need to clean up. I'll see how things go in the next few weeks.

millo87 02-24-2012 01:30 PM

Hi TalkVirginia, great mod, we've been using it on our forum but since upgrading to 4.1.10 It may or may not be emailing people, but it's also supposed to tell us whether the email address is valid (got through) or not. It says that every single email it's ever sent has gotten through, which clearly isn't the case.

Any ideas of where we're going wrong or how to de-bug this?

Thank you.

BlueCheri 02-24-2012 03:59 PM

New version installed, let see how it works.

Thanx

G!

TalkVirginia 02-24-2012 07:34 PM

Quote:

Originally Posted by millo87 (Post 2302957)
Hi TalkVirginia, great mod, we've been using it on our forum but since upgrading to 4.1.10 It may or may not be emailing people, but it's also supposed to tell us whether the email address is valid (got through) or not. It says that every single email it's ever sent has gotten through, which clearly isn't the case.

Any ideas of where we're going wrong or how to de-bug this?

Thank you.

Please disable or install for now. I'm working on a update which should will fix this issue. I'm running the update on another site as I mentioned before, it is working ok. I'm also trying to work in the bounced email detection.

BGN64 02-25-2012 12:51 PM

Quote:

Originally Posted by TalkVirginia (Post 2296433)
I'll take a look at this. Will probably have to add that to the cron task. Thanks

Quote:

Originally Posted by BGN64 (Post 2296427)
Most of my members were imported from another forum system. The ones that have not gone through the password set procedure, or haven't been to the site since the change to Vb show a last login of 12-31-1969 but they are not being sent the email. Any thoughts?

Edit: I see... their last activity date is blank. Is there any way to include them in the process?

Will you be working this into the update?

TalkVirginia 02-28-2012 08:07 PM

Quote:

Originally Posted by BGN64 (Post 2303237)
Will you be working this into the update?

Yes. As a matter of fact, I am. :)

kisanjong 02-29-2012 08:56 AM

Should i wait for the update before i install to 4.1.10?

Thanks

TalkVirginia 02-29-2012 05:14 PM

Quote:

Originally Posted by MrKing (Post 2304566)
Should i wait for the update before i install to 4.1.10?

Thanks

Might be a good idea.

pcXtremists 02-29-2012 10:41 PM

Is there a way to change the standard text you have for the emails? i want a custom email that i want sent. can you help me out?

kisanjong 03-01-2012 06:32 AM

Quote:

Originally Posted by TalkVirginia (Post 2304738)
Might be a good idea.

Thanks

Looking forward to the update and installing this much needed mod.

TalkVirginia 03-01-2012 06:28 PM

Quote:

Originally Posted by pcXtremists (Post 2304870)
Is there a way to change the standard text you have for the emails? i want a custom email that i want sent. can you help me out?

You can change the default text that gets sent in emails. If not in debug mode, just copy the phrase as if you were going to translate it, change it, then save.

TalkVirginia 03-12-2012 11:35 AM

I'm looking for 2 maybe 3 (English speaking) admins that are running large forums and would be interested in assisting with beta testing the next release. This is a rewrite, and everyone will need to uninstall any previous version of this addon. I've made changes on the backend and I'm implementing "moving inactive members to an inactive group" and "bounced email processing". The thing is for some odd reason I'm not getting any bounced emails sent to me yet. I also need samples of bounced emails. If interested in assisting, please PM me an email address where we can chat and I can send the mod files to you. If you have any questions, please let me know.

Thanks,
Jim

seanadl 03-20-2012 01:14 AM

Can you set this to email all users with a post count of zero?

av8or1 03-20-2012 01:56 AM

Quote:

Originally Posted by TalkVirginia (Post 2204766)
Or the member becomes inactive and you send out 20 reminders, the member doesn't come back and is removed after the 20 reminder? I'll have to think about that one. :) Thanks for the idea! I'll add that to my to-do list and see if anyone else is interested in that.

I'd like to make sure that the current features are not giving anyone any additional issues first. Also I still need to add bouced email detection which I'm currently working on.

Any updates regarding this deletion capability? I'd equally be interested in an add-on that simply moves inactive users to a separate usergroup and when/if they ever return, they are reinstated with full privileges again, possibly via mod intervention...

Eh disregard. I just now scrolled up and noticed Jim's post. I guess I oughta read all the way to the end before posting, but this thread has 39 pages and I just got tired after page 22....

Thanks

TalkVirginia 03-20-2012 02:11 PM

Quote:

Originally Posted by seanadl (Post 2311222)
Can you set this to email all users with a post count of zero?

So basically you want to notify Lurkers as well? Members that visit but don't post? Sure, I can do that.

TalkVirginia 03-20-2012 02:17 PM

Quote:

Originally Posted by av8or1 (Post 2311232)
Any updates regarding this deletion capability? I'd equally be interested in an add-on that simply moves inactive users to a separate usergroup and when/if they ever return, they are reinstated with full privileges again, possibly via mod intervention...

Eh disregard. I just now scrolled up and noticed Jim's post. I guess I oughta read all the way to the end before posting, but this thread has 39 pages and I just got tired after page 22....

Thanks

LOL Yes, I am planning on including the deletion feature but will probably be in a later release. I have the feature working to move members to an inactive group.

I know this thread is getting long. Not sure what to do about that. Sorry. :(

av8or1 03-21-2012 12:46 AM

Quote:

Originally Posted by TalkVirginia (Post 2311374)
LOL Yes, I am planning on including the deletion feature but will probably be in a later release. I have the feature working to move members to an inactive group.

I know this thread is getting long. Not sure what to do about that. Sorry. :(

Eh, no worries. Tis a sign of a good mod/add-on, so kudos!

TalkVirginia 03-28-2012 04:00 AM

v3.0.0 - IN BETA TEST
Just an FYI, I've sent out the first packet for v3.0.0 of this addon to beta-testers. It may not seem like a lot, but please keep in mind this is a complete rewrite.

New features in this version include:

* Inactive members can be moved to a inactive group.

* Members can be moved back to their original usergroup, or
be moved to another holding usergroup once they become active.

* Select the usergroups to be protected from being moved. Administrator and Banned Members are automatically excluded from being moved.

* Reminder emails are handled by vBulletins internal email system, such as send now and mail queuing. If the bounced email address field is set in vBulletin's email settings, that will be used, otherwise the webmaster address is used.

* Members can Opt-Out from the UserCP as well as from the unsubscribe link in the email. The $unsublink variable must be used for it to be included in emails.

* Set the reminder subject and body content. Phrases for these have been removed to make it easier to edit.

* Track the number of reminder emails sent.

* Set the maximum number of emails to send

* Delete inactive member(s) once they have received max reminders and have not become active.
Only members that have been moved to the inactive usergroup will be targeted for deletion.

* Set the usergroups to be sent a reminder email. Administrator and Banned Members are now automatically excluded and will never be sent reminders.

Please let me know if I've missed any features you might have been expecting and I'll try to include it.

Jim

sweetpotato 03-28-2012 05:34 AM

Quote:

Set the reminder subject and body content. Phrases for these have been removed to make it easier to edit.
Please keep these phrase for site have more than one languagues

TalkVirginia 03-28-2012 08:40 AM

Quote:

Originally Posted by sweetpotato (Post 2314126)
Please keep these phrase for site have more than one languagues

Ok. Will do. I had some complains about it being difficult update so I thought I would take them out. I can put them back. not a problem. Thanks for the input!

wildheart 03-28-2012 09:33 AM

Can I use this for 4.1.11, is it updated yet? I know your posts say so but at the top it shows: Last Update: 06 Jun 2011

sweetpotato 03-28-2012 09:57 AM

Quote:

Originally Posted by TalkVirginia (Post 2314160)
Ok. Will do. I had some complains about it being difficult update so I thought I would take them out. I can put them back. not a problem. Thanks for the input!

I think the phrase is nice feature so why you have to remove it. If anyone does not need simply don't use it.

Thank you,

TalkVirginia 03-28-2012 11:54 AM

Quote:

Originally Posted by wildheart (Post 2314175)
Can I use this for 4.1.11, is it updated yet? I know your posts say so but at the top it shows: Last Update: 06 Jun 2011

Yes, it should be ok to use for 4.1.11, but I have a new update coming out soon. You would need to uninstall this one first before installing the next update.

wildheart 03-29-2012 08:02 AM

Thank you, I will hang on and wait.

BrightStar 03-29-2012 09:23 AM

Looks like a good mod. Will install once new version is out.
Cheers

rwoscott 04-15-2012 05:49 AM

I've uninstalled the old version to install the new version.
I've uploaded the files.
But when I import the xml, it says:
Quote:

Importing Product, Please Wait...

[:]
Then nothing.

I'm on 4.1.11 PL1.

djbaxter 04-18-2012 07:03 PM

Bug? When someone tries to unsubscribe from the reminders by following the email link in the notification from this add-on, they get a page saying:

Quote:

vBulletin Message
Could not find phrase 'error_unsubscribe_done'.
How to fix this?

TalkVirginia 04-19-2012 02:18 PM

Quote:

Originally Posted by djbaxter (Post 2321366)
Bug? When someone tries to unsubscribe from the reminders by following the email link in the notification from this add-on, they get a page saying:



How to fix this?

This is fixed in the new version.

djbaxter 04-19-2012 05:41 PM

I'm using the newest version: 2.21

See optout-reminder.php lines 66-74:

PHP Code:

if ($result == null)
{
    eval(
standard_error(fetch_error('error_unsubscribed_already',$vbulletin->options['contactuslink'])));  

else
{
   
$db->query_write("UPDATE " TABLE_PREFIX "user SET rmoptout = 1 WHERE userid = '$userid' AND email = '$email'");
   eval(
standard_error(fetch_error('error_unsubscribe_done')));    




Added:

I fixed it, I think, by editing the product-remindermail.xml file:

At lines 216-217, FIND:

Code:

                <phrasetype name="Error Messages" fieldname="error">
                        <phrase name="error_unsubscribed_already" date="1269327058" username="administrator" version="2.0.1"><![CDATA[Our records indicate that your subscription to our mailing list has already been cancelled. Please <a href="{1}" rel="nofollow">contact an Administrator</a> if you believe you've reached this message in error.]]></phrase>

Add AFTER:

Code:

                        <phrase name="error_unsubscribe_done" date="1269327058" username="administrator" version="2.0.1"><![CDATA[You have been unsubscribed from future reminder emails.]]></phrase>
Does this look correct?

djbaxter 04-20-2012 02:14 AM

Another problem: There have been several emails that have bounced back to my server (dedicated server) but none of them are showing in the logs. All I see is Bounced = No for all emails.

Is there something special I have to do for this add-on to recognize the bouncebacks?

djbaxter 04-21-2012 04:26 PM

Quote:

Originally Posted by TalkVirginia (Post 2321589)
This is fixed in the new version.

I may have misunderstood. Did you mean in the next version to be released?

fai99al99 04-28-2012 06:09 PM

nice mod .. waiting for the new Version :)

Nemrak 05-03-2012 02:22 PM

Number of Reminder Emails to Send Per Batch - 10 (Default).

How many batch are in 24 hours or how many emails will be sent in 24 hours? The time between batch is customised?

Sorry for my bad english :D.

Alan_SP 05-04-2012 11:00 AM

Mod uses cron script for sending emails.

You can find it here: ACP->Scheduled Task Manager->Inactive User Reminder Emails

I think that this script by default is set to run once a day, so if you set it to 10, it will send every day up to 10 emails. But, you can set it to run once per hour, or even more often, depends what you want.

I'm not sure how it is originally coded, but it runs once per hour on my site and it sends up to 50 emails, these are my settings.


All times are GMT. The time now is 09:58 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.03376 seconds
  • Memory Usage 1,850KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_php_printable
  • (23)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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