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.

Get ride of @ next username

2 posters

Go down

Solved Get ride of @ next username

Post by Guest March 19th 2016, 11:54 pm

You know when you log on to the chatbox next to username says @flora used this code to get ride of the @ not sure what did wrong heres picture of the code I did forum link yugiohgameclub.forumotion.com
Get ride of @ next username  Yugioh10


Last edited by musacafe on March 20th 2016, 1:56 am; edited 1 time in total
avatar
Guest
Guest


Back to top Go down

Solved Re: Get ride of @ next username

Post by Take Notes March 19th 2016, 11:57 pm

What's your forum link and version?
Take Notes
Take Notes
Helper
Helper

Male Posts : 2337
Reputation : 324
Language : English
Location : Forumountain

Back to top Go down

Solved Re: Get ride of @ next username

Post by Guest March 20th 2016, 12:00 am

Forum link yugiohgameclub.forumotion.com and verison phpbb3
avatar
Guest
Guest


Back to top Go down

Solved Re: Get ride of @ next username

Post by Take Notes March 20th 2016, 12:03 am

Remove the code in your CSS.

This code is for JavaScript. Add this in your JavaScript (In all pages):

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('')
          })
        };
      };
      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){}})
    });
Take Notes
Take Notes
Helper
Helper

Male Posts : 2337
Reputation : 324
Language : English
Location : Forumountain

Back to top Go down

Solved Re: Get ride of @ next username

Post by Guest March 20th 2016, 12:34 am

Not sure what did wrong
Get ride of @ next username  20160314
avatar
Guest
Guest


Back to top Go down

Solved Re: Get ride of @ next username

Post by Take Notes March 20th 2016, 12:43 am

Not sure what you did wrong either.

Change the title to "ChatBox change @" and save so it is easier to find in future.

Please send a screenshot of the ChatBox showing the code is not working. Are you using the ChatBox on the homepage or the full screen ChatBox with a link?

Also, if I may ask, what computer do you use? I'm sure I can help you with finding a more efficient way of taking a screenshot Smile
Take Notes
Take Notes
Helper
Helper

Male Posts : 2337
Reputation : 324
Language : English
Location : Forumountain

Back to top Go down

Solved Re: Get ride of @ next username

Post by Take Notes March 20th 2016, 1:29 am

Check this page out for screenshot taking:
http://m.wikihow.com/Take-a-Screenshot-on-a-Dell

Please send me a test account with admin rights in private message.
Take Notes
Take Notes
Helper
Helper

Male Posts : 2337
Reputation : 324
Language : English
Location : Forumountain

Back to top Go down

Solved Re: Get ride of @ next username

Post by Guest March 20th 2016, 1:33 am

alright
avatar
Guest
Guest


Back to top Go down

Solved Re: Get ride of @ next username

Post by Take Notes March 20th 2016, 1:50 am

I have fixed the mistake and it is now working!

I believe you replaced "username" in the code to yours? That part was not supposed to change. Also, you didn't enable JavaScript. So now the JavaScript is fixed an enabled.
Take Notes
Take Notes
Helper
Helper

Male Posts : 2337
Reputation : 324
Language : English
Location : Forumountain

Back to top Go down

Solved Re: Get ride of @ next username

Post by Guest March 20th 2016, 1:55 am

Oh okay didnt know Smile thank you Smile solved
avatar
Guest
Guest


Back to top Go down

Solved Re: Get ride of @ next username

Post by Take Notes March 20th 2016, 1:56 am

musacafe wrote:Oh okay didnt know Smile thank you Smile solved
You're welcome! Have a nice day!
Take Notes
Take Notes
Helper
Helper

Male Posts : 2337
Reputation : 324
Language : English
Location : Forumountain

Back to top Go down

Solved Re: Get ride of @ next username

Post by SLGray March 20th 2016, 2:52 am

Topic solved and archived


Get ride of @ next username  Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51555
Reputation : 3524
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Back to top

- Similar topics

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