Welcome Guest [Log In] [Register]
Viewing Single Post From: Add Sections to Board Statistics
Arrogant
Member Avatar
Vote Choco and Nicola!
[ *  *  * ]
Name: Add More Sections to Board Statistcs Table.
Creator: Definitely not me. -_-
Description: Much like GenerationStudio's script which adds "boxes" to the board statistics, this.. well, does the same exact thing. :s
However, it's smaller and doesn't have a copyright. :) So, enjoy. :D

Code:
 
<script type="text/javascript" src="http://209.85.62.24/23/2/0/f49699/newSection.js?1:0:1"></script>
<script type="text/javascript"> <!--
newSection({
id: "news",
title: "Forum News",
image: "http://209.85.62.24/static/1/f_old.png",
content: "We Eat Taco's."
});
newSection({
id: "feature",
title: "Forum Features",
image: "http://209.85.62.24/static/1/f_old.png",
content: "We Create Taco's - see above box for more info."
});
// --> </script>


Directions:
Code:
 
newSection({
id: "Section ID", <= ID of the section you're adding - to help style. Notice the comma after the last ".
title: "Section Title", <= Title of the section you're adding. Notice the comma after the last ".
image: "Section Image", <= Image to be added to the section that you're.. adding. Notice the comma after the last ".
content: "Section Content" <= Content of the section that you're adding. Notice there's no comma after the last ".
});

Commas are used to seperate the properties that you're editing, so it makes sense that there's one between them all, except the very last one. :)

Notes: This goes... well.... erm... AdminCP => Themes => Board Template => Below the Board or Above the copyright. :)
Edited by Arrogant, Mar 29 2008, 02:25 PM.
Offline Profile Quote Post
Add Sections to Board Statistics · User Created Codes