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 03-15-2010 05:14 PM

How's the mod working for everyone? Any comments, questions, suggestions to add to my to-do list? :)

Alibass 03-15-2010 08:37 PM

Quote:

Originally Posted by TalkVirginia (Post 2004184)
How's the mod working for everyone? Any comments, questions, suggestions to add to my to-do list? :)

Mod is working as it should, but seems to be a bug on the email report. It says that emails were invalid but they were sent and received.

Code:

This email shows that the product is installed and working as it should be.


Emails sent to: Test Member


We tried to email the following users, but their email address was invalid:


TalkVirginia 03-15-2010 10:27 PM

Quote:

Originally Posted by Alibass (Post 2004307)
Mod is working as it should, but seems to be a bug on the email report. It says that emails were invalid but they were sent and received.

Code:

This email shows that the product is installed and working as it should be.


Emails sent to: Test Member


We tried to email the following users, but their email address was invalid:


I'm 99.9% certain that's what you should be receiving. I'll double check the code, but if there were any users that had invalid email addresses and could not send email to, they would have shown up below the last line. If you enter a bad email address for that test user, one that you know will fail, that report will tell you.

TalkVirginia 03-15-2010 11:57 PM

1 Attachment(s)
While reviewing the code this evening, I did come across one issue so far related to processing inactive users in a batch configuration. According to the description:

Quote:


How many users to process during each scheduled task? (0 for unlimited)

I was originally testing for a blank field or zero length input in this field when it should have been checking for a value greater than zero (0). This has been corrected and I'm attaching the new fix. Drop it into your /forumroot/includes/cron folder and you will be set. I will update the zip file with the fix as well and increment the version count.

djbaxter 03-16-2010 12:10 AM

Quote:

Originally Posted by Alibass (Post 2004307)
Mod is working as it should, but seems to be a bug on the email report. It says that emails were invalid but they were sent and received.

Code:

This email shows that the product is installed and working as it should be.


Emails sent to: Test Member


We tried to email the following users, but their email address was invalid:


That's the way it is designed. if no email addresses or member names are listed after "We tried to email the following users, but their email address was invalid:", it means that no invalid email addresses were found.

insidedesign 03-17-2010 04:14 PM

I uploaded the files and the xml product, but the version still lists 2.0.0 - is this on my end or with the plugin?

Also, what happens when you install this on a vbulletin website that already has tens of 1,000s of members? I assume I have 1,000s of members with last action dates well past due for a reminder email. How are these handled?

Sadikb 03-17-2010 04:19 PM

Hi, Installed and Working fine.

There is one problem however. In the emails that this product sends, it uses the hostname in the email header for "mailed-by" and also in the from field it appends the Host domain name. Can we change that to use our own domain name instead of the host's domain name?

Thanks

TalkVirginia 03-17-2010 05:15 PM

Quote:

Originally Posted by insidedesign (Post 2005653)
I uploaded the files and the xml product, but the version still lists 2.0.0 - is this on my end or with the plugin?

Thanks for pointing this out. I'm still learning about the product packaging. I can update the version on the product xml file however my original thinking was that since there was not an issue in the product xml I'd leave that as 2.0.0. The last fix was in the reminderemail.php.

Quote:

Originally Posted by insidedesign (Post 2005653)
Also, what happens when you install this on a vbulletin website that already has tens of 1,000s of members? I assume I have 1,000s of members with last action dates well past due for a reminder email. How are these handled?

Change the value in Number of users to process during each scheduled task

TalkVirginia 03-17-2010 05:24 PM

Quote:

Originally Posted by Sadikb (Post 2005659)
Hi, Installed and Working fine.

There is one problem however. In the emails that this product sends, it uses the hostname in the email header for "mailed-by" and also in the from field it appends the Host domain name. Can we change that to use our own domain name instead of the host's domain name?

Thanks

I should be able to do that. If you can you post an example header of what you are referring to and I'll look into it.

insidedesign 03-17-2010 09:02 PM

Quote:

Originally Posted by TalkVirginia (Post 2005696)
Thanks for pointing this out. I'm still learning about the product packaging. I can update the version on the product xml file however my original thinking was that since there was not an issue in the product xml I'd leave that as 2.0.0. The last fix was in the reminderemail.php.



Change the value in Number of users to process during each scheduled task

So should this number be equal or greater than the number of members a website has? Sorry, just trying to get a good understanding... :)


All times are GMT. The time now is 06:01 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.02705 seconds
  • Memory Usage 1,750KB
  • 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
  • (3)bbcode_code_printable
  • (8)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