Author Topic: Send chat history through email  (Read 15799 times)

0 Members and 1 Guest are viewing this topic.

adokilla

  • Full Member
  • ***
  • Posts: 5
Send chat history through email
« on: July 31, 2009, 02:49:16 PM »
Hello everyone, I would like to thank the Mibew Messenger team for the great software it is one of the best out there, keep doing a good job. I am new to this chat software i like it because of the simplicity and customization that is given to you. I have tested the software out a lot of times but i came across were i would like a button display also for the operator to send the conversation through email like the client can.

i have copied the code for the email icon and have pasted it right next to the redirect option that operators have but the icon when you click on it it never takes any action because it doesn't get a token, i am probably doing something wrong. any help would be greatly appreciated

Thank you

adokilla

  • Full Member
  • ***
  • Posts: 5
Re: Send chat history through email
« Reply #1 on: August 06, 2009, 11:14:06 AM »
any help ??

thirdeye954

  • Full Member
  • ***
  • Posts: 14
Re: Send chat history through email
« Reply #2 on: August 12, 2009, 07:36:33 PM »
Did you ever figure this out?

buyflowersncakes

  • Jr. Member
  • **
  • Posts: 3
    • Buy Flowers N Cakes
Re: Send chat history through email
« Reply #3 on: August 15, 2009, 07:38:58 AM »
I don't think its possible!!

Please let me know if any one have any idea on this...

Eddybaur

  • Native
  • *****
  • Posts: 237
  • Mibew Member
    • Mibew
Re: Send chat history through email
« Reply #4 on: August 16, 2009, 01:10:43 AM »
yes, it is possible, as Live Person company has made it in theirs. i'm thinking we can too. soorry for the late reply! been really busy :(

adokilla

  • Full Member
  • ***
  • Posts: 5
Re: Send chat history through email
« Reply #5 on: August 19, 2009, 02:53:57 PM »
No problem we all are busy in life, it is possible the problem is that i cannot figure out what controls the session and the code that creates the send chat history page. i can copy the code for the image its self but when clicking it i get an internal error in which i suspect that the code which should forward me to the send chat history page with the same session.
here is the code for the image it self from the user side

Before the send chat history button there is this small code, not sure exactly what it does but am working on it.   

<td align="right">
            <table cellpadding="0" cellspacing="5" border="0"><tr>
            ${if:agent}
               <td>

The send chat history button.

<td>
<a href="${page:mailLink}&amp;style=${styleid}" target="_blank" title="${msg:chat.window.toolbar.mail_history}" onClick="this.newWindow = window.open('${page:mailLink}&amp;style=${styleid}', 'ForwardMail', 'toolbar=0,scrollbars=0,location=0,statusbar=1,menubar=0,width=603,height=254,resizable=0'); if (this.newWindow != null) {this.newWindow.focus();this.newWindow.opener=window;}return false;"><img src="${tplroot}/images/buttons/email.gif" border="0" alt="${msg:chat.window.toolbar.mail_history}"/></a>
</td>

This code is after the send chat history button

${endif:user}
            ${if:agent}
               ${if:canpost}

I tried substituting the if:user function with changing it to if:agent, Then the user doesn't see the send chat history but the operator does but when the operator clicks the button it redirects it to webim/operator/&style=simplicity in which it looks like it doesn't get any token, and if you click the user end send chat history it directs you to this webim/client.php?thread=68&token=70406210&level=ajaxed&act=mailthread&style=simplicity Which has a token. That's the problem; the problem am facing now is that i cannot figure out how does it create a token from the chat itself and transfers it into the send chat history option because that option and the chat itself is generated by the same token. i will also try to post some screen shoots to help better understand what is going on.


Thanks for any suggestions. Mibew Messenger Team rocks !
« Last Edit: August 19, 2009, 04:39:52 PM by adokilla »

adokilla

  • Full Member
  • ***
  • Posts: 5
Re: Send chat history through email
« Reply #6 on: October 06, 2009, 05:50:35 PM »
Anyone ??