vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Mini Mods - Inactive Users Email Reminders For 3.7.x (https://vborg.vbsupport.ru/showthread.php?t=188383)

Gene Steinberg 08-21-2008 09:32 PM

One more thing: Not having the predefined From address as a setting, it uses "nobody" on my server. I do have the Webmaster email set in the standard vBulletin Admin CP options.

Peace,
Gene

C Braithwaite 08-22-2008 04:29 AM

Quote:

Originally Posted by Megatr0n (Post 1603984)
Does this update fix all the bugs reported in GamerGirl27's post?

I have been through the code and done several tests, and after doing some research i have come to the conclusion that it's down to larger forums and the mailqueue locking. as noted above, locking should be enabled if any issues are encountered.
Quote:

Originally Posted by grahamsmythe (Post 1604027)
I just downloaded this update, and although the documentation shows it's version 1.2.4, version 1.2.2 is actually posted.

As far as I can make out, version 1.2.2 doesn't give you the option to change the email address of who the reminder came from

Nice product though!

ignore the 1.2.2. i forgot to update that on the product. the code has changed.

Quote:

Originally Posted by genesteinberg (Post 1604053)
One more thing: Not having the predefined From address as a setting, it uses "nobody" on my server. I do have the Webmaster email set in the standard vBulletin Admin CP options.

Peace,
Gene

You must set a from email address. this is required.

RedTrinity 08-22-2008 06:04 AM

Quote:

Originally Posted by C Braithwaite (Post 1604204)
You must set a from email address. this is required.

I just installed latest version (first as update, then as a new install) and can't seem to find what has changed, the options page looks the same as before? :confused: Also unable to locate where to add the email address...

Otherwise, I look forward to trying it out.

Megatr0n 08-22-2008 07:50 AM

Yeah, where do you add the from address?

djbaxter 08-22-2008 11:40 AM

Quote:

Originally Posted by genesteinberg (Post 1601055)
Quote:

Originally Posted by djbaxter
Use the EZ Bounce Manager add-on. It works well in combination with this one.

I would find that -- where?

All I can find in 3.7 mod is something called Auto Bounce Messages Management, which doesn't work very well.

Peace,
Gene

Sorry - I was offline for a while. See https://vborg.vbsupport.ru/showthread.php?t=138884 - it's a vB 3.6x add-on but works well in my installation of 3.72 PL2.

With some add-ons, you need to edit the PHP file to add the EZ Bounce headers. Let me know if that's the case for you using the new version of this add-on but what you need to add will look something like this...

Find in product-remindermail.xml:

Code:

                $headers  = "MIME-Version: 1.0" . "\r\n";
                $headers .= "Content-type: text/html; charset=iso-8859-1" . "\r\n";
                $headers .= "To: $username <$email>" . "\r\n";
                $headers .= "From: " . $vbulletin->options['bbtitle'] . " Reminder Service <" . $vbulletin->options['webmasteremail'] . ">" . "\r\n";

Add below:

Code:

                        $bounceurl                = $vbulletin->options['ezb_admincpurl'] . "/ezbounce.php?u=" . $userid;
                        $bouncestring        = "<a href=\"$bounceurl\" target=\"_blank\">$bounceurl</a>";
                        $headers .= 'X-EZbouncer: ' . $bouncestring . $delimiter;

Save and then reinstall the product from your Admin CP, using overwrite.

Gene Steinberg 08-22-2008 12:48 PM

Quote:

Originally Posted by djbaxter (Post 1604398)
Sorry - I was offline for a while. See https://vborg.vbsupport.ru/showthread.php?t=138884 - it's a vB 3.6x add-on but works well in my installation of 3.72 PL2.

With some add-ons, you need to edit the PHP file to add the EZ Bounce headers. Let me know if that's the case for you using the new version of this add-on but what you need to add will look something like this...

Find in product-remindermail.xml:

Code:

                $headers  = "MIME-Version: 1.0" . "\r\n";
                $headers .= "Content-type: text/html; charset=iso-8859-1" . "\r\n";
                $headers .= "To: $username <$email>" . "\r\n";
                $headers .= "From: " . $vbulletin->options['bbtitle'] . " Reminder Service <" . $vbulletin->options['webmasteremail'] . ">" . "\r\n";

Add below:

Code:

                        $bounceurl                = $vbulletin->options['ezb_admincpurl'] . "/ezbounce.php?u=" . $userid;
                        $bouncestring        = "<a href=\"$bounceurl\" target=\"_blank\">$bounceurl</a>";
                        $headers .= 'X-EZbouncer: ' . $bouncestring . $delimiter;

Save and then reinstall the product from your Admin CP, using overwrite.

I hope that is it. I've had no luck getting a bounce-related plugin to function.

Peace,
Gene Steinberg

Charlie98902 08-22-2008 01:00 PM

Do I need to edit this to show my URL and forum team or does this do it automatically with the coding done?

Code:

The $forumtitle Team
<a href="$homeurl">$bbtitle</a></p>

Also I use a gmail account so will my message be said from nobody too?

Gene Steinberg 08-22-2008 01:19 PM

First of all, thanks a lot for the code suggestion: It worked like a charm and now the EZ Bounce header is fully functionally in the bounced messages.

One more thing: Maybe the coder of this plugin can add an option to activate EZ Bounce header support, so we don't have to manually edit the product each time it's updated.

Unless, of course, he comes up with a better idea -- and I still have hopes for that. :)

Peace,
Gene

C Braithwaite 08-22-2008 07:01 PM

Quote:

Originally Posted by djbaxter (Post 1604398)
Sorry - I was offline for a while. See https://vborg.vbsupport.ru/showthread.php?t=138884 - it's a vB 3.6x add-on but works well in my installation of 3.72 PL2.

With some add-ons, you need to edit the PHP file to add the EZ Bounce headers. Let me know if that's the case for you using the new version of this add-on but what you need to add will look something like this...

Find in product-remindermail.xml:

Code:

                $headers  = "MIME-Version: 1.0" . "\r\n";
                $headers .= "Content-type: text/html; charset=iso-8859-1" . "\r\n";
                $headers .= "To: $username <$email>" . "\r\n";
                $headers .= "From: " . $vbulletin->options['bbtitle'] . " Reminder Service <" . $vbulletin->options['webmasteremail'] . ">" . "\r\n";

Add below:

Code:

                        $bounceurl                = $vbulletin->options['ezb_admincpurl'] . "/ezbounce.php?u=" . $userid;
                        $bouncestring        = "<a href=\"$bounceurl\" target=\"_blank\">$bounceurl</a>";
                        $headers .= 'X-EZbouncer: ' . $bouncestring . $delimiter;

Save and then reinstall the product from your Admin CP, using overwrite.

hey djbaxter - if you could help me outon thtis one. what is the variable name for the ezbouncer "enabled" option?

if you can get me that i will add it to the code so that it adds the headers if the ezbounce thingy is installed and enabled?

C Braithwaite 08-22-2008 07:04 PM

Quote:

Originally Posted by genesteinberg (Post 1604440)
First of all, thanks a lot for the code suggestion: It worked like a charm and now the EZ Bounce header is fully functionally in the bounced messages.

One more thing: Maybe the coder of this plugin can add an option to activate EZ Bounce header support, so we don't have to manually edit the product each time it's updated.

Unless, of course, he comes up with a better idea -- and I still have hopes for that. :)

Peace,
Gene

for the moment i will add support for ezbounce. but once im happy with the workings of the inactive reminders i will start to add my own functionallity for bounced emails.

C Braithwaite 08-22-2008 07:17 PM

Figured it out (i think) without EzBounce im unable to test - will someone test for me and let me know?

taxick 08-22-2008 07:19 PM

Hmm, can i send a test email ?????? I can?t fine this options....

Will the mod crate a Scheduled Tasks???? I can?t see eny????

PS. Efter i updated my version to 1.2.5 I can see the "Email From" now..

When all come to all, im not sure the mod working on forum!

Sorry for my bad english

dirtycrow 08-22-2008 07:21 PM

Quote:

Originally Posted by taxick (Post 1604702)
Hmm, can i send a test email ?????? I can?t fine this options....

Will the mod crate a Scheduled Tasks???? I can?t see eny????

PS. Efter i updated my version to 1.2.5 I can see the "Email From" now..

When all come to all, im not sure the mod working on forum!

Sorry for my bad english

a Scheduled Task? i don't see one added either

C Braithwaite 08-22-2008 07:22 PM

Quote:

Originally Posted by taxick (Post 1604702)
Hmm, can i send a test email ?????? I can?t fine this options....

Will the mod crate a Scheduled Tasks???? I can?t see eny????

PS. Efter i updated my version to 1.2.5 I can see the "Email From" now..

When all come to all, im not sure the mod working on forum!

Sorry for my bad english

:) You can send the test email from the "Reports" page.

C Braithwaite 08-22-2008 07:22 PM

Quote:

Originally Posted by dirtycrow (Post 1604703)
a Scheduled Task? i don't see one added either

no Scheduled Task

taxick 08-22-2008 07:27 PM

Quote:

Originally Posted by C Braithwaite (Post 1604704)
:) You can send the test email from the "Reports" page.

I have no options to do that on the Report page....

I have try to complety reinstall the hack agian.. Not work.

teamgofast 08-22-2008 07:49 PM

Warning: mail() [function.mail]: SMTP server response: 503 5.5.2 Need Rcpt command. in [path]\includes\init.php(293) : eval()'d code on line 129

Warning: mail() [function.mail]: SMTP server response: 503 5.5.2 Need Rcpt command. in [path]\includes\init.php(293) : eval()'d code on line 129

Warning: mail() [function.mail]: SMTP server response: 503 5.5.2 Need Rcpt command. in [path]\includes\init.php(293) : eval()'d code on line 129

any idea

bhanuprasad1981 08-22-2008 08:01 PM

Dear bhanu
\r\n\r\n

We miss you. Our website is not the same without you. Come back and join in the fun?
\r\n\r\n

Kindest Regards
\r\nThe Team\r\nmysite

i get email with this extra things "\r\n\r\n"how can i stop / change

Gene Steinberg 08-22-2008 08:55 PM

Quote:

Originally Posted by taxick (Post 1604708)
I have no options to do that on the Report page....

I have try to complety reinstall the hack agian.. Not work.

Nor do I, but version numbers are correct, and the other features, including support for EZ Bounce, are intact.

So?

Peace,
Gene

Gene Steinberg 08-22-2008 08:56 PM

Quote:

Originally Posted by C Braithwaite (Post 1604694)
for the moment i will add support for ezbounce. but once im happy with the workings of the inactive reminders i will start to add my own functionallity for bounced emails.

Excellent.

Peace,
Gene

grahamsmythe 08-22-2008 09:02 PM

A couple of things...

1. Where do I put the 'remindermail.php' file?

2. Why can't I put dynamic variables into the Message Title?

taxick 08-22-2008 09:29 PM

Quote:

Originally Posted by genesteinberg (Post 1604755)
Nor do I, but version numbers are correct, and the other features, including support for EZ Bounce, are intact.

So?

Peace,
Gene

Im running 1.2.6! And have still have no options to send are test mail!

I have looked in the reports page, and there is no options to do it

Im rally dont now, is this plugins i working on my forum. I dont have eny way to test it

And whats is EZ Bounce????

RedTrinity 08-22-2008 11:10 PM

Quote:

Originally Posted by GamerGirl27 (Post 1604251)
I just installed latest version (first as update, then as a new install) and can't seem to find what has changed, the options page looks the same as before? :confused: Also unable to locate where to add the email address...

Otherwise, I look forward to trying it out.

Bumping as I am still waiting for a response, much appreciated :)

Gene Steinberg 08-23-2008 01:12 AM

One bug I found in 1.2.6: It fails to recognize the "from" email address you've entered. Mail is going out with a "nobody" address. Yes, the proper address is entered in your product and in the regular places in the Admin CP.

Peace,
Gene

C Braithwaite 08-23-2008 04:35 AM

Quote:

Originally Posted by genesteinberg (Post 1604755)
Nor do I, but version numbers are correct, and the other features, including support for EZ Bounce, are intact.

So?

Peace,
Gene

Sorry - i messed up with uploading the files.

Quote:

Originally Posted by grahamsmythe (Post 1604762)
A couple of things...

1. Where do I put the 'remindermail.php' file?

2. Why can't I put dynamic variables into the Message Title?

1. remindermail.php goes in your admincp folder
2. this is soemthing i have not considered - i will look into this and add it in for you. thanks for the suggestion.

Quote:

Originally Posted by taxick (Post 1604786)
Im running 1.2.6! And have still have no options to send are test mail!

I have looked in the reports page, and there is no options to do it

Im rally dont now, is this plugins i working on my forum. I dont have eny way to test it

And whats is EZ Bounce????

Sorry - as above, i messed up.

Quote:

Originally Posted by GamerGirl27 (Post 1604830)
Bumping as I am still waiting for a response, much appreciated :)

"From Email" is loacated at the bottom of the settings. Just make sure you have the most up to date vversion.

Quote:

Originally Posted by genesteinberg (Post 1604872)
One bug I found in 1.2.6: It fails to recognize the "from" email address you've entered. Mail is going out with a "nobody" address. Yes, the proper address is entered in your product and in the regular places in the Admin CP.

Peace,
Gene

That is quite correct. I am looking into this now. Thank you for your bug report.

Gene Steinberg 08-23-2008 05:26 AM

Quote:

Originally Posted by bhanuprasad1981 (Post 1604726)
Dear bhanu
\r\n\r\n

We miss you. Our website is not the same without you. Come back and join in the fun?
\r\n\r\n

Kindest Regards
\r\nThe Team\r\nmysite


i get email with this extra things "\r\n\r\n"how can i stop / change

I sent a test email and had the same problem. Whoops! :(

Peace,
Gene

RedTrinity 08-23-2008 07:53 AM

Quote:

Originally Posted by C Braithwaite (Post 1604943)
"From Email" is loacated at the bottom of the settings. Just make sure you have the most up to date vversion.

Thanks, I just downloaded the latest one from today (with bounce management) and its now updated :)

I have one little request, any chance of html support with this product?

Otherwise, its coming along really well. Congrats!

Cheers :)

RedTrinity 08-23-2008 07:59 AM

Ok it is still sending 2 emails to each user, just thought I would let you know. Also just to expand on the previous report by Genesteinberg - the test emails are being sent from the specified email address on the options page, but the actual ones going out to users are still going out with no sender.

Cheers :)

taxick 08-23-2008 10:21 AM

Quote:

Originally Posted by genesteinberg (Post 1604967)
I sent a test email and had the same problem. Whoops! :(

Peace,
Gene

This hack is gonne be good, but there is some bugs ind that now..

I have the same problem with \r\n\r\n

C Braithwaite 08-23-2008 01:20 PM

Quote:

Originally Posted by GamerGirl27 (Post 1605002)
Thanks, I just downloaded the latest one from today (with bounce management) and its now updated :)

I have one little request, any chance of html support with this product?

Otherwise, its coming along really well. Congrats!

Cheers :)

It should send in HTML...

Quote:

Originally Posted by GamerGirl27 (Post 1605004)
Ok it is still sending 2 emails to each user, just thought I would let you know. Also just to expand on the previous report by Genesteinberg - the test emails are being sent from the specified email address on the options page, but the actual ones going out to users are still going out with no sender.

Cheers :)

Have you tried "use mail queue? - yes, with locking"? or could you maybe disable the mailqueue and let me know if it still sends 2 emails?

Quote:

Originally Posted by taxick (Post 1605046)
This hack is gonne be good, but there is some bugs ind that now..

I have the same problem with \r\n\r\n


I'm going to get all the bugs removed. it's hard when i don't experience the bugs. :)

Charlie98902 08-23-2008 01:50 PM

Which files do I use? Screen below. It seems there is identical files now?

mikelbeck 08-23-2008 02:00 PM

I downloaded the latest version today (8/23) but it doesn't seem to include the EZBounce line in the header?

Gene Steinberg 08-23-2008 02:47 PM

OK, if this helps, here's a screen shot of a bounced email reminder.

You can see, here, exactly what the formatting problem looks like -- and it was sent by "nobody," despite correct configurations all around.

Peace,
Gene

i156 08-23-2008 06:42 PM

Installed easy and is working great for me.

grahamsmythe 08-23-2008 07:44 PM

Quote:

Originally Posted by C Braithwaite (Post 1604943)
1. remindermail.php goes in your admincp folder


How comes there's two 'remindermail.php' files in the package download?

C Braithwaite 08-23-2008 10:29 PM

Quote:

Originally Posted by genesteinberg (Post 1605164)
OK, if this helps, here's a screen shot of a bounced email reminder.

You can see, here, exactly what the formatting problem looks like -- and it was sent by "nobody," despite correct configurations all around.

Peace,
Gene

That is a mess. could you post the headers?

Quote:

Originally Posted by grahamsmythe (Post 1605328)
How comes there's two 'remindermail.php' files in the package download?

i added two files by mistake. im updating the product soon.

Gene Steinberg 08-23-2008 10:34 PM

Quote:

Originally Posted by C Braithwaite (Post 1605412)
That is a mess. could you post the headers?



i added two files by mistake. im updating the product soon.

As you wish. This is a typical set of headers from these bounced messages, showing the formatting problem and the incorrect sender address (minus the recipient's email):

Quote:

------ This is a copy of the message, including all the headers. ------

Return-path: <nobody@server.paracast.net>
Received: from nobody by server.paracast.net with local (Exim 4.69)
(envelope-from <nobody@server.paracast.net>)
id 1KWvAy-00007Z-FR
for <name deleted>; Sat, 23 Aug 2008 08:37:16 -0700
To:
Subject: We miss you!
X-PHP-Script: forum.theparacast.com/showthread.php for 68.204.201.64
MIME-Version: 1.0
Content-type: text/html; charset=iso-8859-1
To: A <name deleted>
From: The Paracast Discussion Forums Reminder Service <news@theparacast.com>
X-EZbouncer: <a href="http://forum.theparacast.com/admincp/ezbounce.php?u=155" target="_blank">http://forum.theparacast.com/admincp/ezbounce.php?u=155</a>
Message-Id: <E1KWvAy-00007Z-FR@server.paracast.net>
Sender: Nobody <nobody@server.paracast.net>
Date: Sat, 23 Aug 2008 08:37:16 -0700

Hello, A!\r\n\r\nWe\'ve noticed that you\'ve not been active on The Paracast Discussion Forums for quite some time now, and we miss you!\r\n \r\nCould we not tempt you back?\r\n\r\nIf you don\'t remember your password, you can request it here: http://forum.theparacast.com/login.p...stpw\r\n\r\nWe hope to see you soon.\r\n\r\nKindest Regards\r\nGene and David\r\nThe Paracast Discussion Forums\r\nhttp://forum.theparacast.com
I look forward to the update.

Peace,
Gene

mikelbeck 08-23-2008 10:37 PM

Quote:

Originally Posted by C Braithwaite (Post 1605412)
i added two files by mistake. im updating the product soon.

Will it fix the missing EZBounce line in the header as well?

C Braithwaite 08-23-2008 11:11 PM

Quote:

Originally Posted by genesteinberg (Post 1605414)
As you wish. This is a typical set of headers from these bounced messages, showing the formatting problem and the incorrect sender address (minus the recipient's email):



I look forward to the update.

Peace,
Gene

From what I have read while doing my research this "nobody" problem is actually the settings on your forum. This issue should be fixed if and when you upgrade to the latest version.

Quote:

Originally Posted by mikelbeck (Post 1605416)
Will it fix the missing EZBounce line in the header as well?

Not as such - i've added my own automated real-time bounce management.

Megatr0n 08-23-2008 11:22 PM

Before I update is there suppose to be too reminder.php files? If not which, one do we delete?


All times are GMT. The time now is 03:07 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
  • Page Generation 0.01835 seconds
  • Memory Usage 1,877KB
  • 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
  • (7)bbcode_code_printable
  • (36)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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