|
Post by Wormopolis on Sept 13, 2010 6:38:41 GMT -8
I put what you needed to do in that post... is it not working for you?
|
|
Flame
Not New Member
I don't know much about the codes and terms of the computer world. Please be patient with me.[Sj1:0]
Posts: 20
Flame said 0 great things
|
Post by Flame on Sept 13, 2010 15:56:31 GMT -8
Like this? nameSmear("flame","FF0000","00FFFF") Ah jeez. I don't get it sorry.
|
|
|
Post by Wormopolis on Sept 13, 2010 22:54:00 GMT -8
yep! assuming your username on whatever forum you are doing this on is "flame".
|
|
Flame
Not New Member
I don't know much about the codes and terms of the computer world. Please be patient with me.[Sj1:0]
Posts: 20
Flame said 0 great things
|
Post by Flame on Sept 14, 2010 1:37:32 GMT -8
So put it at the display name box right?
|
|
|
Post by Wormopolis on Sept 14, 2010 2:14:25 GMT -8
ah I see where your getting confused. Each name has to be added into the headers/footers area inside the code itself. users wont be able to put the smear tags directly into their display name themselves, mainly because it just takes up too much room. you only get so much space in that little box on the modify profile. Whatever name they put into the display name will be the text that gets smeared however. so looking at the code again.. <script type="text/javascript"> <!-- // colorSmear display names v1.1 // by Wormopolis - www.wormocodes.comfunction nameSmear(uname,stcolor,endcolor) { for (lnks=document.links, d=0; d<lnks.length; d++) { if (!lnks[d].className.match(/nosmear/) && lnks[d].href.match(new RegExp('profile&user='+uname,'g'))) { tmpv=lnks[d].innerHTML.replace(/<\/?font(.*?)>/gi,''); tmpret=colorSmear(stcolor,tmpv,endcolor); lnks[d].innerHTML=tmpret; } } } // must have colorSmear function in Global Header above this script // use format nameSmear("username","startcolor","endcolor"); nameSmear("test","03FF12","103399"); // --> </script> see where it says nameSmear("test","03FF12","103399"); at the bottom? you would just add in more lines just like that, with the username being the first parameter to the function.
|
|
Flame
Not New Member
I don't know much about the codes and terms of the computer world. Please be patient with me.[Sj1:0]
Posts: 20
Flame said 0 great things
|
Post by Flame on Sept 15, 2010 1:40:01 GMT -8
I'll try
*Facepalm* Oh my gosh I'm so sorry Wormopolis. I just can't get it! Where do I put the code?
|
|
Nightwalker
Full Member
Everything Happens at Night
Posts: 138
Nightwalker said 0 great things
|
Post by Nightwalker on Sept 15, 2010 15:24:19 GMT -8
Put it in the Global Headers
Admin>>>Headers/Footers>>>Global Headers
|
|
|
Post by Wormopolis on Sept 15, 2010 16:08:51 GMT -8
Put it in the Global Headers Admin>>>Headers/Footers>>>Global Headers the first code goes in global header. the third code goes in global footer.
|
|
|
Post by Wormopolis on Sept 15, 2010 16:12:02 GMT -8
you DO have access to headers and footers right?
|
|
|
Post by Wormopolis on Sept 15, 2010 19:40:22 GMT -8
Awwwesome code, but I was wondering, is there a way to smear the custom titles? New code added to first post.
|
|
Flame
Not New Member
I don't know much about the codes and terms of the computer world. Please be patient with me.[Sj1:0]
Posts: 20
Flame said 0 great things
|
Post by Flame on Sept 15, 2010 21:26:36 GMT -8
you DO have access to headers and footers right? *Checks* No I dont.
|
|
|
Post by Wormopolis on Sept 15, 2010 23:48:49 GMT -8
ok.. well.. in order for this code to work on your site you will need to insert the 2 codes into your headers and footers. what site are you wanting to use this on and do you have contact with the admin of that site?
|
|
Flame
Not New Member
I don't know much about the codes and terms of the computer world. Please be patient with me.[Sj1:0]
Posts: 20
Flame said 0 great things
|
Post by Flame on Sept 16, 2010 19:52:00 GMT -8
Well, I want to use this for my name on this site.
|
|
|
Post by Wormopolis on Sept 19, 2010 15:27:13 GMT -8
see... all this time I thought we were talking about how to get the code to work on YOUR site. on WormoCodes, the way to get a colored name is to impress me with something like an original idea, or be lucky enough that I randomly select your name as a test.
so which shall it be?
|
|
Flame
Not New Member
I don't know much about the codes and terms of the computer world. Please be patient with me.[Sj1:0]
Posts: 20
Flame said 0 great things
|
Post by Flame on Sept 22, 2010 2:18:18 GMT -8
Get lucky, which will be hardly possible.
|
|