Adding yahoo page statistics code.

nas posted 14th of July 2008 in Community Voice. 6 comments.

Hi there,

I want to add yahoo page statistics code to my dolphin PHP pages. Yahoo has given the following code that they say should be inserted at the bottom of PHP pages. Here is the code;

<!-- Counter/Statistics -->
<script language="JavaScript"
src="http://us.js2.yimg.com/us.js.yimg.com/lib/smb/js/hosting/cp/js_source/whv2_001.js">
</script>
<script language="javascript">geovisit();</script>
<noscript><img src="http://visit.webhosting.yahoo.com/visit.gif?time"
alt="setstats" border="0" width="1" height="1"></noscript>

I added the code to the index page and it caused a problem and the index page could no longer be accessed. Is there something more I need to know or do than simply adding the code to the bottom?

Can I just paste it in to the bottom of the page (as yahoo says) or does it have to be inserted at a specific part of the code.

Any help you could give would be greatly appreciated.

Cheers,

Nick

 
Comments
·Oldest
·Top
Please login to post a comment.
jerry79
Hi,
im using the google stats code and i putted this in templates _footer.html. Maybe it will work for you also.

Greets,
Jerry
DoLaugh
i'm using Yahoo stats and yes like what Jerry 79 said...put it in your template _footer html.

I will tell you....Yahoo is NOT a desired Dolphin host...first off they do NOT allow the use of .htaccess file and they also will not allow you to update the php.ini file....and along with that ...they have the globals setting to ON...which makes you very hacker suceptible.

You sure you want to stay with Yahoo? I'm researching a Dolphin script friendly Host.

Dolaugh
nas
Thanks a lot for your help. I am going to give it a go now.

I didn't want to use yahoo but they are one of the few hosts that you can pay monthly. I really didn't want to pay a big upfront cost.
DoLaugh
Nas,,,,just be aware, yahoo does NOT allow you to edit your php.ini nor do they allow you to upload and use .htaccess files. These files are extremly important for security and to allow Dolphin to operate correctly. They also have the globals settings to ON...instead of the default Off. Your site could very easily be hacked...don't say you were not warned about Yahoo Hosting deficiencies! I do wish you the best of luck!

Dolaugh
TheGateKeeper
I am new here in Unity This topic has been very informative!!
RobertRun
i am having a very similar problem.. i entered some code in my page as well.. i put it in header.html.. it messed up my site, removing most of the styles. so i removed it, just reversed what i had done.. cleared the cache's, etc.. on the site and the browser as well, but it is still all jumbled. i had an empty page that i put the code in.. then i went back and removed the code so the page was exactly as it was but the site will still not come back..

clues.. anyone.. please?
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.
PET:0.05882716178894