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.

chat box log in log out notification

3 posters

Go down

Solved chat box log in log out notification

Post by zenzo March 31st 2017, 11:14 am

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, 1:58 pm; edited 1 time in total
zenzo
zenzo
Forumember

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

Back to top Go down

Solved Re: chat box log in log out notification

Post by Draxion March 31st 2017, 11:58 am

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){}})
});
Draxion
Draxion
Helper
Helper

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

https://www.talesoftellene.com/

Back to top Go down

Solved Re: chat box log in log out notification

Post by zenzo March 31st 2017, 1:58 pm

this is perfect, thank very much

topic solved
zenzo
zenzo
Forumember

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

Back to top Go down

Solved Re: chat box log in log out notification

Post by Draxion March 31st 2017, 5:25 pm

You're most welcome. Have a good day!
Draxion
Draxion
Helper
Helper

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

https://www.talesoftellene.com/

Back to top Go down

Solved Re: chat box log in log out notification

Post by Ape March 31st 2017, 5:25 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
Ape
Ape
Administrator
Administrator

Male Posts : 19084
Reputation : 1988
Language : fluent in dork / mumbojumbo & English haha

http://chatworld.forumotion.co.uk/

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum