vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Administrative and Maintenance Tools - Cron based e-mail sending (https://vborg.vbsupport.ru/showthread.php?t=201318)

kingbrend 02-03-2013 09:21 PM

I upgraded to vBulletin 3.8.7 Patch Level 3 and I'm unable to make changes to the functions.php file, commenting out // exec_mail_queue();

Every time I do that my forum goes blank and to fix it I have to upload the original 3.8.7 file.. any ideas? It worked fine for 3.8.3 but it was time to upgrade.

I'm not sure what I'm doing wrong.. I'd be happy to pay for your assistance Paul. Send me a PM, I'll give you $50 PayPal if you help me fix the issue.

microbob 02-15-2013 05:31 PM

Paul,

I'm running vBulletin v3.8.7PL3. I set-up your e-mailing modification a couple of days ago. I then tried validating that it works properly (i.e., early this morning just after 12am EST); which [apparently] it did not. :(

I retraced the steps in terms of the install instructions:

1) See Screenshot # 1 (change code in admin/email.php file)
2) See Screenshot # 2 (just a note to indicate that there seems to be another instance of similar (but not exact code) for item # 1/screenshot #1).
2) See Screenshot # 3 (change code in includes/functions.php)
3) See Screenshot # 4 (upload mailqueue.php to /includes/cron)
4) See Screenshot # 5 hack by Antivirus is noted on the Plugins & Products Page on my Admin CP
5) See Screenshot # 6 cron-based e-mail hack is noted on the Plugins & Products Page on my Admin CP

Problem #1: when I go into my ADMIN CP, there is nothing in regards to a "Mailqueue Quick Stats" box as indicated by screenshot #7. You had also indicated that the only way that the Mailqueue Quick Stats box would not show up is if the Use Mailqueue System wasn't checked YES. As you can see from Screenshot # 9, it is checked YES. I also went back and checked my own vB Plug-In & Products System section to see if any clues might be there. In screenshot #8, there appears to be missing a check mark. Could this be why it's not showing the Mailqueue Quick Stats box on the Admin CP page?

Update: I checked the box and it's still not working.

Problem # 2: I checked with my web host this afternoon around 3pm EST and they informed me that only 20 e-mails went out over the last 24 hours. This indicates that the e-mail cron job did not work because the e-mail function indicated that I sent out 1,369 messages in batches of 8 (or thought I did). Screenshot #9 indicates my settings in vB E-Mail Options.

Please help.

Bob

sa3eka.com 02-19-2013 08:57 AM

Hi Mr.Paul
It's not work with me in 3.8.7 pal2
But when I don't put the //
in step 2 it's work with me and Email sent

includes/functions.php
exec_mail_queue();

microbob 02-19-2013 07:20 PM

Are you saying that you changed the code from this:

// exec_mail_queue(); // Paul M - Cron Mail Queue Hack //

To this:

exec_mail_queue(); // Paul M - Cron Mail Queue Hack //

...and it worked?

microbob 02-19-2013 07:22 PM

Quote:

Originally Posted by microbob (Post 2404470)
Paul,

I'm running vBulletin v3.8.7PL3. I set-up your e-mailing modification a couple of days ago. I then tried validating that it works properly (i.e., early this morning just after 12am EST); which [apparently] it did not. :(

I retraced the steps in terms of the install instructions:

1) See Screenshot # 1 (change code in admin/email.php file)
2) See Screenshot # 2 (just a note to indicate that there seems to be another instance of similar (but not exact code) for item # 1/screenshot #1).
2) See Screenshot # 3 (change code in includes/functions.php)
3) See Screenshot # 4 (upload mailqueue.php to /includes/cron)
4) See Screenshot # 5 hack by Antivirus is noted on the Plugins & Products Page on my Admin CP
5) See Screenshot # 6 cron-based e-mail hack is noted on the Plugins & Products Page on my Admin CP

Problem #1: when I go into my ADMIN CP, there is nothing in regards to a "Mailqueue Quick Stats" box as indicated by screenshot #7. You had also indicated that the only way that the Mailqueue Quick Stats box would not show up is if the Use Mailqueue System wasn't checked YES. As you can see from Screenshot # 9, it is checked YES. I also went back and checked my own vB Plug-In & Products System section to see if any clues might be there. In screenshot #8, there appears to be missing a check mark. Could this be why it's not showing the Mailqueue Quick Stats box on the Admin CP page?

Update: I checked the box and it's still not working.

Problem # 2: I checked with my web host this afternoon around 3pm EST and they informed me that only 20 e-mails went out over the last 24 hours. This indicates that the e-mail cron job did not work because the e-mail function indicated that I sent out 1,369 messages in batches of 8 (or thought I did). Screenshot #9 indicates my settings in vB E-Mail Options.

Please help.

Bob

Can someone please help me out here???:o

Paul M 02-20-2013 06:13 PM

Quote:

Originally Posted by sa3eka.com (Post 2405161)
Hi Mr.Paul
It's not work with me in 3.8.7 pal2
But when I don't put the //
in step 2 it's work with me and Email sent

includes/functions.php
exec_mail_queue();

That is simply bypassing the mod.

RFViet 03-20-2013 01:27 PM

Please make it for vB 4.2. Thanks.

GoTTi 03-24-2013 09:27 PM

I have to send a email to about 4100 users and my server limits us to 500 emails per hour. what settings do I have to set on your mod and anywhere else, in the cron jobs, to send out 499 emails every hour? I cant seem to figure it out.

thank you paul

Paul M 03-25-2013 03:10 AM

Remember that by default, it runs every 10 minutes, so 6 times an hour.

500 / 6 = 83, so set the batch size to 80 and you will be fine (6 x 80 = 480 / Hr).

microbob 03-25-2013 01:07 PM

Paul,

I'd really like to use your mod here but I haven't heard back from you. Can you help me get this working and address my issue in post # 292 and #295?

Thanks.

Bob


All times are GMT. The time now is 01:45 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.01412 seconds
  • Memory Usage 1,747KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)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