Intercept send button action

Last post 11-23-2010, 10:32 PM by cutechat. 6 replies.
Sort Posts: Previous Next
  •  11-09-2010, 12:25 PM 64948

    Intercept send button action

    I have to do something with the text the user types before it is sent to the server and so sent to other users, basically deal with dynamic translations and such.
     
    Is there a way to intercept the "Send action" and pluggin some actions before? Even if I have to change some client javascripts, that's ok. I'm just not sure where to start looking at.
     
    Thank you.

    Vicenç Masanas
    www.disgrafic.com
  •  11-14-2010, 8:04 PM 65000 in reply to 64948

    Re: Intercept send button action

    Hi vmasanas,
     
    Which send button? the chat room or the chat window of messenger?
     
    Regards,
     
    ken
  •  11-19-2010, 2:12 AM 65085 in reply to 65000

    Re: Intercept send button action

    Ken, thank you for your answer but seems I don't get notifications on this forum... will have to look more often.
     
    Anyway, we have the module installed on a DotNetNuke site, not sure the difference about chat room or chat messenger now...
    We have to module on a page and we want to intercept the action that sends the message the user types to the server, so before it is distributed to other users.
     
    Thank you

    Vicenç Masanas
    www.disgrafic.com
  •  11-19-2010, 9:41 AM 65097 in reply to 65085

    Re: Intercept send button action

    Dear vmasanas,
     
    CuteChat and Cute Messenger comparision:
     
     
    Thank you for asking
  •  11-19-2010, 12:05 PM 65101 in reply to 65097

    Re: Intercept send button action

    Clear now. We have cutechat integrated into a DotNetNuke site.

    Vicenç Masanas
    www.disgrafic.com
  •  11-23-2010, 1:57 AM 65120 in reply to 65101

    Re: Intercept send button action

    Any ideas?
    I have to do something with the text the user types before it is sent to the server and so sent to other users, basically deal with dynamic translations. Is there a way to intercept the "Send action" and pluggin some actions before? Even if I have to change some client javascripts, that's ok. I'm just not sure where to start looking at.
     

    Vicenç Masanas
    www.disgrafic.com
  •  11-23-2010, 10:32 PM 65149 in reply to 65120

    Re: Intercept send button action

    Hi,
    Please check the ChatUI.js
     
    function ChatUI_SendMessageWithFloodControl(..)
     
    Regards,
    Terry
View as RSS news feed in XML