• Word Press Statistics (zip file)
    This is a port to WP 1.2 as a plugin and significant improvement based on the code from GamerZ.
    It features some pretty significant changes and improvements for template integration. Installation instructions are included. It does operate differently than the release by GamerZ, it probably is not compatible with WordPress 1.0.x. Although I’m sure it could be with a few tweaks to the code.
    The original forum for discussion is here.
    I do not currently have a demo online, my website has not been upgraded to WP 1.2 yet, I’ve been testing it locally. Hopefully in the next day or two, I’ll have a sample site online for people to check out.
    If were lucky there won’t be too many issues with it so people can hit the ground running with it when WP 1.2 is released this week.

Viewing 8 replies - 106 through 113 (of 113 total)
  • bump
    Maybe it is as simple as taking your index.php file – clearing out the code underneath the “Content and Comments” divs and placing the stats code in there and then saving the new file to wp-stats.php ?
    “It’s gotta be the shoes!”

    Look down in the ‘statistics.php’ file – it has all the layout there, so just adjust to the look you require.

    Thread Starter unoamigo

    (@unoamigo)

    Whew sorry. The whole living out of a tent thing takes a toll on my ability to respond – quickly.
    Podz, I haven’t played too much with 1.3 (yet). I’m just starting to. It looks as though 1.3 is going to add some nifty new page set up functionality. This I’m sure is going to inevitably effect how one will ideally want to run the statistics package.
    It looks to me like you will be able to create a new page called “stats” and insert the call to the stats package. This will invariably make /stats/ available. If I’m understanding correctly. The version from a week or so ago that I downloaded – this wasn’t entirely functional yet. I think this will be the way that the stats package should be run on 1.3. When I get a chance, I’ll ad some more info.
    sdollen – the install directions included explain how to get it up and running. Were actually just wrapping an if statement around the wordpress loop

    unoamigo – many thanks ??

    Sorry I’m a little dense. I become a little lost on step 5.
    5) Now, lets get all this working with our template.
    Change this line:
    <?php if ($posts) : foreach ($posts as $post) : start_wp(); ?>
    To:
    <?php
    if (! empty($display_stats) ) {
    get_stats(1);
    echo “
    “;
    }
    else if (($posts & empty($display_stats)) ) : foreach ($posts as $post) : start_wp(); ?>
    I’m not sure what template this step is refering to? Am I making a new php file called stats.php and placing this code in it?
    Sorry again – but appreciate the help and the time to make the plug-in ??
    “It’s gotta be the shoes!”

    Thanks to Podz and unoamigo! I finally have it working on my site – love the plugin, unoamigo!

    Thanks so much. Works like a charm! ??

    Oh, man–I hate to add to this thread, but I have a very simple question to ask. Honestly, this thread is sooo long and most of the posts don’t seem to have anything to do with what I’m trying to do so I didn’t read it all.
    So, in a nutshell, I’d love to be able to:
    1) call all of the stats in a separate page.
    2) have the General Stats only show up on the main page or an entry page.
    I apologize if these questions have been answered–I tried digging through this thread but I really couldn’t make heads or tails of the few posts that seemed to be talking about what I want to do. I’m a WP & PHP noob, but I’m not an idiot. If I can get detailed instructions, I can follow them just fine. Thanks in advance!!

Viewing 8 replies - 106 through 113 (of 113 total)
  • The topic ‘WP 1.2, Statistics’ is closed to new replies.