display message when answer

hi there,

i want the follow:

when a user writes a message and i reply, the message from the user is not in the textfield. thats too bad, because i do not know, what he was writing...

i found then the file COMPOSE.PHP - there is a place near row 223 called:

<textarea class="blogText" id="blogText" name="text"></textarea>

so i want to display the text from the original message unde my reply. i tried :

<textarea class="blogText" id="blogText" name="text"><? echo $sMessage_text; ?></textarea>

but it did not work

does anybody have a glue how i can do this ?

thanx

Quote · 30 Jul 2008

I am trying to do this as well.. I would like the message between members to all be viewable on the message page.. So they can scroll down and se all past messages for that particular friend... How can we do this?

Quote · 12 Jul 2014

in BxBaseMailbox.php

find         function genReplayMessage($iRecipientID, $iMessageID = 0)

after

               $sMessageSubject = ( $iMessageID )
                    ? $this->addReToSubject(db_value
                        (
                            "
                            SELECT
                                `Subject`
                            FROM
                                `sys_messages`
                            WHERE
                                `ID` = {$iMessageID}
                                    AND
                                (
                                `Sender` = {$this -> aMailBoxSettings['member_id']}
                                    OR
                                `Recipient` = {$this -> aMailBoxSettings['member_id']}
                                )
                            "
                        ))
                    : null;

Add this...

$sMessageText = db_value("SELECT `Text` FROM `sys_messages` WHERE `ID` = {$iMessageID} AND
 (`Sender` = {$this -> aMailBoxSettings['member_id']} OR `Recipient` = {$this -> aMailBoxSettings['member_id']})");

after this...

                   'notify'              => $aLanguageKeys['notify'],
                    'action_buttons'      => $sMessageBoxActions,
add this...

                   'quoted_text'           => '<br><br><br><br><br><p>'.$aRecipientInfo['NickName'].' wrote:<br>>>>>>>>>>>>>>>>>>><br>'. $sMessageText . '</p>',

in mail_box_replay_message.html

find this

    <div class="message_container">
        <textarea id="compose_message"></textarea>
    </div>

change to this

    <div class="message_container">
        <textarea id="compose_message">__quoted_text__</textarea>
    </div>

 

That should work. 

http://www.mytikibar.com
Quote · 14 Jul 2014

Steve, thanks for your response.. However your reply is a little "jumbled" can you please explain it a little clearer. I would really appreciate it!

Quote · 15 Jul 2014

This is for sending private messages.  It shows the last message sent in the reply box.

If you are looking for an ongoing chat like conversation then use DIALOGS by AQB.  That is an awesome mod!

It shows the entire message conversation to and from on the page. 

http://www.mytikibar.com
Quote · 15 Jul 2014
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.