Hi there,

Please consider registering for an account. Registration is free, only takes a minute and will allow you to access members only boards. If you already have an account with us, then click here to log in.

collapse

* Who's Online

  • Dot Guests: 38
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.


Author Topic: Add what is my ip address to ip links in SMF  (Read 3645 times)

0 Members and 1 Guest are viewing this topic.

WestwegoManTopic starter

  • Administrator
  • Pirogue Pusher
  • *****
  • Posts: 46
  • Age: 50
  • Location: Westwego, La.
    • View Profile
Add what is my ip address to ip links in SMF
« on: Jan 23, 2015, 5:11 PM »
Add what is my ip address to ip links in SMF

Add a link to whatsmyipaddress.com for ip checking.

in Sources\profile-view.php
find:
Code: [Select]
$context['whois_servers'] = array(
add after:
Code: [Select]
'whatisipaddress' => array(
'name' => &$txt['whatis_ipaddress'],
'url' => 'http://whatismyipaddress.com/ip/' . $context['ip'],
'range' => array(),
),

Then in Themes\default\languages\Profile.english.php
find:
Code: [Select]
$txt['whois_title'] = 'Look up IP on a regional whois-server';
And add after:
Code: [Select]
$txt['whatis_ipaddress'] = 'What is my IP address (Whatsmyipaddress.com)';


 


The postings on this site are my own and do not necessarily reflect the views of Jefferson Parish,

fellow employees, members of the public, suppliers or people working on behalf of the parish.


SimplePortal 2.3.6 © 2008-2014, SimplePortal