Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 09-16-2002, 10:20 AM
Kathy's Avatar
Kathy Kathy is offline
 
Join Date: Nov 2001
Location: Texas, ya'll
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Email "CC" back to member sending...

Okay, I've done a search and don't see this hack...and the need for it makes me think that perhaps I've missed something obvious all these years in the admin control panel options.

I'd like the option of sending a "CC" or "BCC" of the emails sent to members through the VB back to the member who is sending the email.

This is for my moderators who need "email documentation" of what they send to members when we need to contact one of them.

It would be optional....like a button near the SEND button to have a copy sent to sender....

Any thoughts? Did I miss an option already in the script?

Thanks ahead of time!
Reply With Quote
  #2  
Old 09-16-2002, 11:49 AM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Isnt that default feature? We use it here in vbulletin.org so I thought it was default..
Attached Images
File Type: gif email.gif (7.5 KB, 0 views)
Reply With Quote
  #3  
Old 09-16-2002, 05:02 PM
Kathy's Avatar
Kathy Kathy is offline
 
Join Date: Nov 2001
Location: Texas, ya'll
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Welll, no...that isn't on my VB's email function page. I looked again and don't see it in my VBulletin admin control panel "options" either.

Is there a hack somewhere for this in the full releases I can't seem to find?

Thanks!
Reply With Quote
  #4  
Old 09-16-2002, 07:56 PM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes AFAIK there is no hack released in full releases. In fact I was thinking this was default vb behavior.. Anyway it's an easy one:

Edit member.php, find:
PHP Code:
 mail($destuserinfo[email],$subject,$sendmessage,"From: \"$bbuserinfo[username]\" <$bbuserinfo[email]>"); 
After that add:
PHP Code:
if ($sendme)
{
 
mail($bbuserinfo[email],$subject,$sendmessage,"From: \"$bbuserinfo[username]\" <$bbuserinfo[email]>");

Edit mailform template and add this somewhere you like before </form>

PHP Code:
<input type="checkbox" name="sendme" value="1">
<
normalfont>Send one copy to yourself?</normalfont><br
You can format the template line better if you want by putting inside a table etc. If you want to have a different template for CC mails use line:

PHP Code:
eval("\$sendmessage = \"".gettemplate("xxx",1,0)."\";"); 
after

PHP Code:
if ($sendme)

replace xxx with your template name and customize it according to your wish..

Not tested, should work, if not holler and I'll fix it..
Reply With Quote
  #5  
Old 09-16-2002, 11:05 PM
Kathy's Avatar
Kathy Kathy is offline
 
Join Date: Nov 2001
Location: Texas, ya'll
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<sigh> I keep getting a parse error method. Copy/paste is doing funky things and I'm not sure enough when it comes to the code...removing extra spaces and returns...doesn't seem to fix it either.

Wah!
Reply With Quote
  #6  
Old 09-17-2002, 06:49 AM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are you using Opera as your browser? Try IE or Netscape while copying from here. Or just type it manually, it's a short code anyway..
Reply With Quote
  #7  
Old 09-17-2002, 11:25 AM
Kathy's Avatar
Kathy Kathy is offline
 
Join Date: Nov 2001
Location: Texas, ya'll
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm using IE....never been on Opera before in my life (except when I went to the theatre to see a few )

I'll have a go at typing in the code by hand...but I still worry.

At the end of line, there is a return.....

but at the beginning of a line where the code is indented, is that a tab or spaces? Does it matter?



See why I wanted to copy/paste? I've followed other smallish hacks here before where the copy/paste worked and the hacks are functioning. But I am PHP challenged....to say the least. :ermm:

Thanks for your help!
Reply With Quote
  #8  
Old 09-17-2002, 12:22 PM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Kathy
I'm using IE....never been on Opera before in my life (except when I went to the theatre to see a few )
If you are not on Opera, it's weird you get a parse error. I checked the code and it did not give me any parse errors. Anyway if you cant handle it, send me your member.php (via PM), tell me whether you want custom template or not and I'll add the code for you..
Reply With Quote
  #9  
Old 09-18-2002, 07:27 AM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok I fixed your file, there was some strange chars. which shouldnt be in it. It's very likely your program that you edit the file put them in. You should use Notepad for hack editing.. More info here:

https://vborg.vbsupport.ru/showthrea...threadid=39142

Reply With Quote
  #10  
Old 09-18-2002, 10:12 AM
Kathy's Avatar
Kathy Kathy is offline
 
Join Date: Nov 2001
Location: Texas, ya'll
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks! Errr....I don't have notepad...as I'm on an IMac

I do use BBedit though, which is the suggested "text" editor for macs...

I guess it messed up somewhere :lol:

Thanks for your help,
Kathy
Reply With Quote
Reply


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 07:47 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.04496 seconds
  • Memory Usage 2,285KB
  • Queries Executed 12 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (5)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete