how to include phpmyvisites javascript site meter ?

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
Frandy

how to include phpmyvisites javascript site meter ?

Post 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
gwilsonmail
Regular
Posts: 146
Joined: Tue Jul 12, 2005 9:12 pm
Location: Ottawa, Canada
Contact:

Post 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.
gw
Frandy

Post by Frandy »

Already done, markup is set to Off.
i don't understand what's happening.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Frandy

Post 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.
Post Reply