bbPress

Simple, Fast, Elegant

bbPress plugin browser »

My Views (0.1.2)

Download

Version: 0.1.2

Last Updated: 2008-8-19

Requires bbPress Version: 0.8.2 or higher

Compatible up to: 0.9.0.2

Author Homepage »

Plugin Homepage »

Donate to this plugin »

Average Rating

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

Your Rating

Author: _ck_

My Views consists of a main plugin and several optional "module" plugins that can be added if desired for additional new views.


  1. You can preview a demonstration of this plugin here:
    http://bbpress.nfshost.com/forums/view/most-views
    (though many views will be hidden until you register/login)

    Posted: 1 year ago #
  2. :(

    i got this error:

    in
    # Topics with the most views
    # Topics with the least views

    other things is good

    bbPress database error: [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 'WHERE topic_status = 0 AND topic_sticky = 0 ORDER BY FIELD(topic_id, 11,47,16,2' at line 1]
    SELECT * FROM bb_topics WHERE topic_status=0 AND topic_id IN (11,47,16,24,74,68,57,43,46,45,31,13,103,56,52,17,33,34,22,23,10,66,20,32,21,30,5,82,65,80) WHERE topic_status = 0 AND topic_sticky = 0 ORDER BY FIELD(topic_id, 11,47,16,24,74,68,57,43,46,45,31,13,103,56,52,17,33,34,22,23,10,66,20,32,21,30,5,82,65,80)
    WordPress

    also i didnt underestand where should i put <? echo $forum->views; ?>;
    in
    "front-page.php" and "forum.php"

    i put it to
    <tr>
    <th><?php _e('Topic'); ?> — <?php new_topic(); ?></th>
    <th><?php _e('Posts'); ?></th>
    <th><?php _e('Last Poster'); ?></th>
    <th><?php _e('Freshness'); ?></th>
    <th><? echo $forum->views; ?>;</th>
    </tr>

    but nothing happend!!

    Posted: 1 year ago #
  3. I think the bug that causes all of that is fixed in the new 0.08 version.

    Please try it and let me know?

    Posted: 1 year ago #
  4. :( i upgrade mine to .8 but it didn't work!

    Posted: 1 year ago #
  5. kboan23

    Inactive

    I too receive errors all over my page with these plugins installed. I had to deactivate.

    Posted: 1 year ago #
  6. Has anyone gotten My Views to work? I've tired in both 0.8.2.1 and 0.8.3, but always get Internal Server Errors when clicking on the views. Just get premature end of script headers in the logs. Will have to debug in the code I guess. This is with PHP5. The rest of bbPress works great...

    Posted: 11 months ago #
  7. My bad - turns out it's an interaction between the 'Posts since last visit' plugin and My-views. PSLV seems to be the culprit in my testing - so I'm going to see if I can find the problem and fix it.

    My-Views is working great!

    Posted: 11 months ago #
  8. Just added views for topics with most/least posts.
    (for some reason never thought of that before?!)

    Remember if there are ever any views you want to exclude (hide) you can edit near the top of my-views.php and add them to $my_views_remove_views

    My-Views is tested with 0.8.2, 0.8.3 and the latest alpha.
    If you experience problems, please try deactivating some other plugins and see if the issues go away. Please let me know of any incompatibilities you find and I will try to make it peacefully co-exist with them.

    See the pulldown in the upper right for a demonstration of my-views:
    http://bbshowcase.org/forums/view/installed-plugins

    Posted: 8 months ago #
  9. NO! it did not work for me again and also it put to line in my foru,s and i cant remove it!!
    # Topics with no replies
    # Topics with no tags
    i don't no how to remove them!? :(

    Posted: 7 months ago #
  10. mazdakam, you can remove any views you don't want by editing my-views.php and about line 18 change it to include the ones you don't want.

    ie.
    $my_views_remove_views=array("no-replies","no-tags");

    For anyone else getting "errors all over the place" please tell me what other plugins you are running (list all of them).

    Posted: 7 months ago #
  11. Version 0.09 now adds pagination (multi-page)
    support for all standard views within my-views.

    Posted: 7 months ago #
  12. I installed the last version of My_view (0.091) and I activated :
    1)My_views
    2)My Views module - Statistics

    I just want the statistic page. The link for statitics appears well in the view list. Thank you.

    But on the statistic page I have this errors :

    Warning: array_keys() [function.array-keys]: The first argument should be an array in D:\Mes Documents\sites_web\2diabolos.com\forum\my-plugins\my-views\my-views-statistics.php on line 64
    Warning: Invalid argument supplied for foreach() in D:\Mes Documents\sites_web\2diabolos.com\forum\my-plugins\my-views\my-views-statistics.php on line 64
    Warning: array_keys() [function.array-keys]: The first argument should be an array in D:\Mes Documents\sites_web\2diabolos.com\forum\my-plugins\my-views\my-views-statistics.php on line 64
    Warning: join() [function.join]: Invalid arguments passed in D:\Mes Documents\sites_web\2diabolos.com\forum\my-plugins\my-views\my-views-statistics.php on line 64
    bbPress database error: [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 ') ORDER BY FIELD(topic_id, )' at line 1]
    SELECT topic_id,topic_title FROM bb_topics WHERE topic_status=0 AND topic_id IN () ORDER BY FIELD(topic_id, )

    I tried this installation (just My_view and statitics module) on 2 different servers, I got the same errors.
    I added the "<? my_views_header(); ?>" in the view.php template file, nothing changed.

    Someone has a explanation or a solution ?
    Thank you

    Posted: 6 months ago #
  13. thierryyyyyyy, make sure you install the bb-topic-views plugin if you want to use the statistics. Unfortunately I "hard coded" it to use the stats it generated as I did not imagine people wanting to use it otherwise.

    http://bbpress.org/plugins/topic/bb-topic-views/

    Posted: 6 months ago #
  14. itissue

    5 stars
    4 stars
    3 stars
    2 stars
    1 star

    Member

    This plugin works great, but when I view the stats on my forum:
    http://tapestry.endless-sonata.net/view/statistics
    it doesn't display Top Forums or Top Time Online. What do I need to do to display those?

    Also, is there a way I can view the latest discussions? I'm using .83. I tried the Latest Discussions plugin, but it produced an error and wouldn't let me use it. I'm thinking it only works up to version .8.

    Posted: 6 months ago #
  15. itissue

    5 stars
    4 stars
    3 stars
    2 stars
    1 star

    Member

    Nevermind about the Latest Discussions plugin. I just found out it only works if you're using Wordpress. There is however, a Latest Discussions view for My Views right? At least that's what HowToGeek told me. It doesn't seem to be there in the plugin folder though.

    Posted: 6 months ago #
  16. itissue

    5 stars
    4 stars
    3 stars
    2 stars
    1 star

    Member

    Alright. I figured out how to view Latest Discussions. You need to activate Topics I've started/ Topics I've Participated In.

    Posted: 6 months ago #
  17. Latest discussions does not require WordPress at all.
    But I see you figured it out. I'll try to make it a bit smarter about that.

    Posted: 6 months ago #
  18. hmm.. getting this:
    Warning: Invalid argument supplied for foreach() in \www\forums\bb-plugins\my-views\my-views-most-least-views.php on line 60
    Using latest WP and bbPress

    Posted: 4 months ago #
  19. Everyone should note that most/least viewed requires the bb-topic-views plugin to be installed as well:

    http://bbpress.org/plugins/topic/bb-topic-views/

    Posted: 4 months ago #

RSS feed for this topic

Add a Comment »

You must log in to post.

Code is Poetry.