vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   ipInfo -- Extra user IP information (https://vborg.vbsupport.ru/showthread.php?t=66824)

SaN-DeeP 10-17-2004 07:32 AM

anyway to restrict this hack to be used only by administrators ?
i want to disable this to be used by moderators and super-mods

Regards,

Techguy1 10-19-2004 09:52 PM

Quote:

Originally Posted by SaN-DeeP
anyway to restrict this hack to be used only by administrators ?
i want to disable this to be used by moderators and super-mods

Regards,

I would add a conditional to postbit:
PHP Code:

<if condition="$bbuserinfo[usergroupid] == 6">
// ipinfo.php URL
<else />
// regular URL
</if> 

Then, edit ipinfo.php
Find:
PHP Code:

if (!can_moderate($threadinfo['forumid'], 'canviewips')) 

Replace with:
PHP Code:

if ($bbuserinfo['usergroupid'] != 6


SaN-DeeP 10-20-2004 12:29 AM

Thank You Techguy1 for your help :)
I remember your site but not your ID

Regards,

alzibub 12-11-2004 04:30 PM

Great - this is just what I needed.
Thanks for the code :)

trevelyn1015 12-12-2004 07:01 AM

great hack... installed..

Widok 01-06-2005 04:40 PM

well done Jordeh, thanks
[high]* Widok clicks install ;) [/high]

Onkel_Tom, Thanx for
For instance the "proxy IP hack" Users can do a workaround.

Limey-YMR 01-06-2005 05:13 PM

I tried adding a location for Whos Online so that you don't just get "Unknown Location" but its not working out, I edited Includes/functions_online
though something is missing...

Dennis B 01-18-2005 07:02 PM

Installed, great hack, integrated with the proxy hack. :up:
Thanks.

chriswible 01-24-2005 01:30 PM

YES! I missed this so much when we migrated from phpBB. Poo, I actually just went through all the trouble of coding a hack like this one (stupid me, only looked in the admin section). Yours is far superior, though, so I'm using it instead. :p Thanks!

Skyline_GT 01-24-2005 06:08 PM

very nice..
will install this.

Megareus Rex 02-06-2005 04:46 AM

Great hack, invaluable to our war efforts :-p
(j/k, of course...>.>)

MrLovellz 02-26-2005 02:43 PM

Thanks alot :)

[high]* MrLovellz clicked install
[/high]

This is just what i was looking for, kinda a feature missed from phpBB when upgraded it to vB :D

The Piper 04-16-2005 04:59 PM

Quote:

Originally Posted by Limey-YMR
When perusing, "Who's online" users that are using ipinfo.php are flagged as being in an unknown location, and the syntax passed to ipinfo.php is shown.

I tested this on my vB 3.0.7 and it shows "Viewing index" instead. Can anyone please confirm this?

Also, would it be possible to make each of the IP addresses in the "All IPs for this user" clickable, and have another page with information on other users using those as well?

I figured it would be a nice way to cross-check data, specially if a user has a couple of hundreds of IP addresses.

Great hack, /install. Thanks!

PCOSLiving.com 07-15-2005 03:10 AM

bump :) Definitely would be useful for "smurf" detection.

Paul M 07-15-2005 04:31 AM

The author of this hasn't logged in for over 8 months, so it's doubtful bumping it will get very far.

PCOSLiving.com 07-16-2005 05:48 PM

Yeah, doh! I am running into some minor problems with this hack. Maybe someone else can give me some ideas. I installed the mod added the conditional statement, as per techguy, and ran into a little problem.
When I click on the ipinfo icon to see all of the ips rather than just the standard, i get a blank screen. Any ideas?
PCOS

Xplorer4x4 08-18-2005 10:01 PM

Any chance you will get this ported to 3.5 soon?? This was one of my favorite security feature hack there was for 3.0X.

I tried to install it and here is what I get:
Fatal error: Call to a member function on a non-object in /forums/ipinfo.php on line 81

Here is line 81 for reference. ;)

PHP Code:

 $users $DB_site->query(


Andy R 09-21-2005 12:44 AM

I just upgraded a site of mine and need this IP feature for v3.5. Anyone seen a good IP solution for 3.5. I twould be nice to have the proxy IP hack, member's sharing IPs and a link to geobytes all in one.

FWIW - I tried to search the v3.5 forum for IP but the term is too short. I viewed the threads but did not find any good IP tools for v3.5 yet.

Paul M 09-21-2005 03:02 AM

Proxy to real ip exists for 3.5, don't recall seeing any others.

Andy R 09-23-2005 02:13 PM

Quote:

Originally Posted by Xplorer4x4
Any chance you will get this ported to 3.5 soon?? This was one of my favorite security feature hack there was for 3.0X.

I tried to install it and here is what I get:
Fatal error: Call to a member function on a non-object in /forums/ipinfo.php on line 81

Here is line 81 for reference. ;)

PHP Code:

 $users $DB_site->query(


I get the same error. Can anyone help us debug this .php file so it will be 3.5 compatible. This tools is very important for sniffing out trolls and their alter egos...

Here is the rest of the code where the error is happening (of course you can download it all at the top of this thread, haha).
PHP Code:

// Search posts first
$users $DB_site->query("
  SELECT post.username, post.userid
  FROM " 
TABLE_PREFIX "post AS post
  WHERE post.ipaddress = '" 
$postinfo['ipaddress'] . "'
    AND post.userid != '" 
$postinfo['userid'] . "'
  GROUP BY post.username
  ORDER BY post.username ASC
"
); 


Zachariah 09-23-2005 02:20 PM

Ill look @ the hack and see what I can do for vb 3.5

Paul M 09-23-2005 04:32 PM

That'll save me the trouble then. :)

Zachariah 09-24-2005 06:47 PM

vb3.5 Ver.

https://vborg.vbsupport.ru/showthread.php?t=96834

Edit: 1 template
Upload: 1 file
Add: 3 templates

Zachariah 10-23-2005 07:21 PM

Shameless Plug

HOTM ? - Perhaps ?
https://vborg.vbsupport.ru/showthread.php?t=98444

ipInfo -- Extra user IP information (VB 3.5)

The VB3.0 Ver. made by Jordeh has 202 Installs.

I have a lot of use out of this. Thanks Jordeh.

mystic10 10-18-2007 09:47 PM

:( not working i am not sure what i did wrong

MickDoneDee 10-31-2007 02:31 AM

If your forum software version is 3.5.x or later you should use one of the hacks in the threads below:

ipInfo v. 1.2 for vBulletin 3.5.x

ipInfo v. 1.5 for vBulletin 3.6.x


All times are GMT. The time now is 09:36 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.01124 seconds
  • Memory Usage 1,775KB
  • 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
  • (6)bbcode_php_printable
  • (3)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
  • (26)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