Skip navigation
8110 Views 14 Replies Latest reply: Feb 8, 2008 11:03 AM by Tim Davis RSS
Greg DePratt Bronze 14 posts since
Nov 20, 2007
Currently Being Moderated

Nov 21, 2007 12:44 PM

Looking for Disclaimer message plugin

 

Does anyone know of a plugin for automatic disclaimer messages?  In

our situation we are logging corporate IM traffic and we need to be

able to put  a message on chats saying somthing like "This message is

being logged by COMPANY NAME HERE"  I would like it to only appear on

the first chat per person per day.   I know somthing exists because

other companies that we talk to are putting disclaimers on all thier

chats.  I don't think they are using openfire though.  I think their

message gets put on by a seperate IM security Appliance - like Akonix.

I thought about adapting the message of the day plugi, but I was hoping

somthing was out there that I am not finding...Thanks for your help.

 

 

 

 

 

Greg

 

 

  • Bronze 23 posts since
    Jan 30, 2006
    Currently Being Moderated
    Nov 25, 2007 12:35 AM (in response to Greg DePratt)
    Re: Looking for Disclaimer message plugin

    I gave making your disclaimer plugin a shot.  It is very similiar to the Message of the day plugin, except for your request for the disclaimer message only showing up once per day.  Use the Disclaimer Service Settings page to configure it.  Note, this plugin requires you to have Openfire  v.3.4.x, because I have only tested with 3.4.1.  If this won't work for you tell me the version of Openfire that you are using and I will try to get it working for that version.  This is my first shot at compiling a plugin, so hopefully everything works out.

     

     

    Just unzip the attached zip file and place the disclaimer.jar file in your openfire plugins directory.  I also included the source with it.

     

     

    It is attached as a zip.

     

     

    -Dan Nelson

    Attachments:
    • wroot KeyContributor 7,042 posts since
      Jan 24, 2005
      Currently Being Moderated
      Nov 25, 2007 3:41 AM (in response to Daniel Nelson)
      Re: Looking for Disclaimer message plugin

      Hi, Dan.

       

      Maybe you should post you plugin as a document in Community plugins section as well? http://www.igniterealtime.org/community/community/plugins/commplugins?view=docum ents

       

      Or maybe this could be incorporated in a MoTD plugin. I will talk to Ryan about this.

    • wroot KeyContributor 7,042 posts since
      Jan 24, 2005
      Currently Being Moderated
      Nov 25, 2007 11:58 AM (in response to Daniel Nelson)
      Re: Looking for Disclaimer message plugin

      Btw, i'm getting exception when trying to check plugins settings

       

      Exception:

       

      java.lang.NullPointerException

           at org.jivesoftware.openfire.plugin.disclaimer.disclaimer_002dservice_jsp._jspServ ice(disclaimer_002dservice_jsp.java:79)

           at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)

           at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

           at org.jivesoftware.openfire.container.PluginServlet.handleJSP(PluginServlet.java: 228)

           at org.jivesoftware.openfire.container.PluginServlet.service(PluginServlet.java:86 )

           at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

           at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)

           at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1093)

           at org.jivesoftware.admin.PluginFilter.doFilter(PluginFilter.java:69)

           at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1084)

           at org.jivesoftware.admin.AuthCheckFilter.doFilter(AuthCheckFilter.java:98)

           at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1084)

           at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:11 8)

           at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)

           at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1084)

           at org.jivesoftware.util.LocaleFilter.doFilter(LocaleFilter.java:65)

           at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1084)

           at org.jivesoftware.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingF ilter.java:41)

           at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1084)

           at org.jivesoftware.admin.PluginFilter.doFilter(PluginFilter.java:69)

           at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1084)

           at org.jivesoftware.admin.AuthCheckFilter.doFilter(AuthCheckFilter.java:98)

           at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1084)

           at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)

           at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)

           at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)

           at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)

           at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)

           at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollect ion.java:211)

           at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)

           at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)

           at org.mortbay.jetty.Server.handle(Server.java:313)

           at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)

           at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.j ava:830)

           at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)

           at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)

           at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)

           at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)

           at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)

    • rene-1 Silver 217 posts since
      Feb 12, 2007
      Currently Being Moderated
      Dec 15, 2007 2:14 PM (in response to Daniel Nelson)
      Re: Looking for Disclaimer message plugin

       

      Very nice Plugin!

       

       

      Thanks for that. Working fine.

       

       

    • Bronze 34 posts since
      Feb 1, 2008
      Currently Being Moderated
      Feb 8, 2008 11:03 AM (in response to Daniel Nelson)
      Re: Looking for Disclaimer message plugin

      Awesome plugin Dan, now my chat audit is bogged down with MoTD logs. Thanks!!

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points