Script to hidden username from toolbar

Go down

Script to hidden username from toolbar

Post by kumotta on August 21st 2016, 8:43 pm

hello, i want to remove username in toolbar from this to be like this

thanks
avatar
kumotta
Forumember

Female Posts : 204
Reputation : 3
Language : English

http://komiku.forumid.net/

Back to top Go down

Re: Script to hidden username from toolbar

Post by Pamoon on August 21st 2016, 10:07 pm

Youre funny, very funny : )
Give me forum address + test account, your image doesn't say youre using the official fm toolbar or it was modified by script.
avatar
Pamoon
Forumember

Posts : 28
Reputation : 10
Language : en.js

https://help.forumotion.com/

Back to top Go down

Re: Script to hidden username from toolbar

Post by Ace 1 on August 23rd 2016, 3:40 pm

lal @kumotta

Admin panel >> Modules >> HTML & Javascript >> Javascript codes management >> Create new javascript

Title: Welcome
Placement: In all the pages

Code:
Code:
$(function() {
 var welcome = document.getElementById('fa_welcome'), name = _userdata.username;
 welcome.innerHTML = welcome.innerHTML.replace(name, '');
});
avatar
Ace 1
Helper
Helper

Male Posts : 842
Reputation : 63
Language : English - French?
Location : Druid Hill Park

https://help.forumotion.com

Back to top Go down

Back to top


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