bbPress

Simple, fast, elegant

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

Author Homepage »

Plugin Homepage »

Donate to this plugin »

Average Rating

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

Your Rating

Author: _ck_


  1. Ok it seems to be showing up now cheers.

    Is there a way to stop it showing posts when they aren't new?

    Mine is just showing the previous 48 hours section.
    I am just wanting new post only...how would I go about this?

    Posted: 1 year ago #
  2. Also I am wanting it to show new posts and topics regardless of the user having participated in it.

    Posted: 1 year ago #
  3. _ck_

    5 stars
    4 stars
    3 stars
    2 stars
    1 star

    Moderator

    That's called "Latest Discussions" and it's the front page of bbPress. It's also a view inside "My Views".

    Note Unread Posts will also show all new topics since they last logged in (or 48 hours ago, whichever is older) regardless if they posted or not in the topic.

    Posted: 1 year ago #
  4. Another winner here. Thumbs up!

    Posted: 1 year ago #
  5. First - totally love this! Thanks.

    Second - may be slight off topic, but can you recommend a way I can port your 'makeSortable' code to all the forums? (i.e. use same code on front-page.php, forum.php, and tag-single.php)

    Posted: 1 year ago #
  6. _ck_

    5 stars
    4 stars
    3 stars
    2 stars
    1 star

    Moderator

    kehlers, I doubt that would work very well but if you want to try it, you could change this line (120) in the my-views.php plugin

    if (is_view()) :

    to

    if (!is_topic()) :

    Posted: 1 year ago #
  7. Oh, I think I know what you mean... since the topics are presented in "chunks" (i.e. one page worth of topics), you wouldn't be having a 'true' sort of all the topics in one forum... Hm.

    Posted: 1 year ago #
  8. I can't activate the view plugin on my 0.9.2 installation. Is it not compatible? Is there a patch I can apply to make it work?

    Posted: 1 year ago #
  9. _ck_

    5 stars
    4 stars
    3 stars
    2 stars
    1 star

    Moderator

    asbjornu, it should work on all installs.

    What message if any do you get when you try to access the plugin directly, ala:
    http://yourdomainname.com/forumpath/my-plugins/my-views/my-views.php

    Posted: 1 year ago #
  10. asymmetrik

    Member

    is this code acceptable to add in my-views.php?

    function my_views_init() {
    global $my_views, $bb_current_user;
    
    if ( $bb_current_user->roles[0] != 'keymaster' ) :
            $my_views['remove_views']=array("statistics");
    endif;

    it seems to work correctly but i'm new to bbPress so i wasn't sure if it would blow anything up.

    thanks!

    Posted: 1 year ago #
  11. _ck_

    5 stars
    4 stars
    3 stars
    2 stars
    1 star

    Moderator

    asymmetrik the logic is right but the technical method is wrong.

    However I have made a new plugin for statistics that does a far better job and also has an administrator lock down like you want to do.

    So deactivate that my-views module an install Mini-Stats instead.

    Posted: 1 year ago #
  12. I installed this plugin, and love it so far.

    Especially the forum stats, they rock. However, as I already wrote else where that I migrated my forum from another software, so i wanted to change some things, like:

    Total Topic Views: 0.00
    Average Topic Views per day: 0

    They are both zero at the moment. I have the old information which I want to adjust in the new database.

    I searched the database, but couldn't find the appropriate field to enter the old information.

    How can I get this done?

    Posted: 7 months ago #
  13. _ck_

    5 stars
    4 stars
    3 stars
    2 stars
    1 star

    Moderator

    The view count requires the bb-topic-views plugin to be installed. It's in the readme.

    Posted: 7 months ago #
  14. Tomcraft1980

    Member

    Hi _ck_

    "My Views module - Most/Least Views" seeems to be incompatible with your "Move It" Plugin. Wehan activating "My Views module - Most/Least Views" the "Move Topic form" in topic.php diappears.

    Any suggestions?

    Kind regards

    Tom

    Posted: 7 months ago #
  15. _ck_

    5 stars
    4 stars
    3 stars
    2 stars
    1 star

    Moderator

    You should not be using Move It, at all. Delete it.

    Posted: 7 months ago #
  16. Tomcraft1980

    Member

    What a pity, is there an alternative for "Move It"?

    Posted: 7 months ago #
  17. Tomcraft1980

    Member

    ups... I'm sorry... my fault. There is no incompatibility with move-it, the "Move entire topic to another forum" is what disappears when activating "My Views module - Most/Least Views"!
    All other My Views Plugins cause no problems!

    Nevertheless I deleted the plugin "move it" as you said!

    Any ideas?

    Posted: 7 months ago #
  18. _ck_

    5 stars
    4 stars
    3 stars
    2 stars
    1 star

    Moderator

    Sorry about that, please use this newer copy:

    http://plugins-svn.bbpress.org/my-views/trunk/my-views-most-least-views.php

    Posted: 7 months ago #
  19. @_ck_ i don't see any bb-topic-views in the folder, I uploaded the whole folder.

    Posted: 7 months ago #
  20. _ck_

    5 stars
    4 stars
    3 stars
    2 stars
    1 star

    Moderator

    bb-topic-views is another plugin you have to download separately

    Posted: 7 months ago #

RSS feed for this topic

Add a Comment »

You must log in to post.

Code is Poetry.