SMF For Free Support Forum
Signup For Free Forum
March 11, 2010, 04:58:38 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome to SMF For Free. The best free SMF Host
 
   Home   Help Search Arcade Gallery Login Register  

Pages: [1]
  Print  
Author Topic: Info Center V3  (Read 2191 times)
0 Members and 1 Guest are viewing this topic.
Agent Moose
Moderator
*****
Offline Offline

Posts: 805


Do not PM me for Code Support or Request


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

Add this to your headers if you don't have it:
Code:
<script src="/jquery.js"></script>

Footers:
Code:
<script>
function info_center_v3() {
//Created by Agent Moose (smcodes.smfforfree3.com)
$($("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.
« Last Edit: May 02, 2008, 08:56:41 pm by Agent Moose » Logged

Check out Revolution X's Brand new Code Index!
Bullet_RHLI
SMF For Free Full Member
*
Offline Offline

Posts: 174


Join Massive Gaming Site Forums!!!


View Profile WWW
« Reply #1 on: September 08, 2007, 10:13:31 am »

nice, but how come it ends up on the top and not where it is supposted to be?
Logged

Thanks Hurrican47 For Making This

you want to apply for staff, please pm me!!!
simply sibyl
Global Moderator
*
Offline Offline

Posts: 13265



View Profile WWW
« Reply #2 on: September 08, 2007, 10:40:23 am »

nice, but how come it ends up on the top and not where it is supposted to be?

Because it is version 3 of his Info Center Code
If you go to the original one you will see the code puts the info center up top  Wink

http://www.smfsupport.com/support/smf_for_free_codes/info_center_v1-t5561.0.html
Logged

Bullet_RHLI
SMF For Free Full Member
*
Offline Offline

Posts: 174


Join Massive Gaming Site Forums!!!


View Profile WWW
« Reply #3 on: September 08, 2007, 10:46:18 am »

alright thanks
Logged

Thanks Hurrican47 For Making This

you want to apply for staff, please pm me!!!
73lue73oy
SMF For Free Member
*
Offline Offline

Posts: 63


View Profile WWW
« Reply #4 on: August 02, 2008, 03:20:50 pm »

what does this do because i want to know before i add it?
Logged

Jessie
SMF For Free Hero
*
Offline Offline

Posts: 752


View Profile WWW
« Reply #5 on: August 02, 2008, 03:27:29 pm »

Tells you general information eg. User Online, Users Online Ever...Its on EVERY forum, this is a code that makes you have 2. One is placed @ top of the forum.
« Last Edit: August 02, 2008, 03:36:19 pm by Jessie » Logged

Feel free to PM me or email me. Wink

My Forum Smiley
73lue73oy
SMF For Free Member
*
Offline Offline

Posts: 63


View Profile WWW
« Reply #6 on: August 02, 2008, 03:34:56 pm »

oh kool
Logged

peepzi
SMF For Free Newbie
*
Offline Offline

Posts: 6


View Profile
« Reply #7 on: August 19, 2008, 07:25:36 pm »

Thanks, this is useful im using.  Grin
Logged
kiddydevil3
SMF For Free Newbie
*
Offline Offline

Posts: 4


View Profile
« Reply #8 on: August 21, 2008, 04:58:14 am »

could you possibly make a code that seperates the info senter so it's on the side? like a bar? with to sides?
Logged
Mystic_kid2k6
SMF For Free Member
*
Offline Offline

Posts: 44


View Profile
« Reply #9 on: February 05, 2009, 03:43:14 pm »

Hmm..always wondered is it possible to add something like this to the block portal?
Logged


Pages: [1]
  Print  
 
Jump to:  



Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC
ServerBeach Coupon
Page created in 0.403 seconds with 15 queries. (Pretty URLs adds 0.141s, 2q)