i never found a good ip tracking module for wordpress — then i stumbled upon tracewatch, which rocks HARD. anyway .. all it requires is 2 simple lines … where is a safe place to put these lines??
initially i added them to index.php, but they didn’t seem to be called. then i tried wp-blog-header.php; but i got strange side effects …
the code i need to add is:
$GLOBALS['adl_count_params']=true; @include_once $GLOBALS['HTTP_SERVER_VARS']['DOCUMENT_ROOT'].'/twatch_include/logger.php';
- The topic ‘want to add ip tracking code ‘somewehre’’ is closed to new replies.