The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Chatbox

View previous topic View next topic Go down

Solved Chatbox

Post by 109190xmas on June 7th 2015, 11:40 pm

Is there anyway to make certain fonts/emoticons/text color/commands available for mods and admins only in the chat box on my forum?


Last edited by 109190xmas on June 8th 2015, 2:38 am; edited 1 time in total

109190xmas
New Member

Posts : 6
Reputation : 1
Language : English

Back to top Go down

Solved Re: Chatbox

Post by JScript on June 8th 2015, 2:31 am

@109190xmas
Hi, try this:

In your ACP: Modules -> HTML&JAVASCRIPT -> JavaScript codes management -> [Create a new JavaScript]
Title *: <- Whatever you want
Placement : <- In the home page
Javascript Code * : <- Select, copy and paste the code below in this field:
Code:

var _removeButtons = setInterval(function() {
   if (document.getElementById("frame_chatbox").contentWindow.document.getElementById('chatbox') !== null) {
      clearInterval(_removeButtons);
      if (_userdata.user_level == 0) {
         jQuery("#frame_chatbox").contents().find("#chatbox_messenger_form .right:eq(1)").remove();
      }
   }
}, 250);
Then click in [Submit] button!

So long,

JS

JScript
Forumember

Male Posts : 741
Reputation : 168
Language : PT-BR, EN
Location : Brazil

http://jscript.forumeiros.com/

Back to top Go down

Solved Re: Chatbox

Post by APE on June 8th 2015, 10:52 pm

Topic solved and archived





APE
Manager
Manager

Male Posts : 8636
Reputation : 757
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

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

Back to top Go down

View previous topic View next topic Back to top


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