Page 1 of 1

how to include phpmyvisites javascript site meter ?

Posted: Thu Aug 04, 2005 10:39 pm
by Frandy
Hi,

I've installed phpmyvisites on server, near s9y.
(http://www.phpmyvisites.net / great mutlilanguage free site meter php application)
I tried to include provided javascript into html block, nl2br disable, wysiwyg disable.
but code is still truncated and script doesn't work in my s9y htmlblock in sidebar nor in a htmlblock in page.

i tried it on a blank html test page and it works, but not on serendipity.

could you help me please ?

here is the javascript :


<!-- phpmyvisites -->
<a href="http://www.phpmyvisites.net/" title="phpMyVisites : logiciel gratuit de mesure d'audience et de statistiques de sites Internet (licence libre GPL, logiciel en php/MySQL)" onclick="window.open(this.href);return(false);">
<script type="text/javascript">
<!--
var phpmyvisitesSite = 1;
var phpmyvisitesURL = "http://www.mysite.com/phpmyvisites/phpmyvisites.php";
//-->
</script>
<script type="text/javascript" src="http://www.mysite.com/phpmyvisites/phpm ... "></script>
<noscript>
<p>
phpMyVisites : logiciel gratuit de mesure d'audience et de statistiques de sites Internet (licence libre GPL, logiciel en php/MySQL)
<img src="http://www.mysite.com/phpmyvisites/phpm ... s=1&site=1" alt="phpMyVisites" style="border:0" />
</p>
</noscript>
</a>
<!-- /phpmyvisites -->

Is there a change for s9y to be compatible with my need ?

thanks a lot for help

Posted: Fri Aug 05, 2005 1:20 am
by gwilsonmail
make sure this

Code: Select all

Perform Markup Transformations 
 Apply markup transformations to the text (smilies, shortcut markups via *, /, _, ...). Disabling this will preserve any HTML-code in the text. 
is set to NO in the html nugget plugin holding the javascript.

Posted: Fri Aug 05, 2005 11:29 am
by Frandy
Already done, markup is set to Off.
i don't understand what's happening.

Posted: Fri Aug 05, 2005 11:33 am
by garvinhicking
Can you tell us the URL to your blog? I would need to see the actual HTML as emitted on your blog.

I am sure we'll get this to work!

Regards,
Garvin

Posted: Sat Aug 06, 2005 2:59 pm
by Frandy
It works !

phpmyvisites works with s9y

I update template with javascript code (at the end of template). (better than adding a html side bar nugget, with me it never worked)
i modified javascript code to accept frame and redirection (see forum phpmyvisites).

i can explain with more details what to do with s9y and phpmymisites if somebody wants to use both.