Coding-Spot

You are not connected. Please login or register

 
 

[HELP] Tool Bar "Welcome ***"

Message (Page 1 of 1)


 
Advance Member

Posted on Mon Apr 29, 2013 10:35 am

 
Is it posibble to Change "Welcome ***" to "Logged in as ***" i am a Invision user ^^
Hope you can help me ^^ Thank you admins Fighting!!



View user profile



 
Administrator
Administrator

Posted on Mon Apr 29, 2013 10:36 am

 
Add this to your JS Management (Check in all pages):
Code:
function changeToolbar(word, replacement) {
    for (var name in word) {
        document.getElementById('fa_welcome').innerHTML = document.getElementById('fa_welcome').innerHTML.replace(RegExp(name, 'g'), word[name]);
    }
}

$(window).load(function () {
    changeToolbar({
        'Welcome': 'Logged in as',
    });
});

Then save. :D:



View user profile http://coding-spot.darkbb.com



 
Advance Member

Posted on Mon Apr 29, 2013 10:40 am

 
wow~! it works~! but is it possible to add an icon before the word "Logged in as ***"



View user profile



 
Administrator
Administrator

Posted on Mon Apr 29, 2013 10:52 am

 
What icon you want to add? Provide me the image link :):.



View user profile http://coding-spot.darkbb.com



 
Advance Member

Posted on Mon Apr 29, 2013 10:54 am

 
This one hihi http://coreclique.com/forums/public/style_images/master/user_green.png



View user profile



 
Administrator
Administrator

Posted on Mon Apr 29, 2013 10:58 am

 
Add this to your JS Management (Check to all pages):
Code:
$(window).load(function(){
var x = document.getElementById('fa_usermenu').getElementsByTagName('img')[0].src;
document.getElementById('fa_welcome').insertAdjacentHTML('afterbegin', '<img style="margin-bottom: -3px;" src="http://coreclique.com/forums/public/style_images/master/user_green.png"/>');
});



View user profile http://coding-spot.darkbb.com



 
Advance Member

Posted on Mon Apr 29, 2013 11:23 am

 
it works Thanks ^^ Lock it now ^^



View user profile



 
Administrator
Administrator

Posted on Mon Apr 29, 2013 12:02 pm

 
Since the problem is solved, i'll locked this and move to archive section. :D:
~ Locked and Moved



View user profile http://coding-spot.darkbb.com


#9

Sponsored content


 

Posted Today at 11:47 am

 





Message (Page 1 of 1)

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

In total there is 0 user online :: 0 Registered, 0 Hidden and 0 Guests

Users browsing this forum: None