From the RuneScape Wiki, the wiki for all things RuneScape
Jump to: navigation, search
Forums: Yew Grove > Sitemeter
This page or section is an archive.
Please do not edit the contents of this page.
This thread was archived on 6 July 2009 by Calebchiam.

I wouldn't even know where to start looking. How do I stick that little sitemeter on the FunOrb wiki? JalYt-Xil-Vimescarrot 11:42, 13 May 2009 (UTC)

I think I saw Karlis and Azliq discussing about it on the clan chat once. All I mostly remember was something about the monoco skin(The default one). I think they also got the site meter from a site, just not sure which one. Sorry for my memory not being too good.=S Hopefully azliq can reply soon.Santa hat.png Powers38 おはようヾ(´・ω・`) 13:27, 13 May 2009 (UTC)
This is the website. JalYt-Xil-Vimescarrot 13:28, 13 May 2009 (UTC)

Comment - First, someone has to register FunOrb Wiki at the site ( Once you've done that, you need to add this code to [[MediaWiki:Common.js]]:

// ============================================================
// wikiSiteMeter
// Function: Adds a counter from
// ============================================================

function wikiSiteMeter() {
    if(skin == "monobook") {
        var sidebar = document.getElementById("p-wikicities-nav");

        if(sidebar == null)

        var comboString = "<br /><h5>wiki site meter</h5>";
        comboString += "<div class='pBody'><div style='margin-top:2px; margin-bottom:5px;'><table><tr><td><a href='' target='_top'><img src='' alt='Site Meter' border=0 /></a></td></tr></table></div></div>";

        sidebar.innerHTML += comboString;

    if(skin == "monaco") {
        var sidebar = document.getElementById("widget_101");

        if(sidebar == null)

        var comboString = "<dt class='color1 widget_title'><div class='widgetToolbox'></div>Wiki Site Meter</dt>";
        comboString += "<dd class='shadow widget_contents'><div style='margin-left:10px; margin-top:2px; margin-bottom:5px;'><table><tr><td><a href='' target='_top'><img src='' alt='Site Meter' border=0 /></a></td></tr></table></div></dd>";

        sidebar.innerHTML += comboString;

Make sure you replace 2 instances of and 2 instances of with the unique code for FunOrb wiki. This URL can be found at sitemeter under the section manager > HTML code (Click this link once you've signed in:

Once you've added the counter, I recommend that you doing the following:

  1. Fill in the site information.
  2. Set the site location.
  3. Choose the appropriate meter style for your wiki.
  4. Set the privacy level to "medium".

That should be it. After a few hours, the sitemeter counter will start appearing in all the pages.   az talk   08:23, 14 May 2009 (UTC)

Thank you very much. JalYt-Xil-Vimescarrot 16:54, 14 May 2009 (UTC)
It asks me for the URL. Or JalYt-Xil-Vimescarrot 17:58, 15 May 2009 (UTC)
It's not working D= JalYt-Xil-Vimescarrot 17:45, 17 May 2009 (UTC)

What seems to be problem? The image does not appear, and you only see the words "Site Meter"? If this is the case:

  1. In "site information", the website URL should be "".
  2. The MediaWiki part seems okay.. as you have changed the URLs accordingly.
  3. Have you set the "privacy level" to "Medium"?

  az talk   07:08, 18 May 2009 (UTC)

I got the URL wrong. JalYt-Xil-Vimescarrot 18:56, 18 May 2009 (UTC)
It still didn't work. Then one of our users deleted it from common.js on the basis that could "steal cookies" as well as log the IP address of every user. So: What did I do wrong? And: Is he right? JalYt-Xil-Vimescarrot 18:46, 20 May 2009 (UTC)