IP détails in membres online

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pauloo
    Member
    • Nov 2004
    • 79
    • 3.7.x

    IP détails in membres online

    hello,

    I'd like to ask you how I must make so that I can, in members online (http://www.domain.com/online.php) , when i click on "ip" hyperlink and open a new windows to url site "who's"
    Example: http://www.whois.sc/127.0.0.1

    PS: sorry for my English.

    thank you
    Visit my board Astunet.net
  • Moparx
    Senior Member
    • Jan 2005
    • 209
    • 3.6.x

    #2
    edit the whosonlinebit template.

    change:
    Code:
      	<if condition="$show['ip']">
     		<td class="$ipclass"><div class="smallfont">$userinfo[host]<if condition="$show['useragent']"><br />$userinfo[useragent]</if></div></td>
      	</if>
    to:
    Code:
      	<if condition="$show['ip']">
     		<td class="$ipclass"><div class="smallfont"><a href="http://www.whois.sc/$userinfo[host]" target="_blank">$userinfo[host]</a><if condition="$show['useragent']"><br />$userinfo[useragent]</if></div></td>
      	</if>
    http://www.virtualinfusion.net
    An Anime and Manga discussion forum.

    Comment

    • pauloo
      Member
      • Nov 2004
      • 79
      • 3.7.x

      #3
      Thank you very very mutch

      It's perfect, work's fine
      Visit my board Astunet.net

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...
      😀
      😂
      🥰
      😘
      🤢
      😎
      😞
      😡
      👍
      👎