[Code] Remove (Moderator: ...) on Board Index on: February 09, 2011, 12:45:33 am #1 This code will remove the "(Moderators: ...)" on the board indexThis code utilizes jQuery, please use the latest version found in this thread: http://support.createaforum.com/5/jquery-v1-8-update/ Footers:Code: [Select]<script type="text/javascript">/*Created By Arekay www.syntaxnet.tk*/$("p.moderators").hide();</script> Last Edit: August 12, 2012, 03:43:44 pm by xboi209 Logged
Re: [Code] Remove (Moderator: ...) on Board Index Reply #1 on: February 27, 2011, 09:50:17 pm #2 Just for other more ways to do it, heres a CSS way Just add to whatever style your using:Code: [Select].moderators {display: none; !important}; Logged Code: [Select]//Hint hint :)if(/action=profile;u=(.*);sa=UserPage/i.test(location.href)){var number = RegExp.$1;var username = (smf_id_member !== "0") ? document.getElementById("upper_section").getElementsByTagName("li")[0].getElementsByTagName("span")[0].innerHTML : void(0);
Re: [Code] Remove (Moderator: ...) on Board Index Reply #2 on: March 01, 2011, 03:11:15 am #3 That's a good point, thanks!With the large role CSS plays in SMF2.0, a lot of things can be done with CSS, unlike in the version that SMFForFree uses, I just keep forgetting about it. Last Edit: March 01, 2011, 03:13:14 am by Arekay Logged