Chatbox: remove the "@" symbol for administrators?
2 posters
Page 1 of 1
Chatbox: remove the "@" symbol for administrators?
Hello, I'm wondering if there was some kind of code to remove the @ symbol for our administrators at GeNo Clan Forums.
Forum URL: GeNociDe Clan Forums
Forum Style: PHPBB3
Forum URL: GeNociDe Clan Forums
Forum Style: PHPBB3
Last edited by Ghost on Sun 23 Aug - 3:34; edited 3 times in total
Guest- Guest
Re: Chatbox: remove the "@" symbol for administrators?
Are you talking about the Chatbox?
If so, are you wanting to remove it entirely or replace it with something else?
If so, are you wanting to remove it entirely or replace it with something else?
Guest- Guest
Re: Chatbox: remove the "@" symbol for administrators?
Yes, i'm talking about the chatbox. Also yeah remove it entirely.Leah7 wrote:Are you talking about the Chatbox?
If so, are you wanting to remove it entirely or replace it with something else?
Guest- Guest
Re: Chatbox: remove the "@" symbol for administrators?
Hello @Ghost,
Try adding this Javascript:
Place: In All Pages.
You should change
Try adding this Javascript:
- Code:
$(window).load(function() {
var chatbox_script = function() {
var overrided = Chatbox.prototype.refresh;
Chatbox.prototype.refresh = function(data) {
overrided.call(this, data);
$('.chatbox-username').each(function(){
this.previousSibling&&$.trim(this.previousSibling.nodeValue)=="@"&&$(this.previousSibling).replaceWith('<img
src="http://i.imgur.com/zICIAne.png" /> ')
})
};
};
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){}})
});
Place: In All Pages.
You should change
for the link of the new icon that you want for chat moderators o leave empty to remove it<img src="https://i.imgur.com/zICIAne.png" />
Re: Chatbox: remove the "@" symbol for administrators?
Topic solved and archived
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Similar topics
» icon behind the moderator symbol in chatbox.
» Chatbox Mod Symbol Change
» How to remove the minus reputation symbol
» Can The Chatbox Moderation Symbol Be Changed?
» Has the <> symbol (chatbox HTML, etc) been removed???
» Chatbox Mod Symbol Change
» How to remove the minus reputation symbol
» Can The Chatbox Moderation Symbol Be Changed?
» Has the <> symbol (chatbox HTML, etc) been removed???
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum