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)
-   -   Number of online users in header / footer! (https://vborg.vbsupport.ru/showthread.php?t=33048)

Lucky 02-26-2002 11:04 PM

[QUOTE]Originally posted by Lucky
Now I just need it to work on my non vb index.php page.
Any ideas?

5861king 02-28-2002 09:42 PM

Does this hack work on VB 2.2.2 , coz it will not work for me I get this error message.

Database error in vBulletin 2.2.2:

Invalid SQL: SELECT count(DISTINCT(userid)) AS count FROM session WHERE session.userid>0 AND session.lastactivity>1014938748
mysql error: You have an error in your SQL syntax near 'DISTINCT(userid)) AS count FROM session WHERE session.userid>0 AND session.lasta' at line 1

mysql error number: 1064

Tim Wheatley 03-18-2002 02:42 PM

Works with 2.2.4 - thanks :)

Decoder 03-30-2002 04:44 AM

ok
i'm realy confused
all i want to do is all the online users to a box in my main page

what code do i need to do this???
and i need to make it call to a separete URL since my boards are on a subdomain

Decoder 04-08-2002 03:53 AM

bump

Vivi Ornitier 04-08-2002 04:10 AM

Now is this possible to do on a non-vb page? I've been wanthing this for my main page, not any forums page. Any suggestions?

FleaBag 05-21-2002 12:48 PM

Why does this thread say that you have to edit a file, when the hack install instructions just tell you to add code to your phpinclude template?

Smalley 05-25-2002 05:40 PM

i put it from the first time and it's work ok with me with $headeronline :)

FleaBag 05-28-2002 12:13 AM

Same question once more.

James Cridland 06-09-2002 01:23 PM

[QUOTE]Originally posted by FireFly
Very easy to install, only to edit one file - global.php

weallgoboing 10-06-2002 11:40 AM

Is there a way for this to work on a front page.

I use a non-vb front page (but php with pluhnews).

I would quite like to display the user infor on the front page a la vbportal.

freakyshiat 10-06-2002 08:07 PM

Is there a way to include that code in forumdisplay.php and not phpinclude?

Mono 10-06-2002 10:49 PM

Works well thank you.

Link14716 10-07-2002 12:18 AM

[QUOTE]Originally posted by Fazle
Is there a way to include that code in forumdisplay.php and not phpinclude?

freakyshiat 10-07-2002 05:16 AM

[QUOTE]Originally posted by Link14716


phpinclude is not a page. phpinclude is included in all pages! ;)

FleaBag 10-11-2002 10:45 PM

Working a dream on 2.2.7, thanks FireFly! :)

FleaBag 10-29-2002 07:53 PM

Working with 2.2.8. :)

James Cridland 11-10-2002 04:56 PM

You probably want to update the first post here.

It says:
Quote:

Very easy to install, only to edit one file - global.php (in the forums folder, not admin nor mod folders!).
Instructions attached to this post.
...but actually, you don't need to edit any files, according to the instructions attached... just edit a template. Which makes it even better, of course.

glo 03-20-2003 10:51 PM

Has anyone been abel to use this in 2.2.9 or is this a standard feature in 2.3.0?

I am also looking for a way to include guests and members on nonVB pages in the "XX Online users" on a non VB page!

Any comments or help is greatly appreciated.

Xyphen 04-05-2003 01:35 AM

chen, your the greatest!!

glo 04-25-2003 09:38 AM

[QUOTE]03-21-03 at 10:51 AM glo said this in Post #59
Has anyone been abel to use this in 2.2.9 or is this a standard feature in 2.3.0?

I am also looking for a way to include guests and members on nonVB pages in the "XX Online users" on a non VB page!

Any comments or help is greatly appreciated.

Koutaru 05-16-2003 08:29 AM

it's not a standard feature, it's still a hack

afterglow 08-30-2003 02:59 AM

Does this hack work on ver. 3.0 RC5? Please i need an update on this one.

regards,
afterglow

KuraFire 08-30-2003 09:35 AM

You can just put the code in the phpinclude_start template on vB3 beta 5, and it will work.

Edison Chen 06-10-2004 11:48 AM

Installed. ;)


All times are GMT. The time now is 11:30 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.02039 seconds
  • Memory Usage 1,756KB
  • 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
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (25)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