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 August 23rd 2015, 2:34 am; 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.
» How to remove the minus reputation symbol
» How do i remove the away, logout, and other functions in the chatbox?
» How to remove "You must be connected to use the ChatBox."
» Help about chatbox can i remove online ?
» How to remove the minus reputation symbol
» How do i remove the away, logout, and other functions in the chatbox?
» How to remove "You must be connected to use the ChatBox."
» Help about chatbox can i remove online ?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum