vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Adding Currently Active Users to template (https://vborg.vbsupport.ru/showthread.php?t=39811)

ChillyBob 06-13-2002 01:12 PM

Adding Currently Active Users to template
 
1 Attachment(s)
I have altered my error_nopermission_loggedout template to look like the attached image. This is the default page guests will see when they go to my site.

I would like to allow people to see how many currently active users are online. There should be a number where the arrow is pointing (on the attached image) I tried putting $totalonline but that obviously doesn't work. I saw a hack that uses either PHP or SSI but I don't think either of them work in the template.

Does anyone know hoe I can do this?

ChillyBob 06-15-2002 07:01 PM

Is this not possible then? :cry:

GuruXL 06-15-2002 11:28 PM

i will have a solution in a few minutes

GuruXL 06-15-2002 11:32 PM

PHP Code:

<nobr>There are currently  $numberregistered members and $numberguest guests on the boards.</nobr

add that to the "error_nopermission_loggedout" template, where you have the "Current Users Online"

Hope that helps, cheers

ChillyBob 06-16-2002 09:41 AM

Thanks for your time but the $whatever remarks don't seem to work.

GuruXL 06-16-2002 11:02 PM

hmm...i will look into this..see what I can come up with...


All times are GMT. The time now is 07:00 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.01374 seconds
  • Memory Usage 1,716KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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