Technical Details
Forum version : #phpBB2
Position : Founder
Concerned browser(s) : Google Chrome
Who the problem concerns : Yourself
When the problem appeared : I noticed after a few months / years of absence that my rainbow username java code stopped working but i cant tell when exactly
Forum link : ( link is hidden, you must reply to see )
Description of problem
Hello. Back in 2015 I used to have a JAVA code making so the admin names were always in rainbow color along with a crown icon besid it. I came back recently and noticed its been gone but I havent touched anything in ages (knowing im the only one who can acces the administration pannel)so im guessing somethings changed in the forumotion coding itself which disabled my customised code or huh the site just dont support it anymore.here is the JAVA script I used to have:
- Code:
$(function(){
multiColor(1, '<strong><font color="#FE0A01">T</font><font color="#F3A405">h</font><font color="#9BFF00">e</font><font color="#57D652">l</font><font color="#20A0BF">m</font>a</strong>');
function multiColor(id, html){$('a[href="/u'+id+'"]').not(function(){return $("img",this)[0]}).html(html)}
});
and as for the crown icon beside our name is also stopped working
- Code:
a[href="https://lfdp.bbactif.com/g1-foundator"] {
background: url("https://2img.net/i/fa/admin/couronne.png") no-repeat;
padding-left: 19px;
padding-top: 2px;
}
a span[style="#1C95FF"]!important strong {
background:url(https://i.servimg.com/u/f71/14/67/12/66/crown_10.png) no-repeat;
padding-left:19px;
padding-bottom: 5px;
padding-top:0px;
}
I deleted my old one I used to have that stopped working also and used one from here, it worked for a few minute then it suddenly disapeared when I was working on my categories.
Last edited by Thelma on May 25th 2020, 4:15 am; edited 1 time in total