chat box log in log out notification Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.
3 posters

    chat box log in log out notification

    zenzo
    zenzo
    Forumember


    Posts : 564
    Reputation : 13
    Language : english,tagalog
    Location : philippines

    Solved chat box log in log out notification

    Post by zenzo March 31st 2017, 2:44 pm

    chat box log in log out notification 2017-024

    is it possible to remove this notification from chatbox?

    forum version phpbb3

    http://gsmcotabato.forumotion.com/


    Last edited by zenzo on March 31st 2017, 5:28 pm; edited 1 time in total
    Draxion
    Draxion
    Helper
    Helper


    Male Posts : 2518
    Reputation : 321
    Language : English
    Location : USA

    Solved Re: chat box log in log out notification

    Post by Draxion March 31st 2017, 3:28 pm

    Hi there, @zenzo!

    Install this JavaScript.
    Title: Anything you please.
    Placement: In all pages
    Code:
    $(window).load(function() {
      var chatbox_script = function() {
        $('#chatbox > p > .msg > span').filter('[style="color:green"],[style="color:red"]').closest('p').remove();
        var overrided = Chatbox.prototype.refresh;
        Chatbox.prototype.refresh = function(data) {
          if (data.messages && data.messages.length) {
            data.messages = $.grep(data.messages, function(v) {
              return v.userId != -10 || $.inArray(v.msgColor, ["red", "green"]) == -1;
            });
          }
          overrided.call(this, data);
        };
      };
     
      var
    s=document.createElement('script');s.text="("+chatbox_script.toString()+")();";$('object[data^="/chatbox/index.forum"],iframe[src^="/chatbox/index.forum"]').each(function(){try{$(this.contentDocument||this.contentWindow.document).find("#chatbox").closest("html").find("head").first().each(function(){this.appendChild(s.cloneNode(true))})}catch(a){}})
    });
    zenzo
    zenzo
    Forumember


    Posts : 564
    Reputation : 13
    Language : english,tagalog
    Location : philippines

    Solved Re: chat box log in log out notification

    Post by zenzo March 31st 2017, 5:28 pm

    this is perfect, thank very much

    topic solved
    Draxion
    Draxion
    Helper
    Helper


    Male Posts : 2518
    Reputation : 321
    Language : English
    Location : USA

    Solved Re: chat box log in log out notification

    Post by Draxion March 31st 2017, 8:55 pm

    You're most welcome. Have a good day!
    Ape
    Ape
    Administrator
    Administrator


    Male Posts : 19324
    Reputation : 2005
    Language : fluent in dork / mumbojumbo & English haha

    Solved Re: chat box log in log out notification

    Post by Ape March 31st 2017, 8:55 pm

    Problem solved & topic archived.
    Please read our forum rules: ESF General Rules



    chat box log in log out notification Left1212chat box log in log out notification Center11chat box log in log out notification Right112
    chat box log in log out notification Ape_b110
    chat box log in log out notification Ape1010