Exclusive eBooks, Software Solutions, Quality Guaranteed
 
Web NukeBiz
Welcome to NukeBiz · Members
Amazon
show cart or checkout0 items
Cart Value: 0.00

Forums » DragonflyCMS Projects » IP Tracker » Couple of bugs ...
Couple of bugs ...
Keeping tabs on visitors, bots and modules being used.
Topic initiation via Bugger.

Post new topic    Reply to topic    Printer Friendly Page     Forum Index »  Management » IP Tracker

View previous topic :: View next topic  
Author Message
Kendle
New Poster
New Poster

Offline Offline
Joined: Apr 26, 2007
Posts: 3
Location: England
PostPosted: Fri Apr 27, 2007 2:39 am
Post subject: Couple of bugs ...

Hi

Just installed IP_Tracker, and there's a couple of small bugs you might like to address.

1. For those of us who have a User table with a different prefix.

index.php line 283 should use $user_prefix for the User table, not $prefix. i.e. the correct line should be:-

$sql = "SELECT i.ipusername, i.ip_address, i.hostname, MAX(date_time), COUNT(*), MIN(ipid), s.uname, u.username FROM ".$prefix."_iptracking AS i LEFT JOIN ".$prefix."_session AS s ON s.uname=i.ipusername LEFT JOIN ".$user_prefix."_users AS u ON u.username=i.ipusername WHERE $filter $modfilter $adminfilter GROUP BY 1,2,3 ORDER BY $orderby $orderdir LIMIT $offset, $numip";

You'll also need to add global $user_prefix; somewhere prior to that line as well.

2. In admin/index.inc

line 449 change from this:-

$this->cpg_error( _IPTENTERVALUE );

To this:-

cpg_error( _IPTENTERVALUE );

line 454 change from this:-

$this->cpg_error( _IPTWRITEERROR );

To this:-

cpg_error( _IPTWRITEERROR );


Kendle please enter your server specs in your user profile! Crying or Very sad
Back to top
View user's profile Visit poster's website
Phoenix
Chairman
Chairman

Offline Offline
Joined: Mar 17, 2004
Posts: 1543
Location: Netizen
PostPosted: Fri Apr 27, 2007 5:00 am
Post subject: Re: Couple of bugs ...

Many thanks for the reports - have caught the user_prefix issue (eliminated actually) in an overhaul during the past couple of days - includes some query optimization and a number of xhtml1.1 fixes.

Will release that, plus the admin fixes later today Smile

_________________
DonationsPro for vBulletin, SMF, MyBB, DragonflyCMS


Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website ICQ Number Yahoo Messenger Photo Gallery
Display posts from previous:   
Post new topic    Reply to topic    Printer Friendly Page    Forum Index »  Management » IP Tracker
Page 1 of 1
All times are GMT + 9.5 Hours



Jump to:  


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum