vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Use Mailqueue System (https://vborg.vbsupport.ru/showthread.php?t=316205)

khalled 12-25-2014 05:06 AM

Use Mailqueue System
 
Use Mailqueue System
When enabled, subscription emails generated by your site will be processed in batches to lessen the load on your server. Account activation, lost passwords and other vital emails are sent instantly regardless of this setting. If your site has low traffic, subscription emails may be delayed.

The question how i can make mail send from contact us form sent instantly and reach my mail regardless of the above setting.

kh99 (vB.org Team) answer me in vbulletin.com that :
This can't be done unless you modify code (or use a plugin). You can ask about it at vbulletin.org.

kh99 12-25-2014 01:10 PM

Create a new plugin using hook location sendmessage_docontactus_complete and this code:
PHP Code:

$url =& $vBulletin->url;
eval(
fetch_email_phrases('contactus'$languageid));
vbmail($destemail$subject$messagetrue$vbulletin->GPC['email'], ''$name);
print_standard_redirect('redirect_sentfeedback'truetrue); 


khalled 12-26-2014 09:45 AM

very thanks , i will try it and give feedback

--------------- Added [DATE]1419601425[/DATE] at [TIME]1419601425[/TIME] ---------------

It's work good very thanks


All times are GMT. The time now is 03:09 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.00971 seconds
  • Memory Usage 1,715KB
  • 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
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete