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 In Admin CP (https://vborg.vbsupport.ru/showthread.php?t=43060)

NTLDR 09-02-2002 12:50 PM

Quote:

Originally posted by joecool
Hey.. great improvement over my hack ;)
Thanks :) You post inspired me to do this like I have been meaning to do for months :D

NTLDR 09-02-2002 01:00 PM

Quote:

Originally posted by g-force2k2
just on a side not you could accomplish the same effect simply by creating linkage to the who's online file and call it straight from the forum ;)
True, I did think of that, but this way, helps increase my PHP knowlage as well as using the CP colours. Also that way would require lots of modifications to online.php to make the links correct and to remove the the requirement of global.php;)

Link14716 09-02-2002 01:10 PM

I had some cosmetic issues to say the least, but fixed i by adding the code above
Code:

doformheader("user","find");
instead of replacing that with the WOL code.

[high]* Link14716 clicks install.[/high]

Tim Wheatley 09-04-2002 07:38 PM

This is a slimline version of whos online? So does it just show whos in the admin cp or the whole forum + the admin cp... I'm not sure that was answered...?? :D

NTLDR 09-04-2002 08:35 PM

It's a slimline version of the who's online page, but will also show who's in the Admin CP

Tim Wheatley 09-04-2002 10:32 PM

Any change you could make a small mod for me?

So that this just shows who's in the cp when you're there.

Tony G 09-08-2002 03:31 AM

Just installed, great work. :)

Bison 09-11-2002 03:08 AM

I like that iframe view ... the thing I don't grab from this one is that it doesn't reveal the location of the user ... or am I forgetting to do something here!

This part of the code seems to be set to where you want people to show up in the location area:

if ($online[location] = " ") {
$online[location] = "Control Panel";
}
if ($online['usergroupid'] == 6) {
$username = "<b><i>$online[username]</i></b>";
} else if ($online['usergroupid'] == 5) {
$uusername = "<b>$user[username]</b></font>";
} else {
$username = $online[username];

I rather it tell me where they actually are, instead of a static "control panel" location entry. One other thing that noticed when I tested was that it repeated the user names (made duplicates) of users in the same window. I was only logged in once and it showed me and other users as being logged in twice!

Sorry, but it didn't workout for me.

NTLDR 09-11-2002 05:35 PM

The static location Control Panel appears as there arn't any locations for users within the Admin CP, the DB entry for location when in the ACP is blank. Users appearing multiple times is due to multiple current sessions within the DB for the user, like after you have just logged into the ACP.

Dan Flynn 09-28-2002 07:46 PM

I'm getting this in the admin. Doesn't seem right. I'm in there several time s and we're all located in the control panel. I checked mydomain/online.php and that seems to be working fine.

Maybe you answered this above not sure!

Ant help????

Thanks


All times are GMT. The time now is 05:46 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.01086 seconds
  • Memory Usage 1,734KB
  • 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_code_printable
  • (2)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
  • (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