MyBB Community Forums

Full Version: Insert your RiteCounter code
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi everyone

Can somone tell me where would be the best place to put this code see below to:-

Would it be:-

A header

B index.php

Any advice would be welcome

Jon




To install the counter, please download the page(s) you'll like to monitor. We recommend using it on all pages (except on SSL protected pages), to enjoy the vast array of options that are included.

Open the page(s) you'll like to monitor using notepad (or any html editor), search for the "body" tag of the web page.

You'll see something like this when you open the file in notepad:

<html>
<head>
<title> </title>
</head>
<body>
Copy and paste your RiteCounter code between the <body> and </body> tag. You can paste it right after the <body> or right before the </body> tag.
</body>
</html>

Insert your RiteCounter code right after the <body> tag or right before the </body> tag.

Save the file when you're done.

Repeat the above for all pages you want to monitor.

Upload the edited pages to your FTP

To test the code, visit your website and click through some of the pages, you should see those hits when you login to your RiteCounter account if installed properly.
ok hey

it's like stat counter, umm Footer and Header loads with all the pages,
so let's put it in the footer.

Admin CP > tempaltes > Modify / Delete > Expand > footer

find this

<br class="clear" />
<div >

just below it add

<div align="right">
<!--RiteCounter-->
  <script type="text/javascript" src="http://www.ritecounter.com/scripts/counters.php?id=3954"></script>
  <noscript>
  <a href="http://www.ritecounter.com"><img src="http://www.ritecounter.com/scripts/htmlc.php?id=3954" alt="website counter" border=0></a>
  </noscript>
</div>
<!--END RiteCounter--></div>

regards Smile
Thanks Zaher for the kind help