Insert Piwik /PHPmyVisit code ? (General)

by Ratatosk @, Wednesday, December 09, 2009, 20:31 (5267 days ago)

Dear all,

Could somebody tell me where to insert the code of a statistic visits analyzer such as Piwik in My Little Forum, please ?

I inserted it ta the bottom of index.php code, but now the pages are very slow to display...

Thank you for your help.

R.

Insert Piwik /PHPmyVisit code? (and a note to Alex)

by Auge, Thursday, December 10, 2009, 17:31 (5267 days ago) @ Ratatosk

Hello

Could somebody tell me where to insert the code of a statistic visits analyzer such as Piwik in My Little Forum, please ?

What says the Piwik manual?

README:

Install
=======
- ...
- Add the given javascript code to your pages

Hmm, not very useful.

The installation guide says that the best place is the bottom of the page (see "Display JavaScript Code"). You made everything right.

I inserted it ta the bottom of index.php code, but now the pages are very slow to display...

Piwik is a ressource eater. But, if I'm not wrong, you can disable some functions.

Sorry, I can't give you proper links, because the forum script says it was spam.

Tschö, Auge

PS: yesterday was a new version (0.5.1) released.
PPS: @Alex: Why are two links an indication for spam?

Avatar

Insert Piwik /PHPmyVisit code? (and a note to Alex)

by Alex ⌂, Thursday, December 10, 2009, 20:30 (5266 days ago) @ Auge

Hi Auge,

PPS: @Alex: Why are two links an indication for spam?

Your posting was probably classified as spam by mistake due to one of the links (Akismet spam protection).

Alex

Insert Piwik /PHPmyVisit code? (and a note to Alex)

by Auge, Friday, December 11, 2009, 00:43 (5266 days ago) @ Alex

Mojens

PPS: @Alex: Why are two links an indication for spam?


Your posting was probably classified as spam by mistake due to one of the links (Akismet spam protection).

pfft!!1!!11elf! ;-)

hmmm ... Both links directed to piwik project page.

Anyway, it's over and gone.

Tschö, Auge

Avatar

Insert Piwik /PHPmyVisit code ?

by Alex ⌂, Thursday, December 10, 2009, 20:21 (5266 days ago) @ Ratatosk

Hi Ratatosk,

Could somebody tell me where to insert the code of a statistic visits analyzer such as Piwik in My Little Forum, please ?

in forum/templates/default/main.tpl

Alex

Insert Piwik /PHPmyVisit code ?

by Ratatosk, Thursday, December 10, 2009, 20:44 (5266 days ago) @ Alex

Thank you together for your help, I will try !

:-)

R.

Insert Piwik /PHPmyVisit code ?

by Ratatosk, Thursday, December 10, 2009, 20:52 (5266 days ago) @ Ratatosk

Doesn't work :

If I paste the Piwik code juste before </body> in main.tpl, it gives me an error on displaying pages of the forum :

Fatal error: Smarty error: [in default/main.tpl line 62]: syntax error: unrecognized tag 'var' (Smarty_Compiler.class.php, line 590) in ..../modules/smarty/Smarty.class.php on line 1093

In index.php, after ?>, it was slow but it worked without any problem.

Avatar

Insert Piwik /PHPmyVisit code ?

by Alex ⌂, Friday, December 11, 2009, 09:29 (5266 days ago) @ Ratatosk

If I paste the Piwik code juste before </body> in main.tpl, it gives me an error on displaying pages of the forum :

You probably need to paste it between {literal}...{/literal}: Smarty literal.

RSS Feed of thread