View Full Version : member online list on non Vb pages
msnhockey
01-02-2009, 05:59 PM
I am looking for help or some to create something to display a list of all current members on a non Vb page.
Maybe include There are ?? memers online
also looking for (total count only)
Total Members:
Active Members:
newest member:
I already have Total Threads and posts.
Please write here or send a PM.. I can send donation for this as well
thanks
mike
Lynne
01-02-2009, 08:08 PM
Did you read this article - Adding Currently Active Users to your own vB page (https://vborg.vbsupport.ru/showthread.php?t=187388) It's meant to be used with either of these - How to create your own vBulletin-powered page! (uses vB templates) (https://vborg.vbsupport.ru/showthread.php?t=62164) or [How-To] vBulletin API Basics: Creating Custom Pages & Misc. (https://vborg.vbsupport.ru/showthread.php?t=98009)
msnhockey
01-02-2009, 08:32 PM
i sure did, and tried a few things, but can't get anything to work
Lynne
01-02-2009, 08:39 PM
Why don't you post your code so far (use the code/php/html tags) and we can see what you did wrong.
msnhockey
01-02-2009, 09:01 PM
here is most....
<?php
$curdir = getcwd ();
chdir('/webroot/s/n/snaps/www/forum');
require_once('/webroot/s/n/snaps/www/forum/global.php');
require_once(DIR . '/includes/functions_bigthree.php');
chdir ($curdir);
?>
<?php
activeusers = '';
if (($vbulletin->options['displayloggedin'] == 1 OR $vbulletin->options['displayloggedin'] == 2 OR ($vbulletin->options['displayloggedin'] > 2 AND $vbulletin->userinfo['userid'])) AND !$show['search_engine'])
{
$show['loggedinusers'] = true;
}
else
{
$show['loggedinusers'] = false;
}
?>
<h1>Logged in Users</h1> <a href="online.php<?php echo $session[sessionurl_q]; ?>" rel="nofollow">
<?php echo $vbphrase[currently_active_users]; ?></a>: <?php echo $totalonline; ?> <div>
<?php echo $activeusers; ?></div>
Lynne
01-02-2009, 11:26 PM
You didn't add any of the code listed in the article.
Also, please use the coding tags around your code so it is easier to read.
msnhockey
01-03-2009, 12:20 AM
i have a coder working on it for me... i just don't understand the coding of vbulletin.
I did get some of it to work by taking pieces out of index.php and online.php
msnhockey
01-08-2009, 10:34 PM
hey,
I have a working version 2 ways with this member online and site stats to display on a NON- Vb page.
check it out at www.snapshot-hockey.net
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.