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.

Script to hidden username from toolbar

View previous topic View next topic 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



Female Posts : 204
Reputation : 3
Language : English

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.


Posts : 28
Reputation : 10
Language : en.js

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

$(function() {
 var welcome = document.getElementById('fa_welcome'), name = _userdata.username;
 welcome.innerHTML = welcome.innerHTML.replace(name, '');

Ace 1

Male Posts : 781
Reputation : 52
Language : English - French?
Location : Druid Hill Park

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