Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Extra Details in Who's Online Details »»
Extra Details in Who's Online
Version: 1.00, by filburt1 filburt1 is offline
Developer Last Online: May 2007 Show Printable Version Email this Page

Version: 2.3.x Rating:
Released: 03-16-2003 Last Update: Never Installs: 24
 
No support by the author.

This adds extra details to the IP Address column of Who's Online; specifically, the user agent and the actual URL for each user.

Show Your Support

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

Comments
  #32  
Old 03-17-2003, 09:48 PM
Fi_InCogNiTo Fi_InCogNiTo is offline
 
Join Date: Jan 2003
Posts: 112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Same problem here. 2.2.9 also
Reply With Quote
  #33  
Old 03-18-2003, 12:19 AM
Sho Sho is offline
 
Join Date: Nov 2001
Location: Berlin, Germany
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Broekie,


in admin/sessions.php, find:

Quote:
$HTTP_USER_AGENT=substr($HTTP_USER_AGENT,0,50);
Replace with:

Quote:
$HTTP_USER_AGENT=substr($HTTP_USER_AGENT,0,100);
That'll show up to 100 characters. Of course, you'll have to set the field length of "useragent" in the "session" table to the same number.
Reply With Quote
  #34  
Old 03-18-2003, 12:36 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What is a good length to set it at?

And, Broekie, your fix works. Everything is right now. Thanks!
Reply With Quote
  #35  
Old 03-18-2003, 01:11 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 08:19 PM Sho said this in Post #32
Broekie,


in admin/sessions.php, find:



Replace with:



That'll show up to 100 characters. Of course, you'll have to set the field length of "useragent" in the "session" table to the same number.
That didn't seem to change it for the web robot though, just mine (no guests were on when I checked it).
Reply With Quote
  #36  
Old 03-18-2003, 01:21 AM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Filbert, what I would love to see in there is the referring page. Then, I could look at my guests and see where they came from. Possible?

Amy
Reply With Quote
  #37  
Old 03-18-2003, 02:13 AM
ScottRoberts ScottRoberts is offline
 
Join Date: Nov 2002
Location: Florida
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

2.2.9...can not seem to get the info to show....shows IP but no other info shows....any ideas
Reply With Quote
  #38  
Old 03-18-2003, 05:41 AM
Broekie's Avatar
Broekie Broekie is offline
 
Join Date: Dec 2001
Location: Netherlands
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

About the 2.2.9 compatability (or how ever you write that word ), I still use 2.2.8 and this hack works perfectly for me.

@Boofo: The useragent fix works with guests here too, except for the one which was allready on the site before I applied the fix (but now that that guest made a move the fix works with him/her too)
Reply With Quote
  #39  
Old 03-18-2003, 05:47 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It works fine here now, too. It must have been someone was logged on before I changed it. And I am running 2.2.9 and it works great here.

What would be a good limit to set for the length? I have 100 now but it seems like it might be a little long. And thanks again for the fix.
Reply With Quote
  #40  
Old 03-18-2003, 06:47 AM
Broekie's Avatar
Broekie Broekie is offline
 
Join Date: Dec 2001
Location: Netherlands
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The lengt of the useragent info depends on the useragent the client uses, and the info it submits. I just had a robot on my forum, and it had a useragent info of approx. 80 chars.

So I guess anything between 80 and 100 would be a nice number...

[edit]
here's the useragent info I'm talking about:
sitecheck.internetseer.com (For more info see: http://sitecheck.internetseer.com)
that's 81 chars...

[high]* Broekie sticks to the number 100
[/high]
[/edit]

[second edit]
just had one with 86 chars
[/second edit]
Reply With Quote
  #41  
Old 03-18-2003, 06:46 PM
techno techno is offline
 
Join Date: Nov 2001
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Still no worky worky for my 2.2.9... :disappointed: :disappointed:
Reply With Quote
Reply


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 08:06 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.10338 seconds
  • Memory Usage 2,304KB
  • Queries Executed 27 (?)
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
  • (3)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
  • (4)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_postinfo_query
  • fetch_postinfo
  • 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