-
bp-help replied to the topic Me and my friends activity steam? in the forum How-to & Troubleshooting 9 years, 10 months ago
@chatty24
Until the core devs gets this worked out you can use shanebp ‘s solution here:
https://buddypress.org/support/topic/only-friendsyou-in-activity-feed-has-solution-been-found/
It works with the latest WP/BP just keep in mind the admin can still see all activity and subscribers can also see the admins activity but subscribers will only see…[Read more] -
bp-help replied to the topic Me and my friends activity steam? in the forum How-to & Troubleshooting 9 years, 10 months ago
@chatty24
Until the core devs gets this worked out you can use shanebp ‘s solution here:
https://buddypress.org/support/topic/only-friendsyou-in-activity-feed-has-solution-been-found/
It works with the latest WP/BP just keep in mind the admin can still see all activity and subscribers can also see the admins activity but subscribers will only see…[Read more] -
Henry Wright replied to the topic Me and my friends activity steam? in the forum How-to & Troubleshooting 9 years, 10 months ago
-
Henry Wright replied to the topic Remove HTML tags excluding image tag from activity stream in the forum How-to & Troubleshooting 9 years, 10 months ago
-
Henry Wright replied to the topic Remove HTML tags excluding image tag from activity stream in the forum How-to & Troubleshooting 9 years, 10 months ago
-
Henry Wright replied to the topic Remove HTML tags excluding image tag from activity stream in the forum How-to & Troubleshooting 9 years, 10 months ago
-
Henry Wright replied to the topic How to remove ajax request from post activity? in the forum How-to & Troubleshooting 9 years, 10 months ago
Hi @chatty24
The JavaScript that carries out the Ajax request listens for a click on
#aw-whats-new-submit
. Whilst it might not be the most elegant solution, you could just change this ID in your template file and the JS won’t execute. -
Henry Wright replied to the topic [Resolved] How to remove HTML tags from activity stream in the forum How-to & Troubleshooting 9 years, 10 months ago
Hi @chatty24
Try:
function chatty24_no_html_activity( $content ) {
// Remove all HTML tags from the content and return the result.
return wp_filter_nohtml_kses( $content );
}
add_filter( 'bp_activity_content_before_save', 'chatty24_no_html_activity' );Please note I haven’t tested.
-
Henry Wright replied to the topic [Resolved] How to remove HTML tags from activity stream in the forum How-to & Troubleshooting 9 years, 10 months ago
Hi @chatty24
Try:
function chatty24_no_html_activity( $content ) {
// Remove all HTML tags from the content and return the result.
return wp_filter_nohtml_kses( $content );
}
add_filter( 'bp_get_activity_content', 'chatty24_no_html_activity' );Please note I haven’t tested.
-
Henry Wright replied to the topic [Resolved] How To Get Notification Count? (Code)? in the forum How-to & Troubleshooting 9 years, 10 months ago
-
Henry Wright replied to the topic [Resolved] How To Get Notification Count? (Code)? in the forum How-to & Troubleshooting 9 years, 10 months ago
-
Henry Wright replied to the topic Using Redirect to make single link for buddypress dynamic links in the forum How-to & Troubleshooting 9 years, 11 months ago
@chatty24 – I mean, how have you set up
/me/
? Is it a page, a post, a member’s username etc? -
Henry Wright replied to the topic Using Redirect to make single link for buddypress dynamic links in the forum How-to & Troubleshooting 9 years, 11 months ago
Hi @chatty24
Regarding
/me/
, what exactly is that? A page? A post?
@chatty24
Active 9 years, 9 months ago