Nov 30
Add More Boxes to Board Statistics
Location: Admin CP > Themes > Board Template > Javascripts OR Below the Board (Prefer Javascripts)
Demo: http://s1.zetaboards.com/GenerationStudio/index/ (Look at Board Statistics)
Instructions:
Define a new box with $().newZBBS({Options}); Check the example if you are confused.
You must define a new set of options for each separate box, like in the example.
Options:
isOn - Set to true to turn on the box. Set to false to turn it off. This is useful if you must switch in boxes for whatever reason, or want to see if one box is causing a problem.
Info - This is the data that goes inside the box. Values include any HTML. Use single quotes(') instead of double(")
Title - This is the title of the box. Values include any HTML. Use single quotes(') instead of double(")
Image - This image goes to the box to the left. Values are URLs.
imageLink - This links the image to another site. Values are URLs. Leave blank if you want no link.
- Quote:
<script src='http://generationstudio.net/codes/zbboardstats2.js'>// Add more boxes to Board Statistics</script>
<script type="text/javascript">
// Add more boxes to Board Statistics
$(function(){
$().newZBBS({
isOn: true,
Title: "MyTitle",
Info: "MyText",
Image: "http://209.85.62.24/static/1/s_stats.png"
});
$().newZBBS({
isOn: true,
Title: "MyTitle2",
Info: "MyTex2t",
Image: "http://209.85.62.24/static/1/s_stats.png",
imageLink: "http://generationstudio.net"
});
});
</script>
-
Comment by badtzmaru, Dec 3 2007, 12:24 AM
Thanks again for helping me with the codes!
I made you a cookie like I said I would, but it came out kind of girly... =_=;; (Purple is my favorite color! :D)
(It's a sugar cookie. @_@ I hope you like it!) -
Comment by Thunder, Jun 8 2008, 03:00 PM
Awesome code!! I'm going to use it soon. Do you think you could make it so that it would show that brithdays? I bet you could!!

Keep it up. -
Comment by Thunder, Jun 10 2008, 12:30 PM
I'm using this code. Thank you for creating it!!!!
- Add new comment:

10:05 AM Dec 8