I recommend and support this plugin:
http://bbpress.org/plugins/topic/bb-topic-views
http://bbpress.org/forums/topic/plugin-bb-topic-views
My own "My Views" takes advantage of the data it creates.
I recommend and support this plugin:
http://bbpress.org/plugins/topic/bb-topic-views
http://bbpress.org/forums/topic/plugin-bb-topic-views
My own "My Views" takes advantage of the data it creates.
i got this error:
in
# Topics with the most views
# Topics with the least views
other 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)
WordPress
also 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!!
Ooh, I am not sure what is causing that error.
I will have to study it and think carefully. Is that mysql 4 or 5 ?
As far as the views, you are putting it in the table header which is wrong. You are also putting it in the wrong section:
Ooh, I am not sure what is causing that error.
I will have to study it and think carefully.
As far as the views, you are putting it in the table header which is wrong. You are also putting it in the wrong section:
<table id="forumlist">
<tr>
<th><?php _e('Main Theme'); ?></th>
<th><?php _e('Topics'); ?></th>
<th><?php _e('Posts'); ?></th>
<th><?php _e('Views'); ?></th>
</tr>
<?php while ( bb_forum() ) : ?>
<tr<?php bb_forum_class(); ?>>
<td><?php bb_forum_pad( '<div class="nest">' ); ?>"><?php forum_name(); ?><small><?php forum_description(); ?></small><?php bb_forum_pad( '</div>' ); ?></td>
<td class="num"><?php forum_topics(); ?></td>
<td class="num"><?php forum_posts(); ?></td>
<td class="num"><? echo $forum->views; ?></td>
</tr>
hi
i upgrade my bbpress with the latest in svn
and error was fixed
i also put the <td class="num"><? echo $forum->views; ?></td>
in the right place and views appear but...
1) it shows worng number in latest discussion column: http://forum.wp-persian.com/
2) and it wont show number of views when you are in sub forum: http://forum.wp-persian.com/forum/4
here is files please take a look at them....
http://wp-persian.com/forum/bb-templates/kakumei/_CCK_View.zip
Ah sorry, I keep forgetting to check here.
To solve the problem on the sub-forums do this instead:
<td class=num><?php echo $GLOBALS['forum']->views; ?></td>
Hi,
I need a small modification of this plugin. I have a image in every topic called clickme.jpg. Now I want the topic view only count when this image is clicked. So not when the topic link is clicked (and the topic is opened), but when the image in the topic is clicked. How to proceed?
Many thx
Hey, _ck_. I noticed that you've been supporting this plugin quite handily since I last checked the BBPress extend site. I developed this plugin specifically for a project that I was working on, whose life cycle is now over. So, if you're willing to "adopt" this plugin, go right ahead.
Do you know if there's something I can do on the bbP Extend site to list you as the keeper of this plugin?
Thanks,
mike at wittmania dot com
Hi, good to hear from you wittmania, thanks for registering.
To add me you just have to contact Michael (MDAWaffe) and ask him - he's often on the bbPress IRC channel if you know how to use that. If you see Sambauers you can probably just tell him too.
Or I guess you can list me as a contributor on the plugin authors list and re-upload that, and once he see's that I can just tell him to give me access permission.
I had a thought last night I could replace the function of your plugin via my new Mini-Track plugin since I can then track what topics a user visits without using sessions which have some issues, like clearing forms when you hit the back button to try again if there was an error. I can also tell the difference between bots and humans so I can give an option to only increment the view count if it's a human.
But I can still get your plugin up to speed for 1.0
RSS feed for this topic
You must log in to post.
![US [7] US](/images/flags/us.png)
![DE [1] DE](/images/flags/de.png)
![NL [1] NL](/images/flags/nl.png)
in the past 30 minutes. 4 bots 6 guests