My Views consists of a main plugin and several optional "module" plugins that can be added if desired for additional new views.
bbPress Plugin Browser »
My Views (0.1.4)
Download
Version: 0.1.4
Last Updated: 2009-8-15
Requires bbPress Version: 0.8.2 or higher
Compatible up to: 0.9
Average Rating





Your Rating
Author: _ck_
-
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: 4 years ago # -
:(
i got this error:
in
# Topics with the most views
# Topics with the least viewsother 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)
WordPressalso 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: 4 years ago # -
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: 4 years ago # -
:( i upgrade mine to .8 but it didn't work!
Posted: 4 years ago # -
I too receive errors all over my page with these plugins installed. I had to deactivate.
Posted: 4 years ago # -
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: 4 years ago # -
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: 4 years ago # -
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-pluginsPosted: 4 years ago # -
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: 4 years ago # -
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: 4 years ago # -
Version 0.09 now adds pagination (multi-page)
support for all standard views within my-views.Posted: 4 years ago # -
I installed the last version of My_view (0.091) and I activated :
1)My_views
2)My Views module - StatisticsI 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 youPosted: 3 years ago # -
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.
Posted: 3 years ago # -
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: 3 years ago # -
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: 3 years ago # -
Alright. I figured out how to view Latest Discussions. You need to activate Topics I've started/ Topics I've Participated In.
Posted: 3 years ago # -
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: 3 years ago # -
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 bbPressPosted: 3 years ago # -
Everyone should note that most/least viewed requires the bb-topic-views plugin to be installed as well:
Posted: 3 years ago #
Add a Comment »
You must log in to post.