View Full Version : Hooking vbulletin stats etc onto your homepage index?
how can i put things like top stats etc on my non vbulletin .html index?
please leave detail and links
Lynne
05-17-2009, 02:29 PM
On an html page? You can't unless you write some code to 'export' these stats and then write some javascript to grab these stats and display them. If you were to write a php page, you can do it easily by basically copying the code from a stats mod.
so should i just make my index php then? but wont i need to alter the code abit?
Lynne
05-17-2009, 03:51 PM
I don't know what you mean as far as not altering any code. If you are writing your own page, you will most likely need to alter things if you are taking queries and such from other mods to use. You can start with this and then expand it as needed - [How-To] vBulletin API Basics: Creating Custom Pages & Misc. (https://vborg.vbsupport.ru/showthread.php?t=98009)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.