Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
Who's Online In Admin CP Details »»
Who's Online In Admin CP
Version: 1.00, by NTLDR (Coder) NTLDR is offline
Developer Last Online: Oct 2004 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 08-31-2002 Last Update: Never Installs: 57
 
No support by the author.

Who's Online In Admin CP
Version 1.0


This thread inspired and reminded me that I wanted to make the who's online page avalible in the Admin CP.

This hack display's a table at the top of the home page in the Admin CP, see screenshot in the next post

I will be adding in the IP and hopefully the locations in the next version

File Edits: 1

If you use this hack please click install

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 09-02-2002, 12:50 PM
NTLDR's Avatar
NTLDR NTLDR is offline
Coder
 
Join Date: Apr 2002
Location: Bristol, UK
Posts: 3,644
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #13  
Old 09-02-2002, 01:00 PM
NTLDR's Avatar
NTLDR NTLDR is offline
Coder
 
Join Date: Apr 2002
Location: Bristol, UK
Posts: 3,644
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #14  
Old 09-02-2002, 01:10 PM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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]
Reply With Quote
  #15  
Old 09-04-2002, 07:38 PM
Tim Wheatley's Avatar
Tim Wheatley Tim Wheatley is offline
 
Join Date: Nov 2001
Location: England
Posts: 489
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...??
Reply With Quote
  #16  
Old 09-04-2002, 08:35 PM
NTLDR's Avatar
NTLDR NTLDR is offline
Coder
 
Join Date: Apr 2002
Location: Bristol, UK
Posts: 3,644
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's a slimline version of the who's online page, but will also show who's in the Admin CP
Reply With Quote
  #17  
Old 09-04-2002, 10:32 PM
Tim Wheatley's Avatar
Tim Wheatley Tim Wheatley is offline
 
Join Date: Nov 2001
Location: England
Posts: 489
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any change you could make a small mod for me?

So that this just shows who's in the cp when you're there.
Reply With Quote
  #18  
Old 09-08-2002, 03:31 AM
Tony G's Avatar
Tony G Tony G is offline
 
Join Date: Nov 2001
Location: Melbourne, Australia
Posts: 8,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just installed, great work.
Reply With Quote
  #19  
Old 09-11-2002, 03:08 AM
Bison's Avatar
Bison Bison is offline
 
Join Date: Jun 2002
Location: Virginia Beach, Virginia
Posts: 522
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #20  
Old 09-11-2002, 05:35 PM
NTLDR's Avatar
NTLDR NTLDR is offline
Coder
 
Join Date: Apr 2002
Location: Bristol, UK
Posts: 3,644
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #21  
Old 09-28-2002, 07:46 PM
Dan Flynn's Avatar
Dan Flynn Dan Flynn is offline
 
Join Date: Nov 2001
Location: Crown Point, IN
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:04 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05324 seconds
  • Memory Usage 2,304KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete