Search Results for '\"wordpress\"'
-
Search Results
-
Hi,
I have created a custom notification for my site when a post is published, if i have buddypress activated alone i see the notification text but as soon as i activate bbpress i can no longer see the notification description. In order to work out this was happening when bbpress was activated i created a whole new blank install of wpress and only installed the two plugins and when i deactivated bbpress it showed the text.
this is how the notification shows when bbpress is activated
https://www.dropbox.com/s/uepps9cjcd8xan5/With%20BbPress%20no%20text.PNG?dl=0this is how the notification shows when bbpress is NOT activated
https://www.dropbox.com/s/03wch6bc27nsked/Without%20BbPress%20showing%20text.PNG?dl=0I am using Twenty seventeen as the theme, bbpress version 2.5.14, buddypress version 4.1.0 and the latest version of wordpress
The code i have used to generate the notification is below, and this is located in \wp-content\plugins\bp-custom.php
<?php // this is to add a fake component to BuddyPress. A registered component is needed to add notifications function custom_filter_notifications_get_registered_components( $component_names = array() ) { // Force $component_names to be an array if ( ! is_array( $component_names ) ) { $component_names = array(); } // Add 'custom' component to registered components array array_push( $component_names, 'publishpost' ); // Return component's with 'custom' appended return $component_names; } add_filter( 'bp_notifications_get_registered_components', 'custom_filter_notifications_get_registered_components' ); // this hooks to post creation and saves the post id function bp_custom_add_notification( $post_id, $post ) { $post = get_post( $post_id ); $author_id = $post->post_author; bp_notifications_add_notification( array( 'user_id' => $author_id, 'item_id' => $post_id, 'component_name' => 'publishpost', 'component_action' => 'publishpost_action', 'date_notified' => bp_core_current_time(), 'is_new' => 1, ) ); } add_action( 'publish_post', 'bp_custom_add_notification', 99, 2 ); function custom_format_buddypress_notifications( $action, $item_id, $secondary_item_id, $total_items, $format = 'string' ) { // New custom notifications if ( 'publishpost_action' === $action ) { $post = get_post( $item_id ); $custom_title = $post->post_author . ' published a new post ' . get_the_title( $item_id ); $custom_link = get_permalink( $post ); $custom_text = $post->post_author . ' published a new post ' . get_the_title( $item_id ); // WordPress Toolbar if ( 'string' === $format ) { $return = apply_filters( 'publishpost_filter', '<a href="' . esc_url( $custom_link ) . '" title="' . esc_attr( $custom_title ) . '">' . esc_html( $custom_text ) . '</a>', $custom_text, $custom_link ); // Deprecated BuddyBar } else { $return = apply_filters( 'publishpost_filter', array( 'text' => $custom_text, 'link' => $custom_link ), $custom_link, (int) $total_items, $custom_text, $custom_title ); } return $return; } } add_filter( 'bp_notifications_get_notifications_for_user', 'custom_format_buddypress_notifications', 10, 5 );I need to get it so that when bbpress is activated i can see the custom notification description as we use bbpress for our forums
Hi,
I just installed BBpress, set up two forums. Logged in as a subscriber to create a topic and clicked Notify email of follow-up replies. I then logged in as a different subscriber replied to that topic and clicked Notify email of follow-up replies. I never received an email for either user account. Do you users have to have special bbpress accounts in addition to their WordPress User accounts? What could be causing this problem. Both users are subscribed.Topic: Attachment add and view
Hi all i install my bbpress but i have any problem
1) i want change my input section(for topics)
2) i want add files the post and view this documents(.doc,.pptx…) like this plugin
its possible ?Topic: Make bbpress GDPR compliant
Bbpress is not GDPR-compliant because of one thing: The User posts and threads are not collected in WordPress’ feature to export and delete all user data.
Please add this feature next! Thank you. 🙂
Hi,
on members page when I’m clicking member name it goes on redirect loop.
I have WordPress 5.0.3 and Buddypress Versio 4.1.0 installed.Permalinks are set to Custom: /%category%/%postname%/
Any ideas ?
Topic: API key
I get this message: the bbPress Notify (No-Spam)/Private Groups Bridge API Key has not been activated, so the plugin is not checking for updates! Click here to activate bbPress Notify (No-Spam)/Private Groups Bridge. Where do I find my api key?
Use WordPress 4.9Hi!
Sorry, no links, my forum and WordPress installations are on localhost.
After failed import of SMF (2.0.15) database to bbPress 2.5.14. I tried with bbPress 2.6 RC 7 but there is the same problem with both versions. I can’t seem to past by 7th step – “No forum subscriptions to import”. Import monitor listed: “Doing step 6” and it didn’t move past that for 12 hours
My SMF forum database is clean as it can possibly be and I can’t find where is the problem.
Has anyone succeeded to import SMF into bbPress?
Hi
I use WordPress 4.9.8 and some plugins such as Woocommerce, WPML, WP Job Manager and BuddyPress at my website. Today I installed bbPress but I found a conflict with other plugins. When I try to access wp-admin page, it is not loaded correctly and loading is stopped by displaying white page. It is a bad problem, because I can not access to dashboard after login. Please guide me.Thanks