I installed the statTraq plugin on 23rd September but I found a small issue with permalink url…The post id was not saved because I am using nice url…

Insert the following code just after $browser = statTraqGetBrowser(); (around line 37) in “wp-content/plugins/stattraq.php”….



if ($article_id == 0) { $post_id = url_to_postid($urlRequested); $article_id = ($post_id > 0 ? $post_id : $article_id); }

Categories: PHP

2 Comments

admin · 19/10/2004 at 17:57

okay ! 😉 sorry for the mistake ! I am not American so… lol

Randy Peterman · 19/10/2004 at 17:54

For the record it’s caled StatTraq… StatTrack is a baseball (and possibly other sports) statistics managemtn program. In other words, it was taken 🙂

Comments are closed.

%d bloggers like this: