Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
send email with a high priority Details »»
send email with a high priority
Version: 1.01, by Delphiprogrammi Delphiprogrammi is offline
Developer Last Online: Aug 2015 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 01-18-2006 Last Update: Never Installs: 7
Code Changes  
No support by the author.

hi people,

What does this modification do ?

This modifies the admincp => users => email users system.It provides you with a choice wheter you want to email with a high priority or not.High priority simply means there will be a little red exclamation icon infront of the message subject.Just Like the emails you get sometimes from jelsoft "vbulletin product updates"

files to modify:2
  • /forum/admincp/email.php
  • /forum/includes/class_mail.php

to install and use this small modification do the folowwing

in /forum/admicp/email.php

find this code

PHP Code:
print_textarea_row($vbphrase['message_email'], 'message'''1050); 
directly below it add this code

PHP Code:
print_yes_no_row('Send Email With High Priority ?','email_high',0); 
in /forum/admincp/email.php

find this code
PHP Code:
$vbulletin->input->clean_array_gpc('p', array(
        
'user'              => TYPE_ARRAY,
        
'profile'           => TYPE_ARRAY,
        
'serializeduser'    => TYPE_STR,
        
'serializedprofile' => TYPE_STR,
        
'septext'           => TYPE_NOTRIM,
        
'perpage'           => TYPE_UINT,
        
'startat'           => TYPE_UINT,
        
'test'              => TYPE_BOOL,
        
'from'              => TYPE_STR,
        
'subject'           => TYPE_STR,
        
'message'           => TYPE_STR
below 'message' add
PHP Code:
'emailhigh'         => TYPE_BOOL
find

PHP Code:
construct_hidden_code('test'$vbulletin->GPC['test']); 
directly below add this code

PHP Code:
construct_hidden_code('email_high',$vbulletin->GPC['email_high']); 
in /forum/includes/class_mail.php find this code

PHP Code:
$headers .= 'X-Priority: 3' $delimiter
replace that with this code

PHP Code:
if($_POST['email_high'])
{
      
$headers .='X-Priority:1' $delimiter;
      
$headers .='X-MSMail-Priority:High' $delimiter;
}
else
{

       
$headers .= 'X-Priority: 3' $delimiter;

save all files upload (to there default location) in ascii mode

all done

Working fine with vbulletin 3.5.4

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 01-19-2006, 01:00 PM
nhacso nhacso is offline
 
Join Date: Jul 2005
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

- Delphiprogrammi, if use this way => Email will move Inbox or Bulk !?

- And with experience's Delphiprogrammi, every send email should use how many "Email send at once" as best? (Because my board now have ~ 16.000 members; Every I send email forum AdminCp, a lots every always move to Bulk mail) :surprised:
Reply With Quote
  #3  
Old 01-19-2006, 01:31 PM
Delphiprogrammi Delphiprogrammi is offline
 
Join Date: Feb 2004
Location: Landen(Belgium)
Posts: 1,335
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

all this modofication does is provide you with a choice to send high priority email or not it doesn't interfere with anything else
Reply With Quote
  #4  
Old 01-20-2006, 11:20 AM
nhacso nhacso is offline
 
Join Date: Jul 2005
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I understood. Thanks Delphiprogrammi. :nervous:
Reply With Quote
  #5  
Old 01-20-2006, 12:17 PM
Delphiprogrammi Delphiprogrammi is offline
 
Join Date: Feb 2004
Location: Landen(Belgium)
Posts: 1,335
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi people,

Anybody want the "request a read receipt" feature ? i'm willing to add it but again if you have a large board you'll receive a large amount of read receipts ... might not be what you want ....
Reply With Quote
  #6  
Old 09-16-2006, 04:48 PM
ztempuser ztempuser is offline
 
Join Date: Nov 2005
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

bringing the old back
this iwll work in 3.6.1?
Reply With Quote
  #7  
Old 09-17-2006, 12:28 AM
ztempuser ztempuser is offline
 
Join Date: Nov 2005
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i just did this mod and works great on 3.6.0 thanks
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:59 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.03810 seconds
  • Memory Usage 2,269KB
  • Queries Executed 21 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (8)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (6)postbit
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete