HomeUnityBlogs
 
 
nas

Adding yahoo page statistics code.

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

bad
1
good
 
 

Comments

jerry79
jerry79 178 days agocomment permalink
 
Hi,
im using the google stats code and i putted this in templates _footer.html. Maybe it will work for you also.

Greets,
Jerry
 
bad
0
good
 
 
DoLaugh
DoLaugh 178 days agocomment permalink
 
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
 
bad
0
good
 
 
nas
nas 178 days agocomment permalink
 
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.
 
bad
0
good
 
 
DoLaugh
DoLaugh 177 days agocomment permalink
 
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
 
bad
0
good
 
 
TheGateKeeper
TheGateKeeper(positive) 176 days agocomment permalink
 
I am new here in Unity This topic has been very informative!!
 
bad
0
good
 
 


Post a Comment

Please login to post a comment.

This Post
 
 
nas Blog
All Blogs
Found a bug? Have a suggestion? We really value your feedback!
 
© 2008 BoonEx Ltd
ABN 27 127 966 581
 
PET:0.64704990387