Welcome Guest [Log In] [Register]
This board has been archived and is no longer accepting new questions. If you have a support question for your ZetaBoard, please visit us at the new support board. Registration is free and easy.


Visit the NEW ZetaBoards Support forum!

Username:   Password:
Add Reply
Add Sections to Board Statistics
Topic Started: Mar 29 2008, 01:43 PM (1,606 Views)
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 Goto Top
 
davadude
Member Avatar
GuildWars addict :P
[ *  *  * ]
nice job!; but who is the original creator?
Offline Profile Quote Post Goto Top
 
.DeleTeD.
Member Avatar
Member
[ *  *  * ]
a preview is always nice :)
Offline Profile Quote Post Goto Top
 
Arrogant
Member Avatar
Vote Choco and Nicola!
[ *  *  * ]
as is common sense. :p *cough* http://aquate.us/u/newsect.png *cough*

it adds another section to the board statistics table, one that you edit in.
you can add as many as you want, though it's better if you don't add like 20 or something. :s

it also works in Firefox 2, Maxthon 2, Internet Explorer 7 & 8, and Opera 9.
Edited by Arrogant, Mar 29 2008, 05:02 PM.
Offline Profile Quote Post Goto Top
 
Victrixs
Member Avatar
Website Developer
[ *  *  * ]
great code
Offline Profile Quote Post Goto Top
 
DAEnaya
Member Avatar
Member
[ * ]
Quite a useful code. Thanks!
Offline Profile Quote Post Goto Top
 
DragonHybrid
Member Avatar
Member
[ * ]
This would be perfect if you could add images to the boxes (making the extra row a showcase of affiliates).

Also, both the Add Stats Rows codes I've tried to use so far have been placing the row between Online Users and Board Stats... is there any way to keep it at the bottom? I originally had Generation's code, but I needed to replace it because it's not being supported anymore.
Offline Profile Quote Post Goto Top
 
Rikayla
Member
[ * ]
Very very very useful, as the previous one I was using stopped working. Thank you very much!
Offline Profile Quote Post Goto Top
 
.insane
Member Avatar
You think you know....
[ *  * ]
Arrogant
Mar 29 2008, 04:55 PM
as is common sense. :p *cough* http://aquate.us/u/newsect.png *cough*

indeed it is but common sense tells me next to no one will blindly add a code, a preview shows me what your code does specifically, and that it works

without the preview i would've just gone to the next topic, anyway great code! thanks for sharing :)
Offline Profile Quote Post Goto Top
 
Thunder
Member Avatar
Thunder
[ *  *  * ]
It doesn't work for me... :( :( :(
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
Go to Next Page
« Previous Topic · User Created Codes · Next Topic »
Add Reply