Search Results for 'private'
-
Search Results
-
Topic: Editing /groups/create.php
I have copied create.php into my theme and am attempting to edit it. How do I set the default checked= to a private group status? No matter what I do public is always checked by default. This question extends to the other form fields as well. Also, where do I edit the action for create.php as I will need to add additional form fields? Thanks.
Topic: Private vs. Public profile
I am integrating my site with WC Memberships, so the user will either be logged in or not. Using BuddyPress’ profiles, will they be able to control what is seen and searchable both to other members who are logged in, and to the public-facing site?
Thanks!
Can someone please assist in how I can create a specific button next to ‘Private Messaging’ to link to an existing page?
Hello, we’re having issues with BuddyPress private messaging on our site https://www.lightstalking.com/
We’re using Version 4.1.0 of BuddyPress running on WP 4.9.8
This issues happens only with an admin account – it’s impossible to send new private messages from an admin account to other users of forum.
When we try to do that, we get an error message (I attached a screenshot of it) – https://www.screencast.com/t/XoU5ZLRaAtf
Let us know if there’s anything to do about this.
Best regards,
LightStalking teamHello, I’d like to ask some help, please.
I need that any user of my site could access the others groups home pages (even others private groups which the user don’t belong to) and access the members lists of any group. Does anybody know any hook or any other way?
Thanks in advance.
This is a five year old topic, but stil unsolved.
Help is appreciated, can anyone in here figure out why the code is not working?How to make subject field in private messages isn’t required?
I did not test this but go into the theme folder members/single/messages/compose.php
find this:<input type=”text” name=”subject” id=”subject” value=”<?php bp_messages_subject_value(); ?>” />
change it to this:
<input type=”hidden” name=”subject” id=”subject” value=”private message” />Hey All!
It’s me again. I upgraded from BuddyPress 3.2.0 to 4.0.0. After the Upgrade the “Add Members” Form on the Group Page in the Backend was empty. I only got the title “Add new member”.
Is there any workaround?
Thanks in Advance
frostthoWordPress Version 4.9.8
BuddyPress Version 4.0.0
BuddyPress Plugin: LH Private BuddyPress 1.0.8
Running on Apache / Ubuntu 18.04Hi, I need to consent the Private Messages reply only to specific User Role.
So every registered user can read the Private Messages, butI need to to consent the Private Messages reply only to specific User Role.What Should I do to do that?
Hello,
I made a button below each post for sending a message to the post author. But I need also that the subject line fills automatically with the post title and ID.
This is the code I have now:
/** * Get a link to send PM to the given User. * * @param int $user_id user id. * * @return string */ function buddydev_get_send_private_message_to_user_url( $user_id ) { return wp_nonce_url( bp_loggedin_user_domain() . bp_get_messages_slug() . '/compose/?r=' . bp_core_get_username( $user_id )); } /** * Shortcode [bp-pm-button username=optional_some_user_name] * * @param array $atts shortcode attributes. * @param string $content content. * * @return string */ function buddydev_private_message_button_shortcode( $atts, $content = '' ) { $atts = shortcode_atts( array( 'user_id' => '', 'username' => '', 'label' => 'Send Private Message', ), $atts ); $user_id = absint( $atts['user_id'] ); $user_login = $atts['username']; // if the username is given, override the user id. if ( $user_login ) { $user = get_user_by( 'login', $user_login ); if ( ! $user ) { return ''; } $user_id = $user->ID; } if ( ! $user_id ) { if ( ! in_the_loop() ) { return ''; } $user_id = get_the_author_meta('ID' ); } } add_shortcode( 'bp-pm-button', 'buddydev_private_message_button_shortcode' ); /** * Get the button for the post author. * * @return string */ function buddydev_get_author_private_message_button() { if ( ! in_the_loop()) { return ''; } $user_id = get_the_author_meta('ID'); // can't pm to themselves. if ( bp_loggedin_user_id() === $user_id ) { return ''; } return sprintf('<a class="sg-popup-id-11605" id="private-message-bp" href="%1$s">%2$s</a>', buddydev_get_send_private_message_to_user_url( $user_id ), 'Send Private Message' ); } /** * Do you want to automatically inject the button on each post? * * @param string $entry_content entry content. * * @return string */ function buddydev_inject_private_message_button( $entry_content ) { // append at the bottom. $entry_content = $entry_content . buddydev_get_author_private_message_button(); // if you want to only do it on single entry pages(single post etc), you can comment the above line // and uncomment the block below /* if ( is_singular() ) { $entry_content = $entry_content . buddydev_get_author_private_message_button(); } */ // want to test for a post type, you may use is_singular('post_type_name') instead of is_singular() return $entry_content; } // append to the post entry? add_filter( 'the_content', 'buddydev_inject_private_message_button' );Thank you!
Hey all,
I’m using the Mesmerize Design and I’m verry happy about it. But after installing BuddyPress I recognized that the Member and Group Navigations on the profile pages are missing.
In both settings (horizontal and vertical) the don’t appear.
Aquick view in /wp-content/plugins/buddypress/bp-templates/bp-nouveau/buddypress/members/single/home.php didn’t help me.Do you have any idea how to get the menu back? Users are nearly unable to use it without this navigation bar.
Thanks!
frostthoWordPress Version 4.9.8
BuddyPress Version 3.2.0
BuddyPress Plugin: LH Private BuddyPress 1.0.8
Running on Apache / Ubuntu 18.04Topic: SHOW GROUPS ADMINS
Hello, I hope someone could help me, please.
I need that any user of my site could contact the administrators of others groups directly (even others private groups which the users don’t belong to). So, is it possible in the groups directory of BuddyPress to show the administrators of each group next to groups titles and its details?
Thanks in advance.
Hi 🙂
I do not know if my problem is more concerned with buddypress support or bbpress support, but I wrote here.My WordPress
bbPress 2.5.14
BuddyPress 3.2.0
I use theme Eduma.I’m using BuddyPress and created a group with a private forum. The problem is that the group forum has no template. If I check the page, it has all classes. It looks like it can’t read the css bbpress file (it look like that Annex1). I created the forum using bbPress. My forum looks like that Annex 2 and the group forum should look exactly the same. How can I do this? I will be grateful for your help.
Hi,
Would someone be kind enough to help me with changing a buddypress error message? (wordpress 4.9.8, buddypress 3.1.0)I am restricting private messaging to user’s friends/connections. Currently, the error message returned when sending a private message to someone not in your network is “Message not sent. Please try again.” which doesn’t make sense. I would like it to say something like, “Sorry, you can only send a private message to connections in your network.” How might I change this error message?
I have been using the following code in child functions to restrict private messaging:
// if not site admin, restrict PMs to friends function pp_check_message_recipients( $message_info ) { // site admins are not restricted if ( is_super_admin() ) return $message_info; $recipients = $message_info->recipients; $friend_ids = friends_get_friend_user_ids( bp_displayed_user_id() ); $nf = 0; foreach ( $recipients as $key => $recipient ) { if ( ! in_array( $recipient->user_id, $friend_ids ) ) $nf++; } // if any recipients are not friends, remove everyone from the recipient's list if ( $nf > 0 ) unset( $message_info->recipients ); return $message_info; } add_action( 'messages_message_before_save', 'pp_check_message_recipients' );Hi guys,
I’m having this problem that when I activate the private messaging function, an old sitewide announcement lockes the site. I cannot close it! And I cannot delete this message either. See this video
Could you please help me out?Kind regards