Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4274
Latest: kellanphil
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43645
Total Topics: 7572
Most Online Today: 202
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 183
Total: 183

Author Topic: IP Tracking Mod  (Read 3696 times)

0 Members and 1 Guest are viewing this topic.

Offline aciage

  • Bad Emails DO NOT EMAIL
  • Member
  • *
  • Posts: 1
    • View Profile
IP Tracking Mod
« on: May 11, 2010, 01:24:35 pm »
I'm not sure how to compile a Modification Package, but maybe someone can take this crap and compile it or something.

This is for SMF 2.0 RC3... I have no idea if it'll work with earlier versions. Thanks.

Open ./Sources/Profile-View.php

Find:
Code: [Select]
'arin' => array(
'name' => $txt['whois_arin'],
'url' => 'http://ws.arin.net/whois/?queryinput=' . $context['ip'],
'range' => array(7, 24, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 96, 97, 98, 99,
128, 129, 130, 131, 132, 134, 135, 136, 137, 138, 139, 140, 142, 143, 144, 146, 147, 148, 149,
152, 155, 156, 157, 158, 159, 160, 161, 162, 164, 165, 166, 167, 168, 169, 170, 172, 173, 174,
192, 198, 199, 204, 205, 206, 207, 208, 209, 216),
),

Add after:
Code: [Select]
'myiptest' => array(
'name' => $txt['whois_myiptest'],
'url' => 'http://www.myiptest.com/staticpages/index.php/IP-Lookup/' . $context['ip'],
'range' => array(7, 24, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 96, 97, 98, 99,
128, 129, 130, 131, 132, 134, 135, 136, 137, 138, 139, 140, 142, 143, 144, 146, 147, 148, 149,
152, 155, 156, 157, 158, 159, 160, 161, 162, 164, 165, 166, 167, 168, 169, 170, 172, 173, 174,
192, 198, 199, 204, 205, 206, 207, 208, 209, 216),
),

Open ./Themes/default/languages/Profile.english.php

Find:
Code: [Select]
$txt['whois_arin'] = 'ARIN (North America, a portion of the Caribbean and sub-Saharan Africa)';

Add after:
Code: [Select]
$txt['whois_myiptest'] = 'MyIPTest (North America, a portion of the Caribbean and sub-Saharan Africa)';
« Last Edit: May 11, 2010, 01:33:02 pm by aciage »

 

Related Topics

  Subject / Started by Replies Last post
4 Replies
6407 Views
Last post March 04, 2008, 02:29:16 am
by thehawk
4 Replies
6362 Views
Last post February 03, 2010, 09:53:36 am
by SMFHacks
9 Replies
7498 Views
Last post January 06, 2012, 02:53:02 pm
by webdzr
7 Replies
9409 Views
Last post June 03, 2016, 08:02:08 pm
by SMFHacks
3 Replies
5472 Views
Last post January 12, 2017, 09:56:50 am
by SMFHacks

+- Recent Topics

Ability to exclude categories from ezPortal SMF Gallery random image ezblock by Alistair
Today at 08:20:13 am

How to move SMF to new server by SMFHacks
January 21, 2025, 08:45:53 pm

Figuring out settings by SMFHacks
January 12, 2025, 04:56:14 pm

Filesizes incorrect by SMFHacks
January 12, 2025, 02:02:47 pm

December 2024 Sale! by SMFHacks
December 02, 2024, 10:30:38 pm

Denying members some admin settings by rickk
November 17, 2024, 12:02:55 pm

Weird setup by SMFHacks
November 07, 2024, 06:37:41 am

Restoring a deleted photo by Monocero
November 01, 2024, 04:23:56 am

Gallery Pro reinstalation by Lirorobert
October 14, 2024, 01:43:43 am

Move picture from main gallery to user gallery by SMFHacks
October 11, 2024, 09:11:00 pm

Powered by EzPortal