+ Reply to Thread (include dating software, release, and patch number!)
Page 2 of 3 FirstFirst 1 2 3 LastLast
Results 11 to 20 of 27

Thread: Inbox, Outbox, Reply problems

  1. #11
    Prometheus
    Guest

    Default

    I don't think they will allow mods that actaully work to be sold on their site...goes against tradition...lol....
    And it's against their reasoning or lack thereof.
    Besides. Their spies have already taken it but still theywill not be smart enough to implement it....lol.....

  2. #12
    elusuario's Avatar
    Join Date
    Sep 2006
    Posts
    173

    Default

    jaja, I also think it have sales value, it makes the communication system to work as it should, what were boonex thinking about when developing it :S??

    I have not applied it yet since I've been very busy today, I will a little later and post results here.
    Last edited by elusuario; 03-14-2007 at 05:20 PM.
    Using modified Dolphin 5.6.0002 hosted at shared server

  3. #13
    lodlock's Avatar
    Join Date
    May 2006
    Posts
    284

    Default

    yet even though I have seen them take at least one function from me almost word for word. They still wouldn't implement them until the next release which for a little while there was a decent amount of time to wait. All the while someone could log in and read/delete/spoof another members blog/mail/profile etc.
    -Lodlock

  4. #14
    elusuario's Avatar
    Join Date
    Sep 2006
    Posts
    173

    Default

    Hi again, I have applied half of the changes, but when applying the one to have the original message include in the reply it places the message above the textarea of the form, what I meant before is to have the message included inside the textarea (with some blank lines before it) so when the original sender receives the reply he/she is able to read/remember what was the message he/she originally sent to be getting that reply because the original message is actually included with the reply.

    By applying the modification to have RE: in the subject line you do get the result I'm talking about.

    I'll try to look if I can make it do what I'm talking about, if find the way I will post it here, if not, hope someone else to get it to work that way and post how, here.

    Do you know how, lodlock??
    Using modified Dolphin 5.6.0002 hosted at shared server

  5. #15
    lodlock's Avatar
    Join Date
    May 2006
    Posts
    284

    Default

    Let me see what I can do. It can't be too tough, something like commenting out the previous reply stuff $ret's but keeping the db call. Then tossing $original_mes_arr['Text'] as a value to the main message's text box.

    Something like that at least. I'll look at it in a few.
    -Lodlock

  6. #16
    Prometheus
    Guest

    Thumbs up

    Yes.

    This, being able to include the original senders message with the reply message,
    would be GREAT for 4.1.2.
    I tried taking the code from dolphin and altering it and porting it over to 4.1.2 but just cannot seem get it to work.
    Maybe I am just too tired.
    If I figure it out I will post it.

    Maybe Lodlock can figure it out. He seems to be on top of this.

    Promtheus
    Attached Files

  7. #17
    lodlock's Avatar
    Join Date
    May 2006
    Posts
    284

    Default

    Sweet, I finally got it. It was driving me crazy until I realized that I couldn't refresh to see differences on compose.php

    So here its, modify however you wish. Open up compose.php and find:

    Code:
                    $ret .= '<div class="composeTextareaBlock">';
                            $ret .= '<textarea name=text id=text class="messageTxtArea" rows="12" cols="93" name="text"  onKeyDown="javascript: this.form.textcounter.value = this.form.text.value.length;" onKeyUp="javascript: this.form.textcounter.value = this.form.text.value.length;"></textarea>';
    Replace and modify to fit your desired message style:

    Code:
                    if ($original_mes_arr['Text'])
                            $ret .= '<textarea class="blogText" rows="12" cols="93" name="text"  onKeyDown="javascript: this.form.textcounter.value = this.form.text.value.length;" onKeyUp="javascript: this.form.textcounter.value = this.form.text.value.length;"><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p>------------PREVIOUS MESSAGE BELOW-----------<p>&nbsp;</p>'. process_line_output($original_mes_arr['Text']) .' </textarea>';
                    else
                            $ret .= '<textarea class="blogText" rows="12" cols="93" name="text"  onKeyDown="javascript: this.form.textcounter.value = this.form.text.value.length;" onKeyUp="javascript: this.form.textcounter.value = this.form.text.value.length;"></textarea>';
    For something that simple it took me to long. I must be losing it. Damn refresh. *walks away from computer balling fists and randomly cursing*

    EDIT:
    The cursing really wasn't that random.
    -Lodlock

  8. #18
    elusuario's Avatar
    Join Date
    Sep 2006
    Posts
    173

    Exclamation

    Ok, again doing the changes and testing.

    I found that now the text from the previous messages is included in the textarea when you reply, but some errors occur when you do several replies of the same message back and forth.

    For example here is how appears a message when user 1 send it originally then user 2 reads it and replies and then user 1 reads it and hit reply (before sending), this is at the textarea of the compose page at the described moment (THIS IS NOT CODE, I will place it as code just for presentation and better understanding):

    Code:
    
    
    
    
    
    
    
    
    ---------------PREVIOUS MESSAGE BELOW---------------
    
    
    
    Content 2
    
    
    
    
    
    & nbsp;
    
    
    
    ---------- -----PREVIOUS MESSAGE BELOW---------------
    
     Content 1
    You can see the errors in red.

    I think this have to do with this part of the edition done: process_line_output($original_mes_arr['Text'])

    Here are some options I have found through the script, but I don't know if they will work or even what they do specifically, but just in case, to make the fix of this a little faste I will include them here:

    process_smiles( process_text_withlinks_output($original_mes_arr['Text']) );
    process_html_output($message_arr['Text'], 80);

    Sorry for being so perfectionist, but this is about a very important feature I think and user should not be getting errors in the communication, since it is the idea of the whole site, the communication with others.

    Thanks for any help, anything about this lodlock?
    Last edited by elusuario; 03-17-2007 at 11:08 PM.
    Using modified Dolphin 5.6.0002 hosted at shared server

  9. #19
    lodlock's Avatar
    Join Date
    May 2006
    Posts
    284

    Default

    In messages_inbox.php change

    Code:
    $ret .= process_html_output($message_arr['Text'], 80);
    into something larger such as:

    Code:
    $ret .= process_html_output($message_arr['Text'], 1800);
    in compose.php find:

    Code:
    $ret .= '<textarea class="blogText" rows="12" cols="93" name="text"  onKeyDown="javascript: this.form.textcounter.value = this.form.text.value.length;" onKeyUp="javascript: this.form.textcounter.value = this.form.text.value.length;"><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p>------------PREVIOUS MESSAGE BELOW-----------<p>&nbsp;</p>'. process_line_output($original_mes_arr['Text']) .' </textarea>';
    replace it with:

    Code:
    $ret .= '<textarea class="blogText" rows="12" cols="93" name="text"  onKeyDown="javascript: this.form.textcounter.value = this.form.text.value.length;" onKeyUp="javascript: this.form.textcounter.value = this.form.text.value.length;"><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p>------------PREVIOUS MESSAGE BELOW-----------<p>&nbsp;</p>'. process_html_output($original_mes_arr['Text'], 1800) .' </textarea>';
    or any other number large enough to not cut off a random char. Worked for me.
    -Lodlock

  10. #20
    elusuario's Avatar
    Join Date
    Sep 2006
    Posts
    173

    Thumbs up

    Hi, ok, it seems lodlock post above this fixed the issue I mentioned about including original messages with replies, seems to be working correctly know.

    By the way, notice that when you are viewing a specific message at the outbox the title of the content panel is wrong, it says that it is the inbox, you can fix this at messages_outbox.php

    Find:
    Code:
    $_page['header_text'] = _t( "_INBOX_H1" );
    Change to:
    Code:
    $_page['header_text'] = _t( "_OUTBOX_H1" );
    Well, now I'm going to apply the changes for the outbox delete button and the independent delete of messages at inbox and outbox, I'll post results here.

    Hmmm, I almost forget... the line edited at messages_inbox.php mentioned in above post is also found at messages_outbox.php, I also edited it at messages_outbox.php for both to match, I don't know if this might affect anything, but just for logic I am keeping both to be the same as they were the same before.

    Take care.
    Last edited by elusuario; 03-18-2007 at 05:21 PM.
    Using modified Dolphin 5.6.0002 hosted at shared server

+ Reply to Thread (include dating software, release, and patch number!)
Page 2 of 3 FirstFirst 1 2 3 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. combine inbox and outbox
    By makenoize in forum FAQ & HOWTO
    Replies: 2
    Last Post: 06-15-2007, 02:59 AM
  2. Inbox/Outbox need improvement
    By Smoge in forum Wishlist
    Replies: 4
    Last Post: 03-14-2007, 12:47 AM
  3. time in inbox-outbox
    By raeyo in forum General Issues, Comments, Questions
    Replies: 3
    Last Post: 02-19-2007, 01:25 AM
  4. Inbox.php & outbox.php hacks.
    By Prometheus in forum Free Mod Exchange
    Replies: 0
    Last Post: 02-06-2007, 09:14 PM
  5. Problems with Reply
    By Smoge in forum Feedback and Suggestions
    Replies: 1
    Last Post: 08-27-2005, 09:26 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts