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)
-   -   [Release v2.0.3] Show both IP name and IP address; link IP to search for other users (https://vborg.vbsupport.ru/showthread.php?t=24901)

JJR512 08-07-2001 10:00 PM

vB 2.0.3 has a new Who's Online feature that can show you what the online people are actually doing. Part of this feature includes the ability for authorized people to see the IP address of each person. The IP display is a switchable feature that can show you either the numeric address (the four groups of numbers), or it can show you the resolved address, which is a text-based version of the address, from which you can usually tell who is the ISP and the general physical location of the computer using that address.

For some reason, I decided that I wanted to see both the number and the name at the same time. I also thought it would be neat if you could click on the address (as a link) and it would search for everyone who had ever used that address. Since that functionality is already built in to vB, I knew it was a simple matter of creating the link.

So without further ado, here are the instructions. I've attached them as a text file. Good luck! :)

jucs 08-09-2001 09:41 PM

This has a problem when I installed it. I clicked on the link of the IP # and it does pull up the IP lookup, but that's it. Only the form comes up. It does not do the search for other users per the IP you clicked on.

JJR512 08-09-2001 10:28 PM

When you point to the link, before you click on it, check the address that appears in the status bar. If the address, at the end, contains the named address (not the numeric address), then you need to switch the variables in the template. In other words, switch the 1 with the 2, inside the [ipaddress] parts.

jucs 08-09-2001 10:30 PM

The address of the link at the end has the numeric address. And, it still does not work.

I used your template change (the last one in the text file) verbatim.

I made the changes in the text file 'exactly' as you specified them.

JJR512 08-09-2001 10:37 PM

Next two things for me to check. 1. Did you also make the online.php files exactly as specified? 2. Are you using 2.0.3? Your profile says 2.0.2. I have only tested on .3; I think this feature is the same in .2 and .3, but am not 100% sure.

Is anyone else having a problem with this?

Axel Foley 08-10-2001 06:53 PM

Thanks for the hack...

It works great.

As soon as I installed it I had the same problem, only the search form appeared. But then I discovered the problem:

- When the IP searched isn't in the db only the form appears

- when an IP is found in the DB, the found records appear on top and under them the form

So when no records are found the space above the form is empty.

Hope I've helped you catch the problem...:D

Thanks for your work...


...Axel

jucs 08-11-2001 07:11 AM

Quote:

Originally posted by JJR512
Next two things for me to check. 1. Did you also make the online.php files exactly as specified? 2. Are you using 2.0.3? Your profile says 2.0.2. I have only tested on .3; I think this feature is the same in .2 and .3, but am not 100% sure.

Is anyone else having a problem with this?


1. Yes.
2. Yes, I updated my profile.

JJR512 08-11-2001 04:28 PM

jucs, did what Axel Foley said help you at all...I mean, are you sure you're searching for an IP that exists in the database? In other words, if you copy the IP to the admin control panel and search for it there, do you get results?

jucs 08-12-2001 07:12 PM

I clicked on the IP for the user. It has to exist. It was the IP from the Online listing.

Freddie Bingham 08-12-2001 07:55 PM

It only exists if a user has posted from that IP.


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

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.01206 seconds
  • Memory Usage 1,729KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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