1. tracedef

    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 1 year ago #
  2. _ck_

    senior admin
    Joined: Jul '06
    Posts: 685

    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 1 year ago #
  3. tracedef

    new member
    Joined: Jun '09
    Posts: 4

    offline

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

    Posted 1 year ago #
  4. tracedef

    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 1 year ago #
  5. _ck_

    senior admin
    Joined: Jul '06
    Posts: 685

    offline

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

    Note this will probably not work with 1.0 RC

    Posted 1 year ago #
  6. tracedef

    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 1 year ago #
  7. _ck_

    senior admin
    Joined: Jul '06
    Posts: 685

    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 1 year ago #

Reply

You must log in to post.

keep _ck_ coding >> donate $5 <<     Theme Switcher:
16 users online from in the past 30 minutes. 12 bots 4 guests
237 views today 3,983 yesterday 9,585 peak. Most at once 20 today 77 yesterday 115 peak.
1,783 posts in 296 topics over 44 months by 344 of 1,173 members. Latest: juanmanolo, marcosgdf, fil.diesel