Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4216
Latest: ezycc
New This Month: 0
New This Week: 2
New Today: 0
Stats
Total Posts: 42796
Total Topics: 7456
Most Online Today: 54
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 35
Total: 35

Author Topic: IP Tracking Mod  (Read 2869 times)

0 Members and 1 Guest are viewing this topic.

Offline aciage

  • 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
5378 Views
Last post March 04, 2008, 02:29:16 am
by thehawk
4 Replies
5049 Views
Last post February 03, 2010, 09:53:36 am
by SMFHacks
9 Replies
5982 Views
Last post January 06, 2012, 02:53:02 pm
by webdzr
7 Replies
7663 Views
Last post June 03, 2016, 08:02:08 pm
by SMFHacks
3 Replies
4269 Views
Last post January 12, 2017, 09:56:50 am
by SMFHacks

+- Recent Topics

Using SMF's Built-in Search Algorithm by shuban
March 27, 2023, 09:15:10 am

Permissions query by davejo
March 26, 2023, 04:43:48 am

prettyurls - TroubleShooting.wiki by SMFHacks
March 25, 2023, 01:49:35 pm

Download Gallery Option by SMFHacks
March 23, 2023, 09:34:02 am

Lost attachments by pete
March 22, 2023, 10:24:17 am

Additional Permissions by mickjav
March 18, 2023, 05:21:23 am

[Mod]Discord Web Hooks by SMFHacks
March 17, 2023, 08:48:30 am

Site upgrade to 2.1 by SMFHacks
March 12, 2023, 08:51:19 am

Theme/CSS design wanted by mickjav
March 11, 2023, 12:10:11 pm

Category Images by Anmer
March 10, 2023, 06:20:04 am

Powered by EzPortal