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.

How to change username colour ?

View previous topic View next topic Go down

Solved How to change username colour ?

Post by hydra.virus on August 24th 2012, 6:25 am

HI all, i need your help.. i dunno how to change colour of username. like Admin , moderator and others. can someone help me /? part by part ?

i already see all tips but still cant. i dunno start from where? Sad please help me.. im new in this forum


Last edited by Sanket on August 24th 2012, 7:44 pm; edited 2 times in total (Reason for editing : Title more appropriate)

hydra.virus
Forumember

Posts : 34
Reputation : 1
Language : English
Location : Malaysia

Back to top Go down

Solved Re: How to change username colour ?

Post by hydra.virus on August 24th 2012, 6:32 am

Please help me Sad i need help.. guys.. please..

hydra.virus
Forumember

Posts : 34
Reputation : 1
Language : English
Location : Malaysia

Back to top Go down

Solved Re: How to change username colour ?

Post by Shakespeare on August 24th 2012, 6:37 am

If you create a group for the Mods/Admins (And make it either Closed/Open, not hidden.), And you pick a color for them & say 'Color members' It should color the member's of that group's usernames. If that's what you meant. Razz

Shakespeare
Forumember

Female Posts : 55
Reputation : 10
Language : English
Location : America

Back to top Go down

Solved Re: How to change username colour ?

Post by hydra.virus on August 24th 2012, 6:40 am



Thanks ^_^ . can i be your friend? easy for me find u if i got problem. but can u help me? how to make 2 colours in 1 username?

hydra.virus
Forumember

Posts : 34
Reputation : 1
Language : English
Location : Malaysia

Back to top Go down

Solved Re: How to change username colour ?

Post by Shakespeare on August 24th 2012, 7:11 am

Of course x3

And, you can only have two colors in one username if the username has a space in it.

@lilyheart7 wrote:As long as a space is in the username, this should do it.

Modules>>Javascript codes management
Code:
jQuery(document).ready(function(){jQuery('a[href="/u1"] span').each(function(){var t=jQuery(this).text();var splitT=t.split(" ");var halfIndex=Math.round(splitT.length/2);var newText="";for(var i=0;i<splitT.length;i++){if(i==halfIndex){newText+="<span style='color:#ff0000;'>"}newText+=splitT[i]+" "}newText+="</span>";jQuery(this).html(newText)});jQuery('#chatbox a[href="/u1"]').each(function(){var t=jQuery(this).text();var splitT=t.split(" ");var halfIndex=Math.round(splitT.length/2);var newText="";for(var i=0;i<splitT.length;i++){if(i==halfIndex){newText+="<span style='color:#ff0000;'>"}newText+=splitT[i]+" "}newText+="</span>";jQuery(this).html(newText)});jQuery('#chatbox_members a[href="/u1"] span').each(function(){var t=jQuery(this).text();var splitT=t.split(" ");var halfIndex=Math.round(splitT.length/2);var newText="";for(var i=0;i<splitT.length;i++){if(i==halfIndex){newText+="<span style='color:#ff0000;'>"}newText+=splitT[i]+" "}newText+="</span>";jQuery(this).html(newText)})});

Remember:
*Enable Javascript!
*In all pages.
*Replace u1 with username # on the url
*Replace #ff0000 with any color code.
*For the first part of username, it uses the regular color that it would be without the code.

I tested it on mine and it works!

Shakespeare
Forumember

Female Posts : 55
Reputation : 10
Language : English
Location : America

Back to top Go down

Solved Re: How to change username colour ?

Post by AceSuazo on August 24th 2012, 7:35 am

nice job @Shakespeare

AceSuazo
Forumember

Male Posts : 70
Reputation : 3
Language : English, Tagalog & Bisayan

Back to top Go down

Solved Re: How to change username colour ?

Post by hydra.virus on August 24th 2012, 7:41 am

ok thanks Very Happy

hydra.virus
Forumember

Posts : 34
Reputation : 1
Language : English
Location : Malaysia

Back to top Go down

Solved Re: How to change username colour ?

Post by Shakespeare on August 24th 2012, 7:58 am

Glad I could help. Hello

Shakespeare
Forumember

Female Posts : 55
Reputation : 10
Language : English
Location : America

Back to top Go down

Solved Re: How to change username colour ?

Post by SLGray on August 24th 2012, 7:59 am

@hydra.virus wrote:HI all, i need your help.. i dunno how to change colour of username. like Admin , moderator and others. can someone help me /? part by part ?

i already see all tips but still cant. i dunno start from where? Sad please help me.. im new in this forum

@hydra.virus wrote:Please help me Sad i need help.. guys.. please..
Please don't double/triple post. Your post need to be separated by 24 hours before bumping, replying or adding more information. Please use the edit button instead!

Is this solved?


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


SLGray
Administrator
Administrator

Male Posts : 35661
Reputation : 2375
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

Solved Re: How to change username colour ?

Post by hydra.virus on August 24th 2012, 3:38 pm

sorry slg

hydra.virus
Forumember

Posts : 34
Reputation : 1
Language : English
Location : Malaysia

Back to top Go down

Solved Re: How to change username colour ?

Post by Sanket on August 24th 2012, 7:44 pm

Topic Solved & Locked

Sanket
ForumGuru

Male Posts : 48766
Reputation : 2819
Language : English
Location : Mumbai

http://webartzforum.com

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