The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Sparkline graphing hack... I've built one, is there a demand for it to be published?
I've built a sparkline plugin named sparkplug.
Sparklines are documented here: http://www.edwardtufte.com/bboard/q-...1OR&topic_id=1 And to give you an idea, mine look like this: I have sparklines currently indicating: * Forum stats on the home page ** Number of threads per day over the past month ** Number of posts per day over the past month ** Number of new users per day over the past month * Member list and member info pages ** Number of posts per day over the past month by that user It also accounts for style changes, and will modify the background colour accordingly. Further, it has file caching built in to prevent any sparkline being generated twice within a 12 hour period. Worst case scenario is that a user gets an update once every 24 hours as I use 12 hours on the file based cache, and then add 12 hours to the expiry header of the image when we send it to the browser. Anyhow... it works fine, but will need a little tidying if there is a demand for this kind of thing to be published... I'd also like a little peer review on the file cache side of things, namely, how to cope with errors. I also haven't localised the tooltips/alt text of the images. Take a look and let me know what you think. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|