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
Resolve IPs only on demand Details »»
Resolve IPs only on demand
Version: 1.00, by filburt1 filburt1 is offline
Developer Last Online: May 2007 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 05-15-2002 Last Update: Never Installs: 17
 
No support by the author.

The biggest problem I've had with the Who's Online is the resolving IPs. If you set the admin CP option for it to on, then they all get resolved and it makes the page load very slowly. If you turn it off, then you have to tracert the thing yourself.

With this hack, the IP in Who's Online (if you're a mod/supermod/admin) will be clickable. Clicking it will open up a new window that resolves the IP, if it can.

A screenshot's in the next post once I post the hack itself here. I tested it on my version of vBulletin (a highly hacked 2.2.3) but it should work on practically any 2.x.x board, although I'd recommend 2.2.x.

If you want support for the hack, just post here.

Enjoy!

Show Your Support

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

Comments
  #12  
Old 05-16-2002, 06:36 PM
filburt1 filburt1 is offline
 
Join Date: Feb 2002
Location: Maryland, US
Posts: 6,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I can only get the 2.2.5 install files though

No file edits are needed, just a file upload and template edits, so it should be safe anyway
Reply With Quote
  #13  
Old 05-16-2002, 06:37 PM
wooolF[RM]'s Avatar
wooolF[RM] wooolF[RM] is offline
 
Join Date: Jan 2002
Posts: 524
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

]oki
Reply With Quote
  #14  
Old 05-16-2002, 07:05 PM
filburt1 filburt1 is offline
 
Join Date: Feb 2002
Location: Maryland, US
Posts: 6,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well for some reason vbHackMaker is butchering up my quotes: when doing the template it does this:
Code:
<a href=\"javascript:resolveip(\'$userinfo[ipaddress]\')\">$userinfo[ipaddress]</a>
In the file it looks like that, but when I use vbHacker to try installing the hack it actually dumps that in the whosonlinebit_ip template. If somebody wants to try (it's my first time working with vbHackMaker) then be my guest...
Reply With Quote
  #15  
Old 05-16-2002, 07:34 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works like a charm. Thanks! I don't know why you would want to bother will porting it to vbhacker, though. It would take longer to run that than to do the 2 minor template edits and upload the file. If I can install it without messing it up, then anybody can!
Reply With Quote
  #16  
Old 05-17-2002, 05:46 PM
filburt1 filburt1 is offline
 
Join Date: Feb 2002
Location: Maryland, US
Posts: 6,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's just that most people like vbHacker (I would too if I bothered to upgrade my board with its tons of hacks), but you're right, it would probably be more effort to use vbHacker
Reply With Quote
  #17  
Old 05-17-2002, 05:54 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've used vbhacker on some of my installed hacks and it works great for the bigger hacks, but something as little as this is, it really isn't worth the time and trouble for you to mess with it. You dun good!
Reply With Quote
  #18  
Old 05-18-2002, 12:51 AM
filburt1 filburt1 is offline
 
Join Date: Feb 2002
Location: Maryland, US
Posts: 6,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I uploaded a new version: this one will say so if the IP will not resolve.
Reply With Quote
  #19  
Old 06-02-2002, 08:26 AM
ixian's Avatar
ixian ixian is offline
 
Join Date: Oct 2001
Location: Denver, CO
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack! Thank you! Browsing who's online is much faster now.

Have it working no problem in 2.2.6. BTW, I wouldn't bother with a vbhacker version, this is one of the easiest hacks I have installed.
Reply With Quote
  #20  
Old 06-06-2002, 02:48 AM
filburt1 filburt1 is offline
 
Join Date: Feb 2002
Location: Maryland, US
Posts: 6,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This latest version adds two cool new features. If the IP could be resolved, then a link to the (guessed) ISP home page and a link to abuse@ispdomanname is provided. Pretty fun if somebody is spamming your board and you can open your mail client to their abuse e-mail address in two clicks.

To install the update just overwrite resolveip.php with the new one.
Reply With Quote
  #21  
Old 06-06-2002, 04: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

I changed this part of your file to reflect the www that might be needed for most ISPs.

Code:
<a href=\"javascript:go('http://www.$suffix')\">$suffix</a>
When I tried it with the original updated file here, it gave me a page not found error. But after adding the www, it found it fine. Great addition!

Quote:
Originally posted by filburt1
This latest version adds two cool new features. If the IP could be resolved, then a link to the (guessed) ISP home page and a link to abuse@ispdomanname is provided. Pretty fun if somebody is spamming your board and you can open your mail client to their abuse e-mail address in two clicks.

To install the update just overwrite resolveip.php with the new one.
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 10:06 AM.


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.04599 seconds
  • Memory Usage 2,307KB
  • 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_code
  • (1)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