Simple Machine Codes
March 28, 2024, 07:25:25 am
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 Gallery Affiliates Code Index Staff List Calendar Members Login Register  

Add Box Under Stats V3

Pages: [1] 2   Go Down
  Print  
Author Topic: Add Box Under Stats V3  (Read 4119 times)
0 Members and 1 Guest are viewing this topic.
Agent Moose
Administrator

Offline Offline

Gender: Male
Posts: 2,672



View Profile WWW
« on: November 04, 2007, 03:11:54 pm »

Footers
Code:
<script>
function add_box_stats_v3(){
//Create by Agent Moose (smcodes.smfforfree3.com)
var title = "TITLE"
var content = "CONTENT"
var image = "http://www.smfboards.com/Themes2/default/images/icons/online.gif"

$("div#upshrinkHeaderIC table.bordercolor tbody tr:contains(Users Online)").before("<tr><td class='titlebg' colspan='2'>"+title+"</td></tr><tr><td class='windowbg' width='20' align='center'><img src='"+image+"'/></td><td class='windowbg2' width='100%'><span class='middletext'>"+content+"</span></td></tr>");
};
add_box_stats_v3();
</script>
This isn't really under the stats, this is more into the stats.  This will create a box above the Users Online box in the stats.

TITLE = The Title of the Box
CONTENT = The Content for the box

You may change the Image URL to what ever image you want to show on the side.

Enjoy Smiley
« Last Edit: May 12, 2008, 02:50:11 pm by Agent Moose » Report Spam   Logged

Share on Facebook Share on Twitter

Agent Moose Jr.
Ultra Contagious
Global Moderator

Offline Offline

Gender: Male
Posts: 1,045



View Profile WWW
« Reply #1 on: January 04, 2008, 01:19:02 pm »

nice job
Report Spam   Logged

Newest:

Myrtle
The Girl With The Forum.
100 Club Member

Offline Offline

Gender: Female
Posts: 480


Death Note(Credits to Kai): Myrtle_Gail, Myr-chan


View Profile WWW
« Reply #2 on: February 05, 2008, 09:17:44 am »

Thanks, I really would like to use this. Smiley
Report Spam   Logged

Agent Moose Jr.
Ultra Contagious
Global Moderator

Offline Offline

Gender: Male
Posts: 1,045



View Profile WWW
« Reply #3 on: February 05, 2008, 02:22:16 pm »

yes this is a really cool code!
Report Spam   Logged

Newest:

Myrtle
The Girl With The Forum.
100 Club Member

Offline Offline

Gender: Female
Posts: 480


Death Note(Credits to Kai): Myrtle_Gail, Myr-chan


View Profile WWW
« Reply #4 on: February 07, 2008, 07:37:48 am »

This Code works great Thanks Smiley
Report Spam   Logged

Myrtle
The Girl With The Forum.
100 Club Member

Offline Offline

Gender: Female
Posts: 480


Death Note(Credits to Kai): Myrtle_Gail, Myr-chan


View Profile WWW
« Reply #5 on: March 25, 2008, 11:04:21 am »

Moose how can I do it with multiple images. Please check my code. Thanks!
Code:
<script>
function add_box_stats_v3(){
//Create by Agent Moose (smcodes.smfforfree3.com)
$(function(){
title = "Navigator"
content = "<a href="http://angelicum.smfforfree3.com/index.php"><img src="http://i295.photobucket.com/albums/mm148/Myrtleaps/homepage.gif"> </a>

<a href="http://angelicum.smfforfree3.com/index.php?action=forum"><img src="http://i295.photobucket.com/albums/mm148/Myrtleaps/forum.gif"> </a>

<a href="http://angelicum.smfforfree3.com/index.php/board,1.0.html"><img src="http://i295.photobucket.com/albums/mm148/Myrtleaps/forumrules.gif"> </a>

<a href="http://angelicum.smfforfree3.com/index.php?action=Chat"><img src="http://i295.photobucket.com/albums/mm148/Myrtleaps/chat.gif"> </a>"
image = "http://www.smfboards.com/Themes2/default/images/icons/online.gif"

$("div#upshrinkHeaderIC table.bordercolor tbody tr:contains(Users Online)").before("<tr><td class='titlebg' colspan='2'>"+title+"</td></tr><tr><td class='windowbg' width='20' align='center'><img src='"+image+"'/></td><td class='windowbg2' width='100%'><span class='middletext'>"+content+"</span></td></tr>");
});}
add_box_stats_v3();
</script>
Report Spam   Logged

Celebrus
Artificially Conscious
Administrator

Offline Offline

Gender: Male
Posts: 1,337


aka Omikron


View Profile WWW
« Reply #6 on: March 25, 2008, 11:24:43 am »

Code:
<script>
function add_box_stats_v3(){
//Create by Agent Moose (smcodes.smfforfree3.com)
$(function(){
title = "Navigator"
content = '<a href="http://angelicum.smfforfree3.com/index.php"><img src="http://i295.photobucket.com/albums/mm148/Myrtleaps/homepage.gif"></a><a href="http://angelicum.smfforfree3.com/index.php?action=forum"><img src="http://i295.photobucket.com/albums/mm148/Myrtleaps/forum.gif"></a><a href="http://angelicum.smfforfree3.com/index.php/board,1.0.html"><img src="http://i295.photobucket.com/albums/mm148/Myrtleaps/forumrules.gif"></a><a href="http://angelicum.smfforfree3.com/index.php?action=Chat"><img src="http://i295.photobucket.com/albums/mm148/Myrtleaps/chat.gif"></a>';
image = "http://www.smfboards.com/Themes2/default/images/icons/online.gif"

$("div#upshrinkHeaderIC table.bordercolor tbody tr:contains(Users Online)").before("<tr><td class='titlebg' colspan='2'>"+title+"</td></tr><tr><td class='windowbg' width='20' align='center'><img src='"+image+"'/></td><td class='windowbg2' width='100%'><span class='middletext'>"+content+"</span></td></tr>");
});}
add_box_stats_v3();
</script>

Try that.
Report Spam   Logged

Myrtle
The Girl With The Forum.
100 Club Member

Offline Offline

Gender: Female
Posts: 480


Death Note(Credits to Kai): Myrtle_Gail, Myr-chan


View Profile WWW
« Reply #7 on: March 25, 2008, 11:56:24 am »

thank You so much Omikron.  Grin
Report Spam   Logged

Myrtle
The Girl With The Forum.
100 Club Member

Offline Offline

Gender: Female
Posts: 480


Death Note(Credits to Kai): Myrtle_Gail, Myr-chan


View Profile WWW
« Reply #8 on: March 25, 2008, 12:06:09 pm »

By The way how can I change this  Icon? to this Icon2
« Last Edit: March 25, 2008, 12:06:46 pm by Myrtle » Report Spam   Logged

Epic Lulz
Epic Lulzer
100 Club Member

Offline Offline

Gender: Male
Posts: 509


AWWWWWWWWWWWWYEAAAH


View Profile WWW
« Reply #9 on: March 25, 2008, 12:18:53 pm »

Can you give an example of this?
Report Spam   Logged

scientology

# Help make Operation Clambake better
Agent Moose
Administrator

Offline Offline

Gender: Male
Posts: 2,672



View Profile WWW
« Reply #10 on: March 25, 2008, 03:31:43 pm »

Change the URL in this line:
Code:
image = "http://www.smfboards.com/Themes2/default/images/icons/online.gif"
to the image you want.
Report Spam   Logged

Epic Lulz
Epic Lulzer
100 Club Member

Offline Offline

Gender: Male
Posts: 509


AWWWWWWWWWWWWYEAAAH


View Profile WWW
« Reply #11 on: March 25, 2008, 04:47:42 pm »

I still don't get it.
Report Spam   Logged

scientology

# Help make Operation Clambake better
Myrtle
The Girl With The Forum.
100 Club Member

Offline Offline

Gender: Female
Posts: 480


Death Note(Credits to Kai): Myrtle_Gail, Myr-chan


View Profile WWW
« Reply #12 on: March 26, 2008, 12:23:09 am »

Thank Moose! Really appreaciated
Report Spam   Logged

robo123
Starter

Offline Offline

Posts: 24


View Profile
« Reply #13 on: May 12, 2008, 01:20:08 pm »

wow this is an awesome code, thanks
Report Spam   Logged
yurmomshot3
Members

Offline Offline

Posts: 42


View Profile
« Reply #14 on: May 20, 2008, 05:39:16 pm »

Whats this code do?
Report Spam   Logged
Pages: [1] 2   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 © 2016, Simple Machines
Privacy Policy