WordPress.org

Ready to get started?Download WordPress

Forums

StatPress Visitors
Get Top Views by Post/Page (Categorie) (14 posts)

  1. holospirit
    Member
    Posted 2 years ago #

    hi,
    is it possible, to display the top posts/pages (choosen by categorie)?

    musn't be shorttag, could be sql-query...

    thanks

    http://wordpress.org/extend/plugins/statpress-visitors/

  2. luciole135
    Member
    Plugin Author

    Posted 2 years ago #

    not for the moment, sorry

  3. holospirit
    Member
    Posted 2 years ago #

    to bad, thanks

  4. luciole135
    Member
    Plugin Author

    Posted 2 years ago #

    these kind of SQL queries could slow down too much the web site, you can add it by yourself in stapress.php file in the function luc_StatPressV_Vars

  5. holospirit
    Member
    Posted 2 years ago #

    it's for a widget, so it's cached and only updated once a day.
    i don't like changing source in a plugin - next update will kill it and i have to reinsert it.
    is it very hard for you to insert this query as new %var%? maybe as %toppost|numbers_to_show% or %toppage|5|categorie% ?
    would be very very nice :)

  6. luciole135
    Member
    Plugin Author

    Posted 2 years ago #

    No, the SQL queries of the widgets are update each call. So, the use of widgets is not recommended.

    This SQL query is a join between two tables: StatPress and a table WordPress or require so a lot of work PHP to achieve this join. This will slow down the display of the web page.

  7. holospirit
    Member
    Posted 2 years ago #

    ok - just wondering what widget-cache does then. i thought it's the goal of that plugin to reduce queries like these.

    i used statpress only because of the widget - there are smarter stats plugins with more options.

  8. luciole135
    Member
    Plugin Author

    Posted 2 years ago #

    The number of SQL queries has already been greatly reduced in all pages of the plugin compared to all other derivatives StatPress. That makes StatPress Visitors the fastest StatPress.

    Further reduce the query widgets is an enormous task of recoding the entire plugin because it requires as many counters as displayable variables.

    I do not know the stats of other plugins, what those other plugins?
    What are they doing more?

  9. holospirit
    Member
    Posted 2 years ago #

    WP SlimStat / WP SlimStat Dashboard Widgets / WP SlimStat ShortCodes
    for example.

    i just need ONE plugin for visitor analysis and a widgets with visitory ever, page hits ever, top posts/pages per categorie.
    and "hacking" plugins is a pain, when the next update comes.

    a simple time()-call in a widget with widget-cache is cached and not executed - so i wonder why your widgets are updated/executed.

  10. luciole135
    Member
    Plugin Author

    Posted 2 years ago #

    I do not know WP SlimStat, but from what you describe, the problem will be the same, all display of stats requires at least one SQL query through the entire database and thus slow down the page display. Whether done by SlimStat or other will not change anything.

    Widgets are inherited from the Original StatPress. I personally never use them, i keep it like the original Statpress.

    The problem of widgets stats, is that they slow down the display of web pages.

    I do not know this technique od widgets-cache, it's interesting, you have sources?

  11. holospirit
    Member
    Posted 2 years ago #

    http://wordpress.org/extend/plugins/wp-widget-cache/

    maybe the problems are the same - but i don't use most widgets for realtime display - thanks cache.

    i like on slimstat to use kind of sql-code in the widget, so it's a bit more comfortable. in adminarea are some others features that you have - maybe have a look.

  12. luciole135
    Member
    Plugin Author

    Posted 2 years ago #

    If you have any hacks to offer, please do, I will integrate the next version.

  13. holospirit
    Member
    Posted 2 years ago #

    i think i just add the code for my sql-querys for the top posts/pages.

  14. luciole135
    Member
    Plugin Author

    Posted 2 years ago #

    Do as you want

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.