vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Help with WHo's online please! (https://vborg.vbsupport.ru/showthread.php?t=62616)

Pricyber 03-17-2004 10:42 PM

Help with WHo's online please!
 
Ok, I am trying to get the who's online that shows up on Vb down at the bottom to show up on my main html/php homepage.

Is there any code i can use to make that happen? Also, is there a way i can make the names show up as well? If not the names then who's all online will work. Thank you soooo much!

Pricyber 03-18-2004 09:07 PM

Is there no one that can rip the code from vb??

SmEdD 03-18-2004 09:59 PM

Download a portal and look at it ;) Hell just look near the bottom of index.php for your foums.

Pricyber 03-18-2004 10:26 PM

ok, see this is my problem, i dont know what im looking for. There is all this coding that has to do with Who's online, i'm not sure which to grab.

I have the code

<?
include('./global.php');
(coding goes here)
<?

How am i supposed to do this?

SmEdD 03-18-2004 10:43 PM

Just start doing trial and error, rip a bit of code out and if it don't work try another peice, etc

Pricyber 03-18-2004 10:52 PM

see though thats my point... where does the code start, and were does it end? Also i get errors because my global cant find my config... because i have my forums in a different directory other than Public_html...

SmEdD 03-19-2004 03:07 AM

PHP Code:

// ### LOGGED IN USERS ################################################# 

you should read the orange once and a while.

and this code will fix the global.php thing.

PHP Code:

chdir('/root/path/to/your/forums');
require_once(
'./global.php'); 


Zachery 03-19-2004 06:58 AM

Quote:

Originally Posted by SmEdD
PHP Code:

// ### LOGGED IN USERS ################################################# 

you should read the orange once and a while.

and this code will fix the global.php thing.

PHP Code:

chdir('/root/path/to/your/forums');
require_once(
'./global.php'); 


i think you might be able to

chdir('/root/path/to/your/forums');
require_once('./index.php');


and call the template but im not sure :)

filburt1 03-19-2004 07:11 PM

Pricyber,

You are currently showing up as unlicensed. To be able to download hacks and/or receive support here at vBulletin.org, we ask you to please click here (vB-germany users click here) and enter your email address, to show us that you are licensed.

You will need to use your customer number and password (which will be in the email you got when you paid for your license) to access that page. Please note that your email is case sensitive.

Thank you.

SmEdD 03-19-2004 08:00 PM

Quote:

Originally Posted by Zachery
i think you might be able to

chdir('/root/path/to/your/forums');
require_once('./index.php');


and call the template but im not sure :)

If you called the index.php files that would add addition queries and code ;) Also Zach you should always use [ PHP ] and [ CODE ] tags, thus keeping unlicenced users from viewing :)


All times are GMT. The time now is 03:19 PM.

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.01209 seconds
  • Memory Usage 1,729KB
  • 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
  • (4)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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