View Full Version : Turning Forum Statistics into a Block
Amaury
07-23-2013, 12:49 AM
How can I make the forum statistics into a block like on XenForo?
https://vborg.vbsupport.ru/external/2013/07/2.png?1
This is a short answer that might not be much help, but: you need to find the code that creates the forum statistics (which I believe is in forum.php), and copy it to use in a php type forum block. Well, ok, it's probably more than just copying, but finding the existing code would be a good place to start.
ETA: Of course it's possible there's a mod for this already, maybe someone else will know.
mokujin
07-23-2013, 12:54 PM
People are copying ideas from Xenforo to VBB, and Xenforo copied from VBB :D
Amaury
07-23-2013, 03:06 PM
This is a short answer that might not be much help, but: you need to find the code that creates the forum statistics (which I believe is in forum.php), and copy it to use in a php type forum block. Well, ok, it's probably more than just copying, but finding the existing code would be a good place to start.
ETA: Of course it's possible there's a mod for this already, maybe someone else will know.
Searched Forum Statistics
4.x Mods
Titles OnlyFound nothing.
Unfortunately, I have no idea how to do server work besides taking a backup. Only our owner and another administrator are experts in that area, so I'll have to wait for the other administrator to get online so he can check forum.php.
Lynne
07-23-2013, 04:19 PM
I wrote some widget code which shows them (although not in the same format). You'd have to convert it to forum block code though. And, if I recall, sometimes weird things will happen to the max users if it's done incorrectly, so that is something you would need to be aware of and probably want to make sure you test real well on a test site.
Amaury
07-23-2013, 04:35 PM
I wrote some widget code which shows them (although not in the same format). You'd have to convert it to forum block code though. And, if I recall, sometimes weird things will happen to the max users if it's done incorrectly, so that is something you would need to be aware of and probably want to make sure you test real well on a test site.
Do you use some sort of converter tool to convert it?
Lynne
07-23-2013, 07:48 PM
No, you need to do it yourself as there is no converter tool
Amaury
07-23-2013, 08:29 PM
No, you need to do it yourself as there is no converter tool
Which I have absolutely no idea how to do. :(
I wish I knew more coding skills.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.