bbPress

Simple, Fast, Elegant

bbPress plugin browser »

bb Topic Views (1.6.2)

Download

Version: 1.6.2

Last Updated: 2008-9-2

Requires bbPress Version: 0.8 or higher

Compatible up to: 1.0

Author Homepage »

Plugin Homepage »

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(6)

Your Rating

Authors _ck_, wittmania


  1. I've now taken over this plugin at wittmania's request and 1.6.0 will work properly under bbPress 1.0

    Also, the Mini-Track Plugin can now suppliment this plugin by properly counting views without using sessions (sessions causing some side effects that I don't care for).

    Posted: 3 months ago #
  2. meitershaker

    Member

    i have an error when i try to edit a first topic on a thread:


    DB Error in update_view_count: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND meta_key='views' LIMIT 1' at line 1

    UPDATE bb_meta SET meta_value=meta_value+1 WHERE object_type='bb_topic' AND object_id= AND meta_key='views' LIMIT 1

    Posted: 3 months ago #
  3. meitershaker, I am going to assume you mean first post on a topic.

    I also assume you are using 1.0 alpha

    if you copied that error verbatim, apparently the $topic_id is empty somehow

    I need to know when you say first post, is it a brand new topic with only one post? Or first post on a topic with other posts? Can you reproduce it repeatedly on other topics?

    Unfortunately I cannot reproduce the error here.

    Are you using pretty permalinks (slugs) or does your url have something like ?id=123 in the topic

    Posted: 3 months ago #
  4. meitershaker

    Member

    - i use 1.0 alpha with pretty permalinks
    - i have the error with the first post on a topic, with other posts or not

    Posted: 3 months ago #
  5. It must be the pretty permalinks, I will have to investigate.

    Posted: 3 months ago #
  6. Try 1.6.1 when you see it here.

    I still don't know how $topic_id can be empty in bb_head, that's well into the topic page, unless 1.0 isn't using it anymore and that would be very bad.

    However my own testing, even with permalinks on 1.0 does not reproduce the error.

    Make sure your view counts are still increasing properly with 1.6.1 too

    Posted: 3 months ago #
  7. meitershaker

    Member

    bug is fixed. but this is a bbpress's bug?

    Posted: 3 months ago #
  8. I am uncertain and will have to research it more.
    It might even just be a plugin conflict.

    Posted: 3 months ago #
  9. 1.6.2 fixes an important caching bug, which will greatly reduce (or remove entirely) extra mysql queries on the front-page and forum pages. Everyone should upgrade for maximum performance.

    Posted: 3 months ago #
  10. Thanks, very nice.

    Posted: 2 months ago #
  11. m_gr@hotmail.com

    Member

    I get an error when I try to activate this plugin. I get this error "Plugin could not be activated; it produced a Fatal Error."

    I'm using bbpress version 0.9.0.2 and bb Topic Views version 1.6.2

    What's wrong?

    Posted: 2 months ago #
  12. m_gr, what message (if any) do you get if you try to visit the plugin directly, ie.

    http://your-website-path-example.com/forums/my-plugins/bb-topic-views.php

    Posted: 2 months ago #
  13. So I got a column for views and no longer want the views to show up next to the topic as they do in this plugin. How do I strip down the code to remove those?

    Posted: 1 month ago #
  14. Nevermind. Instructions are in the Readme, of course.

    Posted: 1 month ago #
  15. activation of the plugin fails on bbpress 0.9.0.2 (windows server)

    "Plugin could not be activated; it produced a Fatal Error"

    any ideas ?

    Posted: 1 month ago #
  16. Ah, line 211 has a PHP "short tag" which windows PHP sometimes doesn't like.

    Try changing it from <? to <?php

    I will fix that in the original.

    Posted: 4 weeks ago #

RSS feed for this topic

Add a Comment

You must log in to post.

Code is Poetry.