Simple Machine Codes
November 23, 2009, 12:02:45 pm
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to SMC, the best place for your SMF For Free Codes
 
  Home Help Search Arcade Affiliates Code Index Staff List Calendar Members Login Register  

Info Center V3


Pages: [1]   Go Down
  Print  
Author Topic: Info Center V3  (Read 267 times)
0 Members and 1 Guest are viewing this topic.
Agent Moose
Administrator

Offline Offline

Gender: Male
Posts: 2,664



View Profile WWW
« on: September 08, 2007, 08:33:16 am »

Footers:
Code:
<script>
function info_center_v3() {
//Created by Agent Moose at smcodes.smfforfree3.com
$(function() {
$($("div.tborder").contains("Info Center")).insertBefore("#bodyarea")
b = $($("div.smalltext").contains("Users active in past 15 minutes:").hide()).html();
$("tr:contains(Users Onl"+"ine)").hide();
$("tr:contains(Users Onl"+"ine)").next().hide();
$("tr:contains(Most O"+"nline To"+"day:)").hide();
$("tr:contains(New Pos"+"ts)").hide();
$("span.middletext").each(function() {
if(this.innerHTML.match(/([\d,]+) Posts in ([\d,]+) Topics by ([\d,]+) Members. Latest Member: <b>\s?(<a.+?\/a>)<\/b>/i)) {
this.innerHTML = "Posts: <b>"+RegExp.$1+"</b>, Topics: <b>"+RegExp.$2+"</b>, Total Members: <b>"+RegExp.$3+"</b>, Newest Member: <b>"+RegExp.$4+"</b><br>"+b
};});});};
info_center_v3()
</script>

Just like all the other versions of this code, it just makes the info center smaller.
Report Spam   Logged



Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Bookmark this site! | Upgrade This Forum
SMF For Free - Create your own Forum

Powered by SMF | SMF © 2006, Simple Machines LLC
ServerBeach Coupon