Script Pulse
Trade Pulse => Trade Pulse Support => Topic started by: Pavel Svobada on March 01, 2009, 07:09:58 AM
-
ok, so putting the TP track3er via include into the wp index template works, it also works to put it into the index.php file direclty. But looking at the code, this part stays the same all the time:
document.cookie='fav=1235919995;
while on other installs on non-blog sites this nr seems to be dynamic and changes each time I refresh the page. Am I missing some features or so when this nr stays the same when I refresh the page?
-
About WP + TP. It's not easy to make it work together, because of WP method of including templates. WP inlcludes templates inside a function. So ssi_in.php of TP runs INSIDE WP function, php variables of TP becomes invisible.
One way - it's include TP's ssi_in.php on the very top of page, BEFORE the WP code.
Second way - using htaccess + tp_in.php + redirect to main page (WP page).
-
can you explain what you mean with 'redirect to main page (WP page).' ?
-
read manual incoming trackers you have it explained there mate!
-
I put the tracker code into the index.php - now when I open my blog like domain.com/blog/ it works perfectly. But when I add a 'www' in front of the domain I get this error message, anybody an idea what to do?
Warning: Cannot modify header information - headers already sent by (output started at /var/www/web8/html/domain.com/tp/ssi_in.php:67) in /var/www/web8/html/domain.com/blog/wp-includes/pluggable.php on line 850
When I want to use the htaccess instead, do I put it into my root directly and still all traffic going to my blog url domain.com/blog/ gets tracked as well as the permalink pages?
-
yep, U put it to root and all should work...
if U wanna message me over icq 169397168 with your ftp/wp/tp data and I can try to make it work for ya tmrow.