Search Results for 'code'
-
Search Results
-
Hi,
I would like to hide the topic count on my main forum category page – but only that page. I am using WP 4.2.2., the most recent version of Buddypress, Air child theme for Builder (iThemes) and Wishlist member.
http://papercrafterslibrary.co/forums/forum/pcl-member-forum/
I inspected the code using Firebug and I can see that it is .bbp-template-notice – I just don’t know how to set it up correctly to only hide the topic count on that single page.
Thanks,
Andra
Hi folks,
bbPress is amazing with Buddypress, but one thing is anoying me:
When i have new Replys or a Notification of a new Reply. The generated Link directs me to the front Page or the First Post of the Topic.
But the Notification is called “You have a new Reply from XY to Topic ABC”.
So i want to see the new Reply, not the first Entry of this Topic (bc. i created this Topic).I arranged it like that:
Changed the following Code:
“bbpress/includes/extend/buddypress/notifications.php” / Line 49$topic_link = wp_nonce_url( add_query_arg( array( 'action' => 'bbp_mark_read', 'topic_id' => $topic_id ), bbp_get_reply_url( $item_id ) ), 'bbp_mark_topic_' . $topic_id );to
$topic_link = wp_nonce_url( add_query_arg( array( 'action' => 'bbp_mark_read', 'topic_id' => $item_id ), bbp_get_reply_url( $item_id ) ), 'bbp_mark_topic_' . $item_id );and
“bbpress/includes/extend/buddypress/notifications.php” / Line 113-120// Get some reply information $args = array( 'user_id' => $topic_author_id, 'item_id' => $topic_id, 'component_name' => bbp_get_component_name(), 'component_action' => 'bbp_new_reply', 'date_notified' => get_post( $reply_id )->post_date, );to
// Get some reply information $args = array( 'user_id' => $topic_author_id, 'item_id' => $reply_id, 'component_name' => bbp_get_component_name(), 'component_action' => 'bbp_new_reply', 'date_notified' => get_post( $reply_id )->post_date, );So it´s Kind of a Core Hack.
Could it be impimented as an Option or via other Filter? I don´t know how to do it “right”.Pls Help and Greetings
Hi guys,
I recently released a plugin for bbPress+WordPress, which adds a brand new shortcode that displays various statistics for your forum, and also includes the bbPress Statistics as an on/off toggle.
For those trying to replicate a similar look and feel to say, phpBB or vBulletin, this will help!
In future versions, I plan on implementing an actual widget – however, due to the way I have written the plugin I get the feeling it would require a full rewrite to achieve that – so it may be a while off yet.
Anyway, if you’re interested, check it out here: https://wordpress.org/plugins/bbpress-improved-statistics-users-online/