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.

Multi-Color Username Code

View previous topic View next topic Go down

Solved Multi-Color Username Code

Post by Ellianna17 on July 14th 2015, 12:31 pm

Spoiler:
Code:
$(function(){
  multiColor(88576, '<strong><font color="#58ACFA">h</font><font color="#F781D8">a</font><font color="#58ACFA">t</font><font color="#F781D8">s</font><font color="#58ACFA">u</font><font color="#F781D8">n</font><font color="#58ACFA">e</font><font color="#F781D8">m</font><font color="#58ACFA">i</font><font color="#F781D8">k</font><font color="#58ACFA">u</font><font color="#F781D8">3</font><font color="#58ACFA">9</font></strong>');
 
  function multiColor(id, html){$('a[href="/u4"]').not(function(){return $("img",this)[0]}).html(html)}
});
Hello, I use an iPad and I am not able to see the results of the code. My forum link is added to my profile so does its forum version.


Last edited by Titania on July 16th 2015, 10:37 am; edited 1 time in total

Ellianna17
Forumember

Female Posts : 539
Reputation : 124
Language : English, Filipino, and Basic Spanish

http://winxclub.site-forums.com

Back to top Go down

Solved Re: Multi-Color Username Code

Post by Ange Tuteur on July 14th 2015, 6:18 pm

Hi @Titania,

From what I can tell, the script looks to be filled in incorrectly. Try replacing it with this :
Code:
$(function(){
  multiColor(4, '<strong><font color="#58ACFA">h</font><font color="#F781D8">a</font><font color="#58ACFA">t</font><font color="#F781D8">s</font><font color="#58ACFA">u</font><font color="#F781D8">n</font><font color="#58ACFA">e</font><font color="#F781D8">m</font><font color="#58ACFA">i</font><font color="#F781D8">k</font><font color="#58ACFA">u</font><font color="#F781D8">3</font><font color="#58ACFA">9</font></strong>');
 
  function multiColor(id, html){$('a[href="/u' + id + '"]').not(function(){return $("img",this)[0]}).html(html)}
});

The ID of your profile should have been where 88576 was.

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Multi-Color Username Code

Post by Ellianna17 on July 15th 2015, 5:24 am

Still ain't working...

Ellianna17
Forumember

Female Posts : 539
Reputation : 124
Language : English, Filipino, and Basic Spanish

http://winxclub.site-forums.com

Back to top Go down

Solved Re: Multi-Color Username Code

Post by Ange Tuteur on July 15th 2015, 11:54 am

That should've worked, which means there's another error on your forum. From what I can tell, it's coming from the banned message screen. Edit that script and remove the following if it's there :
Code:
Code:Select Content

It looks like that may have been copied along with the script.

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Multi-Color Username Code

Post by Ellianna17 on July 16th 2015, 10:35 am

Yes, it was copied along. Thank you for the help!

Ellianna17
Forumember

Female Posts : 539
Reputation : 124
Language : English, Filipino, and Basic Spanish

http://winxclub.site-forums.com

Back to top Go down

Solved Re: Multi-Color Username Code

Post by Ange Tuteur on July 16th 2015, 3:22 pm

You're welcome ^^

Topic archived

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.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