Did I overtweak?
-----
| Author | Message | |
|---|---|---|
|
Thoul |
||
| Mon Apr 09, 2007 9:35 am Post subject: Re: Did I overtweak? | ||
|
Okay, that's a popup. These should be using the simple_header.tpl and simple_footer.tpl of your template.
To skip the confirmation page, find this in mods/contact/contactcp_edit.php: Code: if( $single_add )
{ After it, add: Code: $confirm = TRUE;
|
||
|
Gephri |
||
| Mon Apr 09, 2007 11:01 am Post subject: | ||
|
Thanks Thoul - it's a beautiful thing!
Just one other thing - can you show me a way to hide or remove the Message-ID... that shows on the Contact List emails that go out. it is the first thing shown in the body of the emails yet is something my users dont need/get confused by. |
||
|
Thoul |
||
| Mon Apr 09, 2007 7:28 pm Post subject: Re: Did I overtweak? | ||
|
In class_contact.php, find this:
Code: if( $board_config['version'] < '.0.5' )
{ $email_headers = 'From: <' . $board_config['board_email'] . ">\nReturn-Path: <" . $board_config['board_email'] . ">\nX-MimeOLE: Produced By phpBB2\n\nMessage-ID: <" . md5(uniqid(time())) . "@" . $board_config['server_name'] . ""; $emailer->extra_headers($email_headers); } else { $emailer->from($board_config['board_email']); $emailer->replyto($board_config['board_email']); } Replace it with: Code: $emailer->from($board_config['board_email']);
$emailer->replyto($board_config['board_email']); That might get rid of the Message-ID. If it doesn't, then that's being added by phpBB somewhere in emailer.php. |
||
|
Gephri |
||
| Mon Apr 09, 2007 11:05 pm Post subject: | ||
|
thanks so much thoul - works beautifully!
i wont bore you with the details of how many variations I tried beforehand! Really appreciate your help - and patience! Jeff |
||