Skip to content

[Code] Remove (Moderator: ...) on Board Index

7931 Views 2 Replies

0 Members and 8 Guests are viewing this topic.

[Code] Remove (Moderator: ...) on Board Index
on:
#1
This code will remove the "(Moderators: ...)" on the board index



This 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
Re: [Code] Remove (Moderator: ...) on Board Index
Reply #1 on:
#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};
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:
#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
 

Related Topics