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)

LuBi 08-26-2001 01:46 PM

Is 2.0.3 Version 2.0.0 beta 3? or version 2.0 beta 3? Because I have been looking for hacks and I have like all for for 2.0.3 and i mean so many others have so many more. thanks

tubedogg 08-26-2001 03:29 PM

2.0.3 == 2.0.3

This hack was released at the time of 2.0 beta 3 which was...erm...8? versions ago.

However it works fine with v2.0.3.

LuBi 08-26-2001 03:31 PM

lol thanks, well I never knew that. do all 2.0 beta 3 hacks work with 2.0.3 by any chance?

tweak 08-28-2001 03:17 AM

hmm i hope there will be one for VBB 2.0.1 or .3 Anyone here anything?

I tryed to add this hack to 2.0.3 but could find alot of the Code to replace.

tubedogg 08-28-2001 03:23 AM

There's no code to replace with this one...

tweak 08-28-2001 03:54 AM

Oppps sorry tubedogg let me reword that... I tryed to install the code.. but couldnt find where to add the New code..

I would look fo a Line and it wouldnt show up.. so i didnt know where to add it.

Sorry man

tubedogg 08-28-2001 03:59 AM

That's what I meant too - there's no code to add/replace/remove/anything, just two variables to set in the script itself and add a link to it from somewhere.

tweak 08-28-2001 04:43 AM

:p :D

BBInsider 08-28-2001 06:50 PM

Very new to this, you guys talk over my head, lol.
Would anyone be willing to give it a try on my board?
http://www.buffalobillsinsider.com/g...ard/index.php3

BilzD@aol.com
Thanks all!
:)

Ruth 08-29-2001 06:49 PM

what is the difference between this hack and the current active users in 2.0.3?

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

Oliver 09-09-2001 10:07 PM

i tried that and it worked, you can even put the info into a table

Is there anyway to turn the name to a hyperlink to that users last post?

AND

have an alternate colour for each name, as if you place the code in a sidebar, 120 px wide, some names wrap?

oli

kamrad.ru 10-01-2001 04:12 AM

I have a problem:

Warning: Undefined variable: regmembercomma in d:\usr\www\online.php on line 59

Warning: Use of undefined constant invisible - assumed 'invisible' in d:\usr\www\online.php on line 60

Warning: Use of undefined constant username - assumed 'username' in d:\usr\www\online.php on line 61

Warning: Undefined variable: regmemberson in d:\usr\www\online.php on line 61

Warning: Use of undefined constant guestsonline - assumed 'guestsonline' in d:\usr\www\online.php on line 78
Member(s) on: Admin. Guest(s) on: 0.

YourHostSucks 10-01-2001 08:03 AM

Thats Not a problem, it should still owrk fine ;)
(hehe)

your site is at d:\usr\www\?
Just doesn't look right..

kamrad.ru 10-01-2001 09:20 AM

<i>your site is at d:\usr\www\? </i>
It`s localhost

kamrad.ru 10-01-2001 01:00 PM

Why then there are these mistakes
How to me to get rid of them?

Dez_U 10-13-2001 04:27 PM

This may have been covered. But.

Can anyone tell me what to do to get the users on line on my forum at www.clanram.com/forum to show on my index page at www.clanram.com ??

I would like to do the same as http://www.finheaven.com

but I canny get the guy to answer me :)

Help much needed, thanks

Hooper 10-14-2001 01:51 AM

anyone know if this still works with 2.03?

Thank You.

paulsjv 10-18-2001 02:37 PM

does anyone have the template that vBulletin uses for their currently online page? Cause I would love to use it if possible.

Thanks...

codyrush 10-25-2001 04:31 AM

There should be the ability to edit the HTML within the last echo string. I want to just bold the numbers, but not the words "Guests" or "Members"... any way to do this? Everytime I try editing the code in online.php, I get a Parse Error.

Talk to me.

Thanks,
Cody Rush

Russ 11-05-2001 03:44 AM

anyone else having excessively large users online using this with 2.2.0?

Steve_S 11-05-2001 05:56 AM

Thanks much Dr. Tube :) Works fine with 2.2.0

See at:

http://www.geekvillage.com/last_25_posts.html

Note: This is another way to do an SSI include assuming your server is set up properly:

Code:

<!--#include virtual="/online.php"-->
Can I beg for more features :)

Lesane 11-06-2001 04:17 PM

Just installed the hack. Works perfect! Thnx Tube.

Kumaro 11-08-2001 01:23 AM

Can somebody please help me?

My site is ran by "Post-Nuke 6.4" and I chooce to 'include' the online.php, but it what it shows is all the coding inside online.php instead...help?

Logtenberg 11-10-2001 01:39 AM

Is there an easy way to just have the number of online users on any page of the forum? (just like what they did for vbulletin.org? look up)

twix 12-02-2001 12:36 PM

Great work, I just installed it, a demo can be seen on the bottom of the http://www.tosbaga.com]main page (sorry, its in turkish, but you get the idea).

Lionel 12-19-2001 03:50 AM

Can this be made so when you click on member name being displayed you go either to profile page or you send a PM?

EJMack 01-10-2002 05:44 AM

it would be nice for the names to link to there profile, but also would there be a way to have a scrollbar at the side?

FWC 01-10-2002 06:07 AM

Quote:

Originally posted by EJMack
it would be nice for the names to link to there profile, but also would there be a way to have a scrollbar at the side?
Change the $regmemberperson line to:
Code:

$regmemberson .= "<a href=\"http://www.yoursite.com/yourforums/member.php?action=getinfo&username=$regmember[username]\">$regmember[username]</a>";
That will give you links. Can't help you with the scrollbar. :)

EJMack 01-10-2002 05:45 PM

man i tried everything i could and its still not workin....

importmix 01-12-2002 03:51 AM

Quote:

Originally posted by Evoir
Tubedogg,

Thanks for the great hack. One question: is there a way to make the script simply output the total number of people on the boards, rather than seperating the members from the guests?

I'd like it to say: "there are currently x people on our boards."

Thanks again,
Evoir

I would like this too.


All times are GMT. The time now is 01: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.01408 seconds
  • Memory Usage 1,805KB
  • 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
  • (2)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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