Search Results for 'forum'
-
Search Results
-
Hi All
Hoping you can help. (•_•)
On our website, we use a plugin to automate the posting of news topics to one of my forums.
The plugin works well and the new topics are posted fine – The thing is – Even though the forum posts appear fine on the front end – The new forum topic activity is not being registered in the activity feed.
If I manually post a new topic in the same forums (but on the front end (not using the plugin), the new topic is registered in the activity feed as it should.
Any suggestions on what might be missing. Is there a hook that needs to be triggered that may be being missed by the plugin when posting to forums automatically via the backend?
Cheers for any insight
Topic: Change Profile Nav Tab order
Topic: Like Buttom
I’m struggling a bit after my install and testing.
I think I’ve been through all the settings, documentation and support forum but just cant see it.
How do I activate/create a like button or isn’t there one?
I get comment/favourite/delete options but no like.
I think people coming to a new community site would expect to be able to like other stuff and its counter intuitive for it not to be there.
Yours Simon
Hi,
I’m experiencing some really odd behaviour when trying to change the slug for my group directory and redirect traffic.
My set-up is: BP 9.1.1; BBp 2.6.6, WP 5.8.1
Short explanation:
- traffic to a pre-change (/[old]/[groupname]) group url is being redirected to (/[new]/[groupname]/forum)
- This happens regardless of whether:
- There is a specific redirect in place
- There is a regex redirect in place (/[old]/(.*) to /[new]/$1/)
- There is no redirect at all
- My redirect provider – Rank Math – can’t explain this.
I’ve not modified my hta, and the only other redirect rules in page on the site relate to post-login behaviour. It seems there’s something deep within Buddypress, BBpress or WordPress which is driving this, but I have no idea what.
Does anyone have any idea what might be causing this? I dare not make this change on my live site without resolving and having a clear idea what’s behind it.
Appreciate any suggestions…
Topic: Disable Groups, Forums, etc.
I do not want to offer Members groups and forums so how do i disable those or do I just remove the menu? what is the best way?
Thanks
Topic: Images on scheduled posts
I have been scheduling posts for a while now and everything works fine EXCEPT that images included in the posts seem to disappear after a while. I am not sure why.
They will show as an attached image in addition to the embedded image, but I don’t need them both. If I remove the attached image, it also removes the embedded one.
What is the simplest way to have an image embedded in a scheduled post when I have to create those posts in the backend using the WP editor (instead of the forum itself)?
Here is an example of a simple post that I schedule every month and you can see the image will be different every month.
Our users are unable to turn off notifications to the forum. Even though they go under subscriptions and completely turn off everything and they go under settings->email and turn off all notifications, they are still sending. Any suggestions?
Hello Guys,
I am creating a post subscription. When any user subscribe to any post I want to send them notifications about comments and post activities. I am adding custom notifications to buddypress. Notifications are adding but in frontend the title of notification is not showing. I checked many forums but did not find any solution.
Below is my code:
public function __construct() { add_filter( 'bp_notifications_get_registered_components', array($this,'custom_filter_notifications_get_registered_components'),20 ); add_filter( 'bp_notifications_get_notifications_for_user', array($this,'custom_format_buddypress_notifications'), 10, 7 ); add_action( 'wp_insert_comment', array($this,'bp_custom_add_notification'), 99, 2 ); } For custom component public 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, 'custom' ); // Return component's with 'custom' appended return $component_names; } For notification formatting public function custom_format_buddypress_notifications( $content, $item_id, $secondary_item_id, $total_items, $format = 'string', $action, $component ) { if ( 'custom_action' === $action ){ $comment = get_comment( $item_id ); $custom_title = $comment->comment_author . ' commented on the post ' . get_the_title( $comment->comment_post_ID ); $custom_link = get_comment_link( $comment ); $custom_text = $comment->comment_author . ' commented on your post ' . get_the_title( $comment->comment_post_ID ); // WordPress Toolbar if ( 'string' === $format ) { $data_to_return = apply_filters_ref_array( 'custom_filter', '<a href="' . esc_url( $custom_link ) . '" title="' . esc_attr( $custom_title ) . '">' . esc_html( $custom_text ) . '</a>', $custom_text, $custom_link ); // Deprecated BuddyBar } else { $data_to_return = apply_filters_ref_array( 'custom_filter', array( 'text' => $custom_text, 'link' => $custom_link ), $custom_link, (int) $total_items, $item_id, $secondary_item_id ); } return $data_to_return; } else{ return $action; } } For adding notification public function bp_custom_add_notification( $comment_id, $comment_object ) { $subscribed_user = get_post_meta( $comment_object->comment_post_ID , 'subscribed_user',true ); if(!empty($subscribed_user) && is_array($subscribed_user)){ for ($i=0; $i < count($subscribed_user); $i++) { if ( bp_is_active( 'notifications' ) ) { bp_notifications_add_notification( array( 'user_id' => $subscribed_user[$i], 'item_id' => $comment_id, 'component_name' => 'custom', 'component_action' => 'custom_action', 'date_notified' => bp_core_current_time(), 'is_new' => 1, ) ); } } } }Please suggest best possible way to fix this issue.
Thank You