The MU forums have moved to WordPress.org

Fimii WPMU Stats mu-plugin (7 posts)

  1. fimion
    Member
    Posted 18 years ago #

    Okay, I know that i've been seeing alot of people asking how to add stats to the front page. after taking a look at how wpmu works (and fixing a few bugs), I beleive i have a simple solution that you won't have to reapply after upgrading (maybe, please correct me if i'm wrong).

    I have created a plugin specifically for wpmu that adds a function that lists the last updated blogs on your site. the code is based on some code that i got from the edublogs.org home theme.

    I have no clue if this will work for everyone, so please tell me if it does or doesn't.

    here's what you do:

    1) download and unzip this file:
    http://extragoofy.com/downloads/fimii-wpmu-stats.tar.gz

    2) put fimii-wpmu-stats.php into your mu-plugins directory (should be wp-inst/wp-content/mu-plugins if you're looking for it)

    3) add the following line to where you want a list of last updated blogs:

    <?php
    if(function_exists('fimii_wpmu_last_updated'))
    {
    fimii_wpmu_last_updated();
    }
    ?>

    there are also a couple of parameters that you can pass to the function:

    fimii_wpmu_last_updated($lim = 10, $domain = '')

    $lim is the limit of blogs you want displayed, which defalts to 10 if not defined.

    $domain is the domain you do not want to be included. for instance, on my site http://isthy.name/

    fimii_wpmu_last_updated(10,"isthy.name");

    Please tell me if you have any problems, anything i should add/remove/dismember, or if this is the entirely wrong way of doing things and that i shoud stop.

  2. skcsknathan001
    Member
    Posted 17 years ago #

    I don't know what/how the use of the file "inviz-wmu-stats.php"

  3. andrea_r
    Moderator
    Posted 17 years ago #

    Did you read the instructions?

  4. skcsknathan001
    Member
    Posted 17 years ago #

    I only got two files and inviz-wmu-stats.php file only has "Made by Inviz" as description. The other file fimii-wpmu-stats.php do has descriptions for each function, which is very helpful. But there is no reference to inviz-wmu-stats.php. The Plug In URI is also not working. So ....

  5. andrea_r
    Moderator
    Posted 17 years ago #

    Aren't they two seperate stats plugins?

  6. skcsknathan001
    Member
    Posted 17 years ago #

    this is for WPMU right?
    so I coppied to the mu-plugins directory.
    Now I think i have to call the functions in the file fimii-wpmu-stats.php in wherever I want.
    But what do I do with the inviz-wmu-stats.php file?

  7. conpeo
    Member
    Posted 17 years ago #

    hi, fimii. this is nice plugin.

    i download the new version RC2
    http://wpmudevorg.wordpress.com/project/Fimii-WPMU-Stats it includes two files inviz-wmu-stats.php is without functions? or its modify by other author?

    so sad that i can't contact u, cause your personal site http://isthy.name/ is not function.

    Fimii-WPMU-Stats array function cannot work properly for me, because i fail to exclusive more subdirectory blog domain. It will show all blog that i "deactivate".

    [appologize that i'm not good command in English.]

About this Topic