Jump to content


IP lookup in online users list


1 reply to this topic

#1 Mikorist

    Member

  • 7 posts
  • Joined: September 19, 2010
  • 2 topics
  • Age: 38
  • Skin: IP.Board
  • Local time: 06:38 PM
  • Zodiac:Aquarius
  • Gender:Male
  • Location:YouCanMail.Me
  • OS:other
  • Country:
Offline
  • Time Online: 3m 3s

Posted 19 September 2010 - 10:52 PM

This solution adds a link to ip address on the online list + go to custom sites for viewing details of that IP address.


Look & Feel > Skin > Online List > showOnlineList

Find:
<span class='ip'>( {$session['ip_address']} )</span>


Replace With:
<span class='ip'>
					<if test="showip:|:$this->memberData['g_is_supmod'] AND !$this->settings['disable_online_ip']">
<span class='ip'><a href='{parse url="app=core&amp;module=usercp&amp;tab=members&amp;area=mod_ipaddress&amp;do=custom&ip={$session['ip_address']}" base="public"}' title='{$this->lang->words['ip_lookup']} {$session['ip_address']}'>( {$session['ip_address']} )</a>
<a href="http://www.db.ripe.net/fcgi-bin/whois?form_type=simple&full_query_string=&searchtext={$session['ip_address']}&do_search=Search" class="bbc_url" title='RIPE Whois' rel="nofollow external"><img src="/public/style_images/master/ip.jpg"></a>
<a href="http://www.infosniper.net/index.php?ip_address={$session['ip_address']}&map_source=1&two_maps=1&overview_map=1&lang=1&map_type=1&zoom_level=12" class="bbc_url" title='INFO Sniper' rel="nofollow external"><img src="/public/style_images/master/sniper.jpg"></a> 
<a href="http://www.google.com/search?q={$session['ip_address']}" class="bbc_url" title='Google' rel="nofollow external"><img src="/style_images/master/google.jpg"></a>
</span><br /><span class="desc">{$session['browser']}</span>

				</if>


</span>

How looks in my forum :

Attached File  picture.jpg   49.91K   7 downloads

#2 Broni Re: IP lookup in online users list

    Malware Annihilator

  • 24,878 posts
  • Joined: October 04, 2004
  • 1,858 topics
  • Age: 57
  • Skin: IPBoard wide
  • Local time: 11:38 AM
  • Zodiac:Virgo
  • Gender:Male
  • Location:Daly City, CA
  • OS:Windows Vista
  • Country:
Offline
  • Time Online: 57d 7h 43m 39s

Posted 19 September 2010 - 10:56 PM

Very nice :)
Thank you for contributing :)





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users


This topic has been visited by 6 user(s)