Search

bbPress Showcase » Plugins by _ck_

  1. tracedef
    User has not uploaded an avatar

    new member
    Joined: Jun '09
    Posts: 4

    offline

    I'm using the show topic views and it works great. I'm trying to show front page "Forum Views" like those implemented on bbshowcase, but the same number appears on each forum, I'm using: show_view_count(); maybe I need a different tag when trying to show forum counts as opposed to topic counts or maybe it's another plugin altogether? Any feedback appreciated!

    Posted 2 years ago #
  2. _ck_
    _ck_

    senior admin
    Joined: Jul '06
    Posts: 884

    offline

    It's a little messy but to do that you need the My Views "most/least views" module installed and then you need to use in your template:

    <td class="num"><?php echo bb_number_format_i18n($GLOBALS['forum']->views); ?></td>
    Posted 2 years ago #
  3. tracedef
    User has not uploaded an avatar

    new member
    Joined: Jun '09
    Posts: 4

    offline

    Thanks! I will give this a shot. I really appreciate the fast response.

    Posted 2 years ago #
  4. tracedef
    User has not uploaded an avatar

    new member
    Joined: Jun '09
    Posts: 4

    offline

    I used the code, turned on the my views plugin and the most/least views modules for posts and topics (just to be safe) and I'm getting a 0 for a views on front page topics.... any other steps I'm missing? I'm at leadpress.com/forums/ for whatever it's worth...

    Posted 2 years ago #
  5. _ck_
    _ck_

    senior admin
    Joined: Jul '06
    Posts: 884

    offline

    Did you change the code as I showed above in your template?

    Note this will probably not work with 1.0 RC

    Posted 2 years ago #
  6. tracedef
    User has not uploaded an avatar

    new member
    Joined: Jun '09
    Posts: 4

    offline

    I did change the code. Also tried echo $forum->views; as the readme suggests.... I'm on Alpha 6 so that we're ok with buddypress, so maybe that's the issue.... thanks for your help.

    Posted 2 years ago #
  7. _ck_
    _ck_

    senior admin
    Joined: Jul '06
    Posts: 884

    offline

    It's possible it broke with alpha 6.
    Many of my plugins only work until alpha 5 because they kept changing things with every update.

    Posted 2 years ago #

RSS feed for this topic

Post a reply to “Show Forum Views?”

You must log in to post.

keep _ck_ coding >> donate $5 <<     Theme Switcher:
36 users online from in the past 30 minutes. 15 bots 21 guests
1,115 views today 8,665 yesterday 14,010 peak. Most at once 42 today 48 yesterday 131 peak. Visited today: Dickinsonjohn9, shairah27
2,245 posts in 385 topics over 63 months by 426 of 1,989 members. Latest: dxdiag02, Pablo01, Dickinsonjohn9