1

Topic: Add field - Send As - in Compose Message Newsletter

Hi there,
i need a hint about which files edit to obtain the ability to send message from admin control panel as another registered user.

i thought that surely there something about this functions

function send($from_email, $from_name, $to, $subject, $body, $body_html = "", $headers = "")

inside includes/core/core.email.php

and i need something dinamic around $from_name

but i don't know how to proceed

that's what is on my mind, every idea is welcome

yourlovechat

2

Re: Add field - Send As - in Compose Message Newsletter

so seems that other staff to modify are in these files

under includes/templates/newsletter_message.tpl

<tr>
            <td class="gridLabels1" width="180">
                {lang:"newsletters","from_username"}
            </td>
            <td class="gridValue1">
                <input class="inputText" name="username" type="text" width="16" value="{htmlentities:username}" style="width: 250px" />
            </td>
        </tr>

under includes/cp/cp.newsletters.php

i've try to copy some code from $username calling for $sender the same way like this

//------------------------------------------------
// Set values
//------------------------------------------------
$username  = isset($_POST['username']) ? $DB->strip_slashes(trim($_POST['username']))   : "";
$sender = isset($_POST['username']) ? $DB->strip_slashes(trim($_POST['username']))   : "";

then i add just one lines in
/includes/languages/italian/lang.cp.newsletters.php

"from_username" =>
"Send from username",

obviously that way system won't work, giving me invalid newsletter ID, tought that big part of the task take place in cp.newsletters.php
any good idea?
is this the right way or i miss some limitation that vld may have?

thanks in advance

3

Re: Add field - Send As - in Compose Message Newsletter

So, seems that no one is able to freely help me i'm offering money for this modification.

I'm hiring a coder to make that mod.
Is someone able to do that?
How much would it cost me?
Please pm me your estimate budget for that job

(i don't know if i'm violating some forum rules, if that is the case i'll delete this msg)