Impy?!
New Member
Hey check out my new forum, everyone! - http://makeumine.boards.net/
Posts: 66
inherit
187308
0
Dec 13, 2022 14:45:31 GMT -8
Impy?!
Hey check out my new forum, everyone! - http://makeumine.boards.net/
66
December 2012
imperialbydesign
|
Post by Impy?! on Jun 3, 2013 10:35:20 GMT -8
NAME: Impy REQUEST: I was wondering if a plugin or code was possible for V5, like this one from V4: <script type="text/javascript"><!-- /* Capitalize Display Name (dntresources.com) */ for(var a = document.getElementsByTagName("A"), i = 0; i < a.length; i++) if(a.href.match(/viewprofile&user=.+?$/i)) a.innerHTML = a.innerHTML.toUpperCase(); //--></script>
I think it makes the forum look cleaner when you have the names all capital, or all lowercase (if you just change this: a.innerHTML = a.innerHTML.toUpperCase(); to a.innerHTML = a.innerHTML.toLowerCase(); - then it changes the names to lowercase instead). So I was just wondering if that was possible? [& I have looked for a code for V5 for this and have had no success....] LINK TO FORUM: COLLISION - & p.s. - yes, the names are currently all lowercase because of our link-style. but if I try and create a new theme, with, say, italic hover links; then I would still want the names to be all lowercase; and so, hence my request for this plugin!....
|
|
#eb7100
33409
0
1
Nov 24, 2024 4:27:37 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Jun 3, 2013 12:01:01 GMT -8
You don't even need Javascript for this now. Every username link has a class associated with it. Add this to the bottom of Themes > Advanced Styles & CSS > Style Sheet on each applicable theme. About the part in green... It will override any previously set text-transform properties on username links, in case your regular link properties try to override the username links for some reason.
|
|
Impy?!
New Member
Hey check out my new forum, everyone! - http://makeumine.boards.net/
Posts: 66
inherit
187308
0
Dec 13, 2022 14:45:31 GMT -8
Impy?!
Hey check out my new forum, everyone! - http://makeumine.boards.net/
66
December 2012
imperialbydesign
|
Post by Impy?! on Jun 3, 2013 12:03:37 GMT -8
Thank you Brian! (Quick Question: So if I change "uppercase" to "lowercase", it will still work if I use it both ways [upper & lower])
|
|
#eb7100
33409
0
1
Nov 24, 2024 4:27:37 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Jun 3, 2013 12:05:22 GMT -8
The username links should always use what you specify, so... yes? I'm not certain what you mean, but I'm assuming you're saying if you changed all links to uppercase and changed this code to lowercase.
|
|
Impy?!
New Member
Hey check out my new forum, everyone! - http://makeumine.boards.net/
Posts: 66
inherit
187308
0
Dec 13, 2022 14:45:31 GMT -8
Impy?!
Hey check out my new forum, everyone! - http://makeumine.boards.net/
66
December 2012
imperialbydesign
|
Post by Impy?! on Jun 3, 2013 12:07:26 GMT -8
Yep, that's what I meant....
Thanks again!
|
|