Welcome to Geeklog, Anonymous Wednesday, April 24 2024 @ 09:55 am EDT

Geeklog Forums

GUS hack


Status: Banned

gtgillis

Forum User
Full Member
Registered: 11/05/03
Posts: 121
I have been using GUS for tracking usage stats and have a minor mod to the GUS block so that I can click on a small icon next to the users name that will open the ip info in a new window.
This is for version 1.5.0 of GUS

On line 985 of functions.inc add ", remote_ip" to the end of the line.
Text Formatted Code
$result = DB_query( "SELECT DISTINCT {$_TABLES['sessions']}.uid, {$byname}, photo, showonline, remote_ip


 


On line 1009 insert the folloing before the "}"
Text Formatted Code
$retval .= '<a target=_blank href="http://www.whois.sc/'.$row['remote_ip'] .'"><img src="' . $_CONF['site_url'] . '/gus/images/globe_1.gif" border="0"></a>';


 



I use the icon located -> here which should be copied to ../public_html/gus/images/.

Click on the spining globe in the block to see the ip info in a new window.
 Quote

All times are EDT. The time is now 09:55 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content