Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4219
Latest: Toddie
New This Month: 0
New This Week: 0
New Today: 0
Stats
Total Posts: 42850
Total Topics: 7463
Most Online Today: 96
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 48
Total: 48

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - aciage

Pages: [1]
1
General SMF Forum / 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)';

Pages: [1]

+- Recent Topics

Question on Completed Listing & Reserve Price by SMFHacks
May 31, 2023, 01:43:19 pm

[Mod]GDPR Helper by Nicole
May 29, 2023, 11:58:49 pm

RSS Feed Poster Database Error by SMFHacks
May 22, 2023, 06:26:18 pm

Errors With Older Version. by Ken.
May 09, 2023, 05:35:40 pm

Pretty Urls SEO Pro by SMFHacks
May 06, 2023, 03:30:11 pm

New Post Image Upload Error by Mike66
April 28, 2023, 07:30:28 am

Copyright Removal Key by SMFHacks
April 03, 2023, 02:44:28 pm

Converting from Aeva Media by sudhakar
April 02, 2023, 11:09:54 am

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

Powered by EzPortal