Possible to prevent pasting images in chat?

Last post 09-30-2007, 10:14 PM by selliott. 5 replies.
Sort Posts: Previous Next
  •  04-07-2006, 7:58 PM 18011

    Possible to prevent pasting images in chat?

    I have a little problem with users pasting images in the chats and was wondering if there is a way to prevent that.
  •  04-14-2006, 4:34 PM 18246 in reply to 18011

    Re: Possible to prevent pasting images in chat?

    prevent it? I am trying to figure out how to do it!
  •  04-17-2006, 6:46 PM 18288 in reply to 18246

    Re: Possible to prevent pasting images in chat?

    Just select an image from another website, copy it, then paste it into the chat room text area.
  •  09-28-2007, 9:30 AM 33895 in reply to 18288

    Re: Possible to prevent pasting images in chat?

    (bump)

    Can anyone shed any light on this issue?  Basically, at least in IE, it's possible to cut-and-paste images from other websites.  There needs to be a way to stop this, otherwise we can't use the chat system in a public environment (because of the capability of simply inserting offensive images from anywhere).

    Any ideas?
  •  09-28-2007, 10:10 AM 33897 in reply to 33895

    Re: Possible to prevent pasting images in chat?

    lovelost:
    (bump)

    Can anyone shed any light on this issue?  Basically, at least in IE, it's possible to cut-and-paste images from other websites.  There needs to be a way to stop this, otherwise we can't use the chat system in a public environment (because of the capability of simply inserting offensive images from anywhere).

    Any ideas?

     
    Please open the following file: ChatUI.xml.
     
    And find the following code:
     

        if(Html_IsWinIE)
        {
         box=ChatUI_CreateWinIEInputElement();
        }
        else
        {
         box=ChatUI_CreateInputTextArea();
        }
     
    And change it to:
     
         box=ChatUI_CreateInputTextArea();
     
    That will resolve the problems.
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  09-30-2007, 10:14 PM 33918 in reply to 33897

    Re: Possible to prevent pasting images in chat?

    Great!
     
    NOTE: I wouldn't edit this file in Dreamweaver.  I did and it was causing problems...even "undoing the changes" didn't fix the file.  I finally downloaded a fresh copy of the file (by downloading the a full fresh zip download of the chat files) and just edited the ChatUI.xml file in notepad.
View as RSS news feed in XML