• Resolved gjoseph

    (@gjoseph)


    Hey there,

    Is there a chance to get “aggregate” stats/counts for all authors ? I’m working on a rather small blog with a handful of authors, but we’d rather see how the blog does “on average”, not necessarily per author.

    Thanks for any tip.. or hope (for a future version?)

    Cheers,

    -g

    http://wordpress.org/extend/plugins/word-stats/

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Fran Ontanaya

    (@fran-ontanaya)

    I can’t do much non commissioned work on it right now, but I’ll add it to the To Do list.

    Thread Starter gjoseph

    (@gjoseph)

    hehehe, just saw the 4.1 release, looks like I got the best of your curiosity. Cheers ! 🙂

    Plugin Author Fran Ontanaya

    (@fran-ontanaya)

    It’s not working in proper order yet, I pushed it to fix a bug. The aggregate stats will be available shortly.

    Plugin Author Fran Ontanaya

    (@fran-ontanaya)

    Ok version 4.2 should adress this.

    Thread Starter gjoseph

    (@gjoseph)

    Thanks Fran, but hmmm. With 4.1, graphs stopped working for me for some reason. Now they’re back. For my own account and for “admin”, I can see word count, stats and graphs. But for the other author account and “all authors”, only the word count shows up. Graphs and keywords don’t. Is that something you’re aware of, or that I could help debunk, somehow ?

    Thread Starter gjoseph

    (@gjoseph)

    Ha, I found out there’s a javascript error – “expected token: )” – for some users. This is in the kw_ticks variable, which contains values that don’t see to be escaped. (stuff like “width=”468″” which seem to throw the js parser off, obviously. But even escaped, I’m not sure what those html attributes are doing there.
    Let me know if more details or examples would help.

    Plugin Author Fran Ontanaya

    (@fran-ontanaya)

    Ok, thanks a million about the heads up and the bug research! I’ll get to it in a few hours. This is the first report I get for this bug, I’ll poke you for feedback as needed.

    Plugin Author Fran Ontanaya

    (@fran-ontanaya)

    I reproduced the bug, working on the fix.

    Plugin Author Fran Ontanaya

    (@fran-ontanaya)

    Ok, try 4.2.1. Some posts had keywords saved incorrectly, without splitting and removing double quotes (“), they will be cached again, it might be slower than normal.

    Thread Starter gjoseph

    (@gjoseph)

    Hey, now it works, but unfortunately, I get a bunch of these PHP warnings: (5 times, but not sure if that particular number is relevant)

    Warning: array_keys() [function.array-keys]: The first argument should be an array in /var/www/foobar/wordpress/wp-content/plugins/word-stats/word-stats.php on line 558
    Warning: implode() [function.implode]: Invalid arguments passed in /var/www/foobar/wordpress/wp-content/plugins/word-stats/word-stats.php on line 558

    Thread Starter gjoseph

    (@gjoseph)

    Oh, and now I see that the following were saved as keywords (those were the ones creating the problem in the first place)

    • [caption
    • align=
    • width=
    • caption]
    Thread Starter gjoseph

    (@gjoseph)

    4.2.3 solved all this, thanks !
    (although it looks like “caption” “align” and “width” are still considered pretty popular keywords on my blog – but they’re not, they’re only used in that picture caption markup thing)

    Plugin Author Fran Ontanaya

    (@fran-ontanaya)

    Whew.

    Yeah I have to figure out how to deal with shortcodes, since strip_shortcodes doesn’t seem to do much, and just ignoring anything within square brackets would often ignore legit text.

    Thanks a lot for the quick feedback. I’m usually available on freenode.net all the time (just query TheVenetianMask) and on skype (fran.ontanaya) if you need to discuss on a chat anything about the plugin.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘[Plugin: Word Stats] Aggregate stats for all authors ?’ is closed to new replies.