![]() |
User(+Forum?)Stats on a NON-VB Page!
UserStats on a NON-VB Page!
and if possible ForumStats like: Currently Active Users: 145 (47 members and 98 guests) Threads: 37,933 Posts: 359,546 Members: 51,820 Newest member: YBnormal can anyone make this mini-mod plz! thnx, JaCky |
bump
|
[sql]
select * from datastore where title='userstats' [/sql] Unserialize this and you will have an array with entries numbermembers, newusername and newuserid. [sql] select * from datastore where title='forumcache' [/sql] Unserialize this which will give you an multi-dimensional associative array with all forum information. Loop through this array and accumulate threadcount and replycount. 'Who is online' is a bit more complicated. Take a look at index.php after PHP Code:
|
so? how will it be when i make just one single forumstats.php page?
do i need to use includes n stuff? |
I too am trying to put who is online on a non vb page, Have tryed many things, with little progress, how bout a hand...
|
try this... it works for vb 3.5.x
PHP Code:
HTML Code:
Visitors Online: <strong><?=$total_online;?></strong><br> |
All times are GMT. The time now is 12:34 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|