SMF For Free Support Forum
Signup For Free Forum
July 04, 2009, 11:33:04 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 1885 times)
0 Members and 1 Guest are viewing this topic.
Agent Moose
Moderator
*****
Offline Offline

Posts: 776


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

Want to know how good your board is?  Why not get it reviewed at Revolution X!
Bullet_RHLI
SMF For Free Full Member
*
Offline Offline

Posts: 181


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: 11806


On vacation until July 6th


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

Some Helpful Links:
Support FAQ | Guides & Tutorials | Tips for Using Support
I do not do support via personal messages
Bullet_RHLI
SMF For Free Full Member
*
Offline Offline

Posts: 181


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: 739


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

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
Mystickid2k6
SMF For Free Member
*
Offline Offline

Posts: 31


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:  

cheap low cost web hosting reviews

Powered by SMF 1.1.9 | SMF © 2006-2009, Simple Machines LLC
ServerBeach Coupon
Page created in 0.598 seconds with 16 queries.