Welcome Guest [Log In] [Register]
We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Multiquote (on) Multiquote (off)
Add Reply
Color username help
Topic Started: Mar 29 2018, 07:23 PM (316 Views)
shannt10
Member
[ * ]
I want to add this code but not sure where to add it. I put it in the below the board and didn't work.
Also, am I doing something wrong or did I fill in what I was suppose to?

Quote:
 
<script type="text/javascript">
//C.U.A.B
//By Choco
function colorUser(uN,u,uNa) {
$("a[@href*=/profile/"+uN+"/]").not("[img]").each(function() {
a=this;a.className=(u.match(/\./))?u.split(".")[1]:a.className;
a.style.color=(!(u.match(/\./)))?u:a.style.color;
a.innerHTML=(uNa)?uNa:a.innerHTML;
});
}
colorUser("5134828","red","Shannon");
</script>


And the original code is located here.
Offline Profile Quote Post Goto Top
 
fnuppage
Member
[ *  *  *  * ]
shannt10
Mar 29 2018, 07:23 PM
I want to add this code but not sure where to add it. I put it in the below the board and didn't work.
Also, am I doing something wrong or did I fill in what I was suppose to?

Quote:
 
<script type="text/javascript">
//C.U.A.B
//By Choco
function colorUser(uN,u,uNa) {
$("a[@href*=/profile/"+uN+"/]").not("[img]").each(function() {
a=this;a.className=(u.match(/\./))?u.split(".")[1]:a.className;
a.style.color=(!(u.match(/\./)))?u:a.style.color;
a.innerHTML=(uNa)?uNa:a.innerHTML;
});
}
colorUser("5134828","red","Shannon");
</script>


And the original code is located here.
Looking at the original post http://support.zathyus.com/topic/5079024/1/#new it refers to Below the copyright. which I believe could possibly mean "Above the copyright"
Offline Profile Quote Post Goto Top
 
shannt10
Member
[ * ]
I just tried all the boxes in the board template and none of them worked.
I found a different code that works. :)
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · ZetaBoards - Theme & Code Support · Next Topic »
Add Reply