Search Results for 'buddypress'
-
Search Results
-
Topic: Add to friends limits
After creating a profile, spammers start sending friend requests to all users (and then they start sending spam messages). It should be stopped.
Can you add limits for “add to friends” requests?
For example: you can set a limit of 40 requests per day. This time is enough to catch and block the spammer.
And admins will be able to change this number of requests in the settings of BuddyPress (or disable this feature).BuddyPress 4.1.0
Hi there!
I would like to display only member updates on the Activities page (Would like to avoid any other updates like profile changed, etc) – How can I achieve this? I have tried looking through the forums but unable to find a working solution – Nouveau has changed things?
Using the latest version of buddypress and wordpress.
any guidance please?
thanks
Topic: Changing group slug
Hi, I found this page but at the bottom where the snippet is, it says that it’s depreciated and needs updating. https://codex.buddypress.org/getting-started/customizing/changing-internal-configuration-settings/
Can someone help with editing the group slug? The site I’m working on currently uses the page “group” for a page on their site. Enabling the groups option overrides this page with the buddypress group info.
For reference, I’m trying to change the URL from : http://www.website.com/groups to http://www.website.com/regional-groups
Any help is appreciated. Thank you.
Topic: Comments not saved on Group
When I put a comment in a Group, the notification is send as waited and the comment is visible.
When I leave this group and come back, my comment is no more visible.
It’s well save in the Website log.We use the BuddyPress 4.1.0 installed 10th February. No problem occurs with the previous BuddyPress version.
Regards,
Topic: Users Not Able to Register
Recently updated my site to the newest WordPress and Buddypress updates. Everything else seems to work fine but people are not able to register. The register page is there and user is able to fill it out but after hitting submit, it just refreshes the register page and the password section is highlighted. This happens even if a strong password was used. I’ve read previous threads about this who suggested making the subdomain folder title in lowercase. Didn’t work. Also someone suggested adding www. in wordpress url in settings. That kicked me out of the site to where my username and password would no longer work. Had to restore backup to get back into my site.
(I have a placeholder page on fabambitious.com currently because of issue)
Help anyone? I want to launch my site in few days….
All,
Hi! I’ve tried every remedy on Buddypress and other sites to get Alphabetical to be the default view at:
https://familytravel.org/groups/fta-media-members/members/
Still nothing. It’d be great if the URL would help the sort, but is there a plugin or something I’m missing to get this working? I’ve seen the help topics here, but they’re unfortunately not the solution for this.
Any help appreciated!
Hallo ich benutze ein Template von Themeforest. Ich versuche buddypress zu installieren und zu aktivieren das funktioniert nur lädt meine Seite nicht mehr. Kann mir bitte jemand helfen.
Hi,
whenever i try to upload a group title image (background) i can choose the image, click upload, the progressbar runs… and when it’s done, i get the message, that there was a problem during the upload of the image.
I experience this problem even with twentyseventeen theme, with WordPress 5.0.3 and Buddypress 4.1.0 as the only activated plugin.
happens in live zieltraum.de (with more complex configuration) as in staging staging2.zieltraum.de
Help please, as i have no clue, what’s the reason 🙂
Topic: New Topic Notification
Hi,
I have created a custom notification for my site when a post is published, the code used to do this is :-
// 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; $blogusers = get_users( array( 'role' => 'staff' ) ); // Array of WP_User objects. foreach ( $blogusers as $user ) { bp_notifications_add_notification( array( 'user_id' => $user->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 ); /** * Format the BuddyBar/Toolbar notifications * * @since bbPress (r5155) * * @package bbPress * * @param string $action The kind of notification being rendered * @param int $item_id The primary item id * @param int $secondary_item_id The secondary item id * @param int $total_items The total number of messaging-related notifications waiting for the user * @param string $format 'string' for BuddyBar-compatible notifications; 'array' for WP Toolbar */ 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 ); $author_name = get_the_author_meta('display_name', $post->post_author); $custom_title = bp_core_get_user_displayname( $post->post_author ) . ' published a new post "' . get_the_title( $item_id ) . '"'; $custom_link = get_permalink( $post ); $custom_text = bp_core_get_user_displayname( $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; } if ( 'bbp_new_reply' === $action ) { $topic_id = bbp_get_reply_topic_id( $item_id ); $topic_title = bbp_get_topic_title( $topic_id ); $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 ); $title_attr = __( 'Topic Replies', 'bbpress' ); if ( (int) $total_items > 1 ) { $text = sprintf( __( 'You have %d new replies', 'bbpress' ), (int) $total_items ); $filter = 'bbp_multiple_new_subscription_notification'; } else { if ( !empty( $secondary_item_id ) ) { $text = sprintf( __( 'You have %d new reply to %2$s from %3$s', 'bbpress' ), (int) $total_items, $topic_title, bp_core_get_user_displayname( $secondary_item_id ) ); } else { $text = sprintf( __( 'You have %d new reply to %s', 'bbpress' ), (int) $total_items, $topic_title ); } $filter = 'bbp_single_new_subscription_notification'; } // WordPress Toolbar if ( 'string' === $format ) { $return = apply_filters( $filter, '<a href="' . esc_url( $topic_link ) . '" title="' . esc_attr( $title_attr ) . '">' . esc_html( $text ) . '</a>', (int) $total_items, $text, $topic_link ); // Deprecated BuddyBar } else { $return = apply_filters( $filter, array( 'text' => $text, 'link' => $topic_link ), $topic_link, (int) $total_items, $text, $topic_title ); } do_action( 'bbp_format_buddypress_notifications', $action, $item_id, $secondary_item_id, $total_items ); return $return; } } add_filter( 'bp_notifications_get_notifications_for_user', 'custom_format_buddypress_notifications', 1, 5 );How can i create the same for a new bbpress topic? i’m thinking i need to change this code section but not sure how
// 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; $blogusers = get_users( array( 'role' => 'staff' ) ); // Array of WP_User objects. foreach ( $blogusers as $user ) { bp_notifications_add_notification( array( 'user_id' => $user->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 );I am using woffice as the theme, bbpress version 2.5.14, buddypress version 4.1.0 and the latest version of wordpress
Thanks
I had created a test user a few days ago. After I logged the test account out and attempted to log back in the next day, I was shown error messages.
The error messages I am receiving are the following:
“User does not exist” – when the user actually does exist
“Email already taken” – when I go to sign up with the email linked to the account they are responding to with “user who does not exist”
If I go to sign up a new test account with a different email, I’m not receiving the activation email – I’ve checked spam.
It just simply is not letting me register or login or do anything.
I’m so confused. I don’t understand.
Topic: User Based Shortcode?
Is there a way to write a shortcode that can be used by users who enter it into their activity stream? I don’t want them to be allowed to access all of the shortcodes. Just this one.
Id like to put it in BuddyPress, BBPress, Activity Streams, Groups, etc.
Thanks