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.


* Who's Online

  • Dot Guests: 14
  • 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 2202 times)

0 Members and 1 Guest are viewing this topic.

WestwegoManTopic starter

  • Administrator
  • Pirogue Pusher
  • *****
  • Posts: 40
  • Age: 47
  • 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
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
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.

WestwegoMan.com Privacy and Disclaimer Statement

Copyright 2015. WestwegoMan.com.

SimplePortal 2.3.6 © 2008-2014, SimplePortal