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

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
  #42  
Old 03-18-2003, 06:48 PM
filburt1 filburt1 is offline
 
Join Date: Feb 2002
Location: Maryland, US
Posts: 6,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You're not helping because you're not telling me anything new. Are you using PHP 4.3.0 or later?
Reply With Quote
  #43  
Old 03-18-2003, 06:51 PM
techno techno is offline
 
Join Date: Nov 2001
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Using PHP v4.3.0 - MySQL v3.23.55
Reply With Quote
  #44  
Old 03-18-2003, 06:52 PM
filburt1 filburt1 is offline
 
Join Date: Feb 2002
Location: Maryland, US
Posts: 6,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No idea. Either I can't code or it's a 2.2.9 problem.

To whoever got this working: can you try to post revised instructions?
Reply With Quote
  #45  
Old 03-18-2003, 06:55 PM
techno techno is offline
 
Join Date: Nov 2001
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I dont think that it has anything to do with you not being able to code...I've seen lots from you.

The only thing I tried was the instructions in your text file. I didn't try any of the other stuff posted in this thread. I have several other hacks installed, I guess that could be screwing something up somewhere.
Reply With Quote
  #46  
Old 03-18-2003, 07:02 PM
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 02:52 PM filburt1 said this in Post #43
No idea. Either I can't code or it's a 2.2.9 problem.

To whoever got this working: can you try to post revised instructions?
Here you go (thanks to Broekie in this thread):

Quote:
2. In online.php, find:

$userinfo[$key][showemail] = $user[showemail];
$userinfo[$key][receivepm] = $user[receivepm];

After that, add:

$userinfo[$key]['useragent'] = $user['useragent'];
$userinfo[$key]['actualurl'] = $user['location'];

3. In online.php, find:

$guests[$count][lastactivity] = $user[lastactivity];


After that, add:

$guests[$count]['useragent'] = $user['useragent'];
$guests[$count]['actualurl'] = $user['location'];
Reply With Quote
  #47  
Old 03-18-2003, 07:06 PM
filburt1 filburt1 is offline
 
Join Date: Feb 2002
Location: Maryland, US
Posts: 6,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks

Instructions updated, thread moved to full releases.
Reply With Quote
  #48  
Old 03-18-2003, 07:10 PM
techno techno is offline
 
Join Date: Nov 2001
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

WooHoo!!

You guys rule. Thanks for the help!!
Reply With Quote
  #49  
Old 03-19-2003, 01:15 AM
techno techno is offline
 
Join Date: Nov 2001
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

got a questions for ya's. If someone had hotlinked an image, and the person viewing the image appeared as a guest on my online.php (it has happened) would the location that the hack shows be the pic that was being linked to, or the site that the user is linking from?

If it's not the site the pic is being linked from, is there a way to make this happen?

The reason I am asking is because my host dont allow htaccess files. And I dont think an htaccess file would work for an avatar or an attached file....but this hack makes it look promising.

If this post is hard to understand, I'll try and explain myself a little better tommorrow when I am a little less innebriated.
Reply With Quote
  #50  
Old 03-19-2003, 01:31 AM
filburt1 filburt1 is offline
 
Join Date: Feb 2002
Location: Maryland, US
Posts: 6,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The Actual URL will be the exact URL that the person is trying to access. It won't show standalone images but it should show attachments.
Reply With Quote
  #51  
Old 03-19-2003, 01:34 AM
techno techno is offline
 
Join Date: Nov 2001
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So it would show the URL of the image. In a case like that, is it possible to show where the image is being linked from?
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 08:45 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.07688 seconds
  • Memory Usage 2,294KB
  • 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
  • (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
  • (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_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