Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4257
Latest: Alex998.
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 43295
Total Topics: 7523
Most Online Today: 221
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 204
Total: 204

Author Topic: IP Tracking Mod  (Read 3528 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
6175 Views
Last post March 04, 2008, 02:29:16 am
by thehawk
4 Replies
5935 Views
Last post February 03, 2010, 09:53:36 am
by SMFHacks
9 Replies
7070 Views
Last post January 06, 2012, 02:53:02 pm
by webdzr
7 Replies
9020 Views
Last post June 03, 2016, 08:02:08 pm
by SMFHacks
3 Replies
5184 Views
Last post January 12, 2017, 09:56:50 am
by SMFHacks

+- Recent Topics

Please Help! by SMFHacks
April 17, 2024, 08:04:55 am

Rate own images by fvlog19
April 11, 2024, 10:56:53 am

Tidy Child Boards on 2.1.4 by SMFHacks
April 04, 2024, 03:54:12 pm

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
March 30, 2024, 12:41:08 pm

Can't DROP 'id_member'; check that column/key exists Datei: by SMFHacks
March 30, 2024, 11:58:20 am

No thumbnails on new uploads by Tonyvic
March 29, 2024, 06:26:18 am

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

Powered by EzPortal