Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 12:39 pm EST
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.
On line 1009 insert the folloing before the "}"
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.
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_ipOn 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.
10
10
Quote
All times are EST. The time is now 12:39 pm.
- 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