The MU forums have moved to

admin ->Mange ->Referers (5 posts)

  1. arnott
    Posted 17 years ago #

    what is it for? and how does it works? i click on it, but it doesn't show anything but there is a number 9 next to referers, like this"referers(9)"

    thx for help

  2. NetAndif
    Posted 17 years ago #

    For the referers to work, you must have some code in your template.
    Look at the humancondition template and find:
    <!-- WordPress Counter - Check the referers list in your backend! -->
    If the code below this is commented out, uncomment it.
    Then the referers should show.
    <script type="text/javascript" language="JavaScript1.2" src="{$siteurl}/wp-counter.php"></script>
    <img src="{$siteurl}/wp-counter.php?page=img&loc={$smarty.server.SERVER_NAME}/{$smarty.server.REQUEST_URI}" alt="Stat Counter" border=0 height="16">

  3. arnott
    Posted 17 years ago #

    i'm a newbie i don't know anything,
    could i ask what is the meaning of umcomment?

  4. NetAndif
    Posted 17 years ago #

    When code in scripts is commented out, it will not be executed.
    Sometimes this is the case, if functions inside the templates should be enabled if the user wants them. So they are included, but have to be un-commented by the user.

    But ok, if you want site statistics, leave the referers alone, and use the plugin 'BAStats' instead.
    It is faster and has more options.

  5. donncha
    Key Master
    Posted 17 years ago #

    Delete the following lines from referers.php:
    // hide direct and internal requests by default.
    if( $ignoreDIRECT != 'no' )
    $ignoreDIRECT = 'yes';

    if( $internal != 'no' )
    $internal = 'yes';
    I've made this change to svn so it'll appear tomorrow in the nightly.
    I prefer the referers page as it shows where people come from and where the visited, explicitly. It's a different beast to every other stats package I've used.

About this Topic

  • Started 2024 years ago by arnott
  • Latest reply from donncha