Hello. i like this plugin . and i hope it still works until this days. i know its been two years that this plugin is not updating. but i hope you can help me., i installed this plugin and i can see the views label but it not counting. its still zero. please i need your answers.,
]]>Could you update your instructions about adding the view count as a column from the Other notes? My loop-topics.php doesn’t make it to line 71 as your instructions suggest. They stop with
<?php do_action( ‘bbp_template_after_topics_loop’ ); ?>
]]>Hello,
I have language translations for this plugin in both Romanian and Georgian. With whom may I speak to about providing them for use with your plugin?
Thanks,
Josh
I made the following modification to bbp-topics.view.php to get an initial view count without having to view each post first.
function btv_get_topic_view_count( $topic_id = 0 ) {
$topic_id = bbp_get_topic_id( $topic_id );
if ( empty( $topic_id ) )
return 0;
$views = (int) get_post_meta( $topic_id, '_btv_view_count', true );
/**** begin modification ****/
if ( $views == 0 ) {
$views = bbp_get_topic_post_count( $topic_id );
if ( $views > 1 )
$views = $views + bbp_get_topic_reply_count_hidden( $topic_id );
update_post_meta( $topic_id, '_btv_view_count', $views );
}
/**** end modification ****/
return $views;
}
https://www.ads-software.com/extend/plugins/bbp-topic-views/
]]>bbP 2.1.2
Using <?php echo do_shortcode(‘[bbp-single-view id="btv-most-viewed"]‘); ?> on archive-forum.php to get popular topics on forums list page but getting the “No topics…” message.
The plugin is counting views successfully in the topic meta area.
Any thoughts?
Thanks!
https://www.ads-software.com/extend/plugins/bbp-topic-views/
]]>I was using this plugin, and it was fine; I had some other issues (speed and memory) and asked the host to migrate the site from windows to linux–and started getting the following strange errors when I clicked on a topic–even though the counting of views was still working:
Warning: session_start() [function.session-start]: open(/var/chroot/home/content/82/8351782/tmp/sess_2aorcel9g0ujkp4lkmd61nde50, O_RDWR) failed: No such file or directory (2) in/home/content/82/8351782/html/whup/wp-content/plugins/bbp-topic-views/bbp-topic-views.php on line 76
Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at /home/content/82/8351782/html/whup/wp-content/plugins/bbp-topic-views/bbp-topic-views.php:76) in /home/content/82/8351782/html/whup/wp-content/plugins/bbp-topic-views/bbp-topic-views.php on line 76
Warning: Cannot modify header information – headers already sent by (output started at /home/content/82/8351782/html/whup/wp-content/plugins/bbp-topic-views/bbp-topic-views.php:76) in/home/content/82/8351782/html/whup/wp-includes/pluggable.php on line 881
Warning: Unknown: open(/var/chroot/home/content/82/8351782/tmp/sess_2aorcel9g0ujkp4lkmd61nde50, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct () in Unknown on line 0
https://www.ads-software.com/extend/plugins/bbp-topic-views/
]]>Hello I would like to request this feature of supporting Jetpack data to be included in the plugin, instead of starting from 0 count of views or minimum amount due to replies.
If anyone figured out how to make it work this way, please post here the code.
I have an old plugin for the post views working this way, is called Post n’ Page views. But I need one for the forums and I thought would be nice to display the jetpack data rather than start from scratch.
Thanks in advance
https://www.ads-software.com/extend/plugins/bbp-topic-views/
]]>I just installed the plugin and am getting (0 views) for all topics in all forums.
I’ve run a Tools->Recount and still nothing.
Any suggestions?
Thanks,
Karla
https://www.ads-software.com/extend/plugins/bbp-topic-views/
]]>Does this work via AJAX/JS or via a php increment of the visit count in mysql? If php based, then this won’t work with caching plugins. Right?
https://www.ads-software.com/extend/plugins/bbp-topic-views/
]]>