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)

weindians 11-03-2010 09:31 PM

ok... thanx for finding out that.... anyway now it has sent more mails as queue reduced to 3200+

FreshFroot 01-22-2011 10:32 PM

Quote:

Originally Posted by Paul M (Post 1780417)
The cron runs 6 times an hour (every 10 minutes), so 50 x 6 = 300 an hour, well under your 500/Hr - you are fine.

THIS ABOVE...

should be in your intro post.

I was looking for this to see how this work to add my setting...

No wonder users are confused...

You need to remember more than half the people here are NOT programmers. So they won't understand some of your terms. They just need straight answers :p

maznos 03-23-2011 02:51 PM

Hello,

Does this hack work under 4.x

SVTCobraLTD 04-03-2011 03:03 AM

Installed on 3.8.x but does not seem to be working correctly. Emails are all going out at once with no regard to my setting of only 40 per batch.

Paul M 04-03-2011 10:05 AM

Which would suggest you missed doing something.

SVTCobraLTD 04-06-2011 02:03 PM

Quote:

Originally Posted by Paul M (Post 2180364)
Which would suggest you missed doing something.

Upload 1 item and import another. I don't see how that can be missed?

Paul M 04-06-2011 04:05 PM

So you read this, and did it ?

Quote:

For this to work, you must turn on e-mail queuing in the ACP options - set 'Use Mailqueue System' to 'Yes', and 'Number of Emails to Send Per Batch' to a realistic value (based on the cron setting, as below).

SVTCobraLTD 04-06-2011 04:46 PM

I read the instructions you provided with the download and that is not stated anywhere.....

Quote:

<!-- $Header: d:\cvs/3.8/Cron-mail-queue/Cron-mail-queue.txt,v 1.1 2008/10/05 15:15:58 pem Exp $ -->


Cron Mail Queue for vBulletin 3.8
---------------------------------


Step 1.

In admincp/email.php

find ;

vbmail($user['email'], $vbulletin->GPC['subject'], $sendmessage, true, $vbulletin->GPC['from']);

change to ;

vbmail($user['email'], $vbulletin->GPC['subject'], $sendmessage, false, $vbulletin->GPC['from']); // Paul M - Queue Admin Mail //



Step 2.

In includes/functions.php

find ;

exec_mail_queue();

change to ;

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



Step 3.

Upload mailqueue.php to /includes/cron/



Step 4.

Import the product into vBulletin via the ACP Product Manager.

SVTCobraLTD 04-06-2011 04:50 PM

Quote:

For this to work, you must turn on e-mail queuing in the ACP options - set 'Use Mailqueue System' to 'Yes', and 'Number of Emails to Send Per Batch' to a realistic value (based on the cron setting, as below).
This is done with "Yes with locking" chosen and the value set to 40. Still all emails go through right away.

Paul M 04-06-2011 11:04 PM

Quote:

Originally Posted by SVTCobraLTD (Post 2181581)
I read the instructions you provided with the download and that is not stated anywhere.....

Its in the main post of the thread.

Quote:

Originally Posted by SVTCobraLTD (Post 2181585)
This is done with "Yes with locking" chosen and the value set to 40. Still all emails go through right away.

Im afraid there is nothing more I can tell you. Without admin and ftp access I cannot check you have done everything correctly.


All times are GMT. The time now is 10:29 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.01224 seconds
  • Memory Usage 1,740KB
  • 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_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
  • (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