I'm working on one file which contains all often requested features to be displayed on another page outside vbulletin...There are alot of files like: online users on another page, top threads on another page so I thought it would be better to make one big file that could all that, that would be integrated with vb's template-system and easily could be extended/upgraded to newer versions and more features..
It currently supports:
- number of threads
- number of posts
- number of members
- newest member
- todays birthdays
- online users
- threadslisting (nr and sorted by configurable)
- memberslisting (nr and sorted by configurable)
- forumslisting (nr and sorted by configurable)
All layouts are configurable through the vbtemplate area..
You can totally customize everything: You can choose what you wanna display, in which order and how..
No matter how many modules you load, global.php is included only once (php 4 required, if you have php3 there's a workaround on this).
I would like some feedback on this; Tips, requests etc...
It will be released within 1-2 weeks (depending on my spare time)
A sample page would look like:
PHP Code:
<html>
<head><title>Forum-Info</title></head>
<body>
<p>Latest 25 threads</p>
<?
$max = "25";
$action="topthreads";
include("vbextern.php");
?>
<p>Top 10 posters</p>
<?
$maxusers = 10;
$memberorder = "posts";
$action = "listusers";
include("vbextern.php");
?>
<p>Currently Online</p>
<?
$action = "onlineusers";
include("vbextern.php");
?>
</body>
</html>