|
Post by airbornflght on Jun 13, 2005 9:59:56 GMT -8
ok this may be two different codes???
I made an image for the male/female but its a text image, (the image says female/male. i did this cause i could color the words.) so right now the profile says .
I would appreciate a code to remove the text that says male/female but leave the unspecified or whatever it says. or i can make an unspecified image.
I would also like a text to image script to do some various things...
to convert the ranks: user rank/moderator/admin to images that ive made. and then a code to make usernames different colrs depending on there rank: user/mod/admin.
I really hope im not wasting to much of you alls time. just that I have no experience right now, (trying to learn/take classes) an di need these codes to make my site look a little bit better than stock.
Thx ~Andy
|
|
|
Post by CD on Jun 13, 2005 10:19:42 GMT -8
|
|
|
Post by airbornflght on Jun 13, 2005 16:17:19 GMT -8
no...sadly enough the script didnt work and I didnt quite understand the whole bit about the url???....I tried what i think you said but it didnt work. where it ask for the name I put "url" is that right or was that what you were talking about an idiot doin...im confused....I need to learn to do this stuff on my own....save everyone the trouble
|
|
|
Post by CD on Jun 14, 2005 1:26:08 GMT -8
Put the script above in your Global Footers, and what I did before messed up. do this: [img]url to image[/img] Follow the instructions I listed above.
|
|
|
Post by airbornflght on Jun 14, 2005 19:47:26 GMT -8
alrighty...I got the user rank images to work...I didnt even think about ubb working there, thats awesome ;D. i put the code in the global footers bu it still didnt work. i need it to remove the text that says either male or female out of the profile and mini profile that you see in threads. much appreciated for the help. This is the only thing i need, i took care of the others. ~Andy
|
|
|
Post by CD on Jun 14, 2005 19:54:19 GMT -8
Typo in the code. <script> var aTD = document.getElementsByTagName("TD");
if(location.href.match(/action=display/i)){ for(a=0;a<aTD.length;a++){ if(aTD[a].width=="20%" && aTD[a].innerHTML.match(/Posts: /i)){ aTD[a].innerHTML = aTD[a].innerHTML.replace("Male",""); aTD[a].innerHTML = aTD[a].innerHTML.replace("Female",""); }}} </script>
|
|
|
Post by airbornflght on Jun 15, 2005 14:01:40 GMT -8
the code got the listing out of the mini profile thats in the threads but not in the main profile??? hmmm....
|
|
|
Post by CD on Jun 15, 2005 15:06:39 GMT -8
That's not the same width, and I'm too lazy to go look up the width. Have Crazy do it for youi.
|
|
|
Post by CrAzY_J on Jun 17, 2005 8:37:28 GMT -8
the width is the same, it's your location check that makes this code not work for the main profile.
replace CD's code with this one
<script type='text/javascript'> var T=document.body.getElementsByTagName('td'); for(t=0;t<T.length;t++){ if(T[t].width=='20%' && T[t].className!='catbg' && T[t].innerHTML.match(/Posts/)){ T[t].innerHTML=T[t].innerHTML.replace(/Male/g,""); T[t].innerHTML=T[t].innerHTML.replace(/Female/g,""); }} </script>
|
|
|
Post by CD on Jun 17, 2005 13:18:11 GMT -8
XD That's sad that I did that.
|
|