vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Who's online on non-vB page (with usernames) (https://vborg.vbsupport.ru/showthread.php?t=12010)

jcroft 08-29-2001 08:42 PM

Has anyone modified this hack for use in a sidebar...with like a vertical list of the online users, with links to their profiles? If so, would you mind sharing your code? :D

Thanks,
Jeff Croft
forums.newbeetle.org

Bytes 08-30-2001 12:31 AM

Just installed your online.php. Works like a charm!!!!!!!! ;)

Thanks!

Mike Gaidin 08-30-2001 01:00 AM

Yes, I'm looking for a sidebar version as well. :)

Robouk 09-05-2001 02:09 PM

ok what happns if the path to your admin is on another server?
so you want to include who's online from your forum which is hosted elsewhere to your homepage, you see?

Robouk 09-05-2001 02:13 PM

its ok, i just insatlled the hack ontio the forums server and use php includes to include it onto my homepage, thanks!

Oliver 09-07-2001 04:12 PM

how`d u do that robouk <sp> exactly?

please tell cause our board is on a completly different host, and i want online users on our main website.

i tried diferent variations, but to no avail.

what should the ssi call be?
where do i upload online.php, which server?

cheers
oli

Robouk 09-07-2001 09:44 PM

upload online.php to the forums server and make it all work ok, then on you other website, use PHP INCLUDES to include it into your website...
you can see my version here:
http://robouk.gdesign.nl/v3/page.php

Oliver 09-08-2001 10:49 AM

Can SSI calls include files from another server,

<--!include file="http://anotherhost.com/online.php"-->

OR

<--!include virtual="http://anotherhost.com/online.php"-->

the page i want online members to be on is *.shtml on a different server.

Help anyone?

oli

Robouk 09-08-2001 12:22 PM

As far as i know SSI can only be used with files on the same server, but Includes can include files from anywhere..

James Cridland 09-08-2001 02:24 PM

Quote:

Originally posted by jcroft
Has anyone modified this hack for use in a sidebar...with like a vertical list of the online users, with links to their profiles? If so, would you mind sharing your code? :D
Not running this - yet, at any rate. But looking at the code...

FIND
$regmemberson .= ", ";
REPLACE WITH
$regmemberson .= "<br>";

FIND
echo("Member(s) on: $regmemberson. Guest(s) on: $guestson.");
REPLACE WITH
echo("Member(s) on:<BR>$regmemberson.<BR>Guest(s) on:<BR>$guestson.");

My understanding of the code is that this should produce:

Member(s) on:
Hammer
Friend
JDoe
JBloggs.
Guest(s) on:
8.

Should be easy to program that as a configuration option; I'd fix "Member(s)" to work properly too, to be honest... not a difficult thing.

J


All times are GMT. The time now is 10:59 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.01286 seconds
  • Memory Usage 1,733KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete