vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   member online list on non Vb pages (https://vborg.vbsupport.ru/showthread.php?t=200446)

msnhockey 01-02-2009 05:59 PM

member online list on non Vb pages
 
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 It's meant to be used with either of these - How to create your own vBulletin-powered page! (uses vB templates) or [How-To] vBulletin API Basics: Creating Custom Pages & Misc.

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>:&nbsp;<?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


All times are GMT. The time now is 06:01 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
  • Page Generation 0.01983 seconds
  • Memory Usage 1,723KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete