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!
bbPress ShowcasebbPress Showcase
bbPress Showcase » Plugins by _ck_
-
Posted 2 years ago #
-
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 # -
Thanks! I will give this a shot. I really appreciate the fast response.
Posted 2 years ago # -
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 # -
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 # -
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 # -
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.