WordPress Info at sieker.info

StatTraq update

Since Randy Petermann stopped development of Stattraq I went ahead and fixed a few things which were bugging me. I know P. Murph from thefunzone.awardspace.com has also done work on Stattraq and he has my changes. I fxed some bugs I ran across although my main aim at first has been cleaning up the code and getting rid of redundancies. So not a lot has changed on the user end of things, well except the lists in the reports which all have the same layout now and the sorting which works better in a few of the reports.

download the new version from the stattraq page.

The list of changes:

Version 1.9.4

Fixes

  • fixed the disable login option.
  • fixed checkbox options, assign false and not the string “false”.

Version 1.9.3

Fixes

  • changed identification of what is being view. Now uses the $wp_query and $post objects.

Version 1.9.2

Fixes

  • use <? echo instead of <?= not everybody has short open tags enabled.

Version 1.9.1

Fixes

  • wp-login.php isn’t logged as a ‘Mixed’ hit anymore
  • Feed requests were also displayed in the sums of the Mixed requests.
  • use mysql_query instead of wpdb->query, in summary to display total hits and calculate sticky.
    wpdb->query loads the complete result set into RAM, so summary should display quicker and use less RAM.
  • checking on user_level is now done in the options.php file directly, before only the link wasn’t displayed.
  • escape all GET and POST variables with mysql_real_escape_string, before all variable were passed unfiltered to the SQL statement.

Changes

  • bumped the version number to 1.9.1 to reflect the change in maintainer.
    I’ll release the new version as 2.0.0 when it’s stabilized.
  • in the page views report, sorting now actually sorts by page name and not page_id and
    use the WordPress get_page_link function to create the links in the summary and page view reports.
  • created a stRequest class to handle tracking the query parameters, this also allowed me to get rid
    of a lot of the global variable. The value are now available via the new class.
    Moved generaton of the date range for the SQL statement into the new class and cleaned up the code in the
    reports that’s now uneeded.
  • created a makeIndexUrl and makeChartUrl function, to create the necessary URLs.
    Replaced all occurances of “index.php?etc.etc.etc.” with a call to the new function, same applies for all
    chart_maker URLs.
  • synced the table layouts across the different reports.
  • code formatting clean ups.
  • reorganied the directory structure. some files moved but all URLs stayed the same.
No Comments »

No comments yet.

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>

(required)

(required)