Search Results for 'private'
-
AuthorSearch Results
-
March 20, 2019 at 12:25 pm #303760
In reply to: Bug in private message
aoiu
ParticipantNo solution ?
Ifnot, would it be possible to delete the object in private messages from buddypress ?
March 19, 2019 at 1:34 pm #303695cdtrue
ParticipantThank you! That gets me half way 🙂
I still get the notification after registration about the activation link – and I do not think that the little old ladies using my site will get that they have to activate and then wait for approval (to much for them to take in).
So I now are able to stop users with the extra My Private Site-plugin and the messages sent out from BP egistration works as a charm. There is only one (Account Approved Email) that actually is sent though – I can not figure out how to get the other ones to override the BuddyPress – activation-email. And if I de-activate that e-mail no e-mail is sent at all.
Also when I click on the register-button in the registration form I get redirected to a page that says that my account needs to be activated and I have to check my e-mail to do so. I want to loose it or change the text.
If they try to log in anyway they get the wordpress opt of re-sending the activation-link. Same thing here – preferably change the text.
But where do I find the texts? I guess the re-direct page is automated from BP, the other one is from WP.
Any tips?
March 14, 2019 at 3:29 pm #303549In reply to: Register page keep refreshing
airsid
ParticipantHello,
Please find attached my plugins/buddypress/bp-themes/bp-default/registration/register.php content<?php get_header( 'buddypress' ); ?> <div id="content"> <div class="padder"> <?php do_action( 'bp_before_register_page' ); ?> <div class="page" id="register-page"> <form action="" name="signup_form" id="signup_form" class="standard-form" method="post" enctype="multipart/form-data"> <?php if ( 'registration-disabled' == bp_get_current_signup_step() ) : ?> <?php do_action( 'template_notices' ); ?> <?php do_action( 'bp_before_registration_disabled' ); ?> <p><?php _e( 'User registration is currently not allowed.', 'buddypress' ); ?></p> <?php do_action( 'bp_after_registration_disabled' ); ?> <?php endif; // registration-disabled signup setp ?> <?php if ( 'request-details' == bp_get_current_signup_step() ) : ?> <h2><?php _e( 'Create an Account', 'buddypress' ); ?></h2> <?php do_action( 'template_notices' ); ?> <p><?php _e( 'Registering for this site is easy, just fill in the fields below and we\'ll get a new account set up for you in no time.', 'buddypress' ); ?></p> <?php do_action( 'bp_before_account_details_fields' ); ?> <div class="register-section" id="basic-details-section"> <?php /***** Basic Account Details ******/ ?> <h4><?php _e( 'Account Details', 'buddypress' ); ?></h4> <label for="signup_username"><?php _e( 'Username', 'buddypress' ); ?> <?php _e( '(required)', 'buddypress' ); ?></label> <?php do_action( 'bp_signup_username_errors' ); ?> <input type="text" name="signup_username" id="signup_username" value="<?php bp_signup_username_value(); ?>" /> <label for="signup_email"><?php _e( 'Email Address', 'buddypress' ); ?> <?php _e( '(required)', 'buddypress' ); ?></label> <?php do_action( 'bp_signup_email_errors' ); ?> <input type="text" name="signup_email" id="signup_email" value="<?php bp_signup_email_value(); ?>" /> <label for="signup_password"><?php _e( 'Choose a Password', 'buddypress' ); ?> <?php _e( '(required)', 'buddypress' ); ?></label> <?php do_action( 'bp_signup_password_errors' ); ?> <input type="password" name="signup_password" id="signup_password" value="" /> <label for="signup_password_confirm"><?php _e( 'Confirm Password', 'buddypress' ); ?> <?php _e( '(required)', 'buddypress' ); ?></label> <?php do_action( 'bp_signup_password_confirm_errors' ); ?> <input type="password" name="signup_password_confirm" id="signup_password_confirm" value="" /> <?php do_action( 'bp_account_details_fields' ); ?> </div><!-- #basic-details-section --> <?php do_action( 'bp_after_account_details_fields' ); ?> <?php /***** Extra Profile Details ******/ ?> <?php if ( bp_is_active( 'xprofile' ) ) : ?> <?php do_action( 'bp_before_signup_profile_fields' ); ?> <div class="register-section" id="profile-details-section"> <h4><?php _e( 'Profile Details', 'buddypress' ); ?></h4> <?php /* Use the profile field loop to render input fields for the 'base' profile field group */ ?> <?php if ( bp_is_active( 'xprofile' ) ) : if ( bp_has_profile( array( 'profile_group_id' => 1, 'fetch_field_data' => false ) ) ) : while ( bp_profile_groups() ) : bp_the_profile_group(); ?> <?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?> <div class="editfield"> <?php if ( 'textbox' == bp_get_the_profile_field_type() ) : ?> <label for="<?php bp_the_profile_field_input_name(); ?>"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ); ?><?php endif; ?></label> <?php do_action( bp_get_the_profile_field_errors_action() ); ?> <input type="text" name="<?php bp_the_profile_field_input_name(); ?>" id="<?php bp_the_profile_field_input_name(); ?>" value="<?php bp_the_profile_field_edit_value(); ?>" /> <?php endif; ?> <?php if ( 'textarea' == bp_get_the_profile_field_type() ) : ?> <label for="<?php bp_the_profile_field_input_name(); ?>"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ); ?><?php endif; ?></label> <?php do_action( bp_get_the_profile_field_errors_action() ); ?> <textarea rows="5" cols="40" name="<?php bp_the_profile_field_input_name(); ?>" id="<?php bp_the_profile_field_input_name(); ?>"><?php bp_the_profile_field_edit_value(); ?></textarea> <?php endif; ?> <?php if ( 'selectbox' == bp_get_the_profile_field_type() ) : ?> <label for="<?php bp_the_profile_field_input_name(); ?>"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ); ?><?php endif; ?></label> <?php do_action( bp_get_the_profile_field_errors_action() ); ?> <select name="<?php bp_the_profile_field_input_name(); ?>" id="<?php bp_the_profile_field_input_name(); ?>"> <?php bp_the_profile_field_options(); ?> </select> <?php endif; ?> <?php if ( 'multiselectbox' == bp_get_the_profile_field_type() ) : ?> <label for="<?php bp_the_profile_field_input_name(); ?>"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ); ?><?php endif; ?></label> <?php do_action( bp_get_the_profile_field_errors_action() ); ?> <select name="<?php bp_the_profile_field_input_name(); ?>" id="<?php bp_the_profile_field_input_name(); ?>" multiple="multiple"> <?php bp_the_profile_field_options(); ?> </select> <?php endif; ?> <?php if ( 'radio' == bp_get_the_profile_field_type() ) : ?> <div class="radio"> <span class="label"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ); ?><?php endif; ?></span> <?php do_action( bp_get_the_profile_field_errors_action() ); ?> <?php bp_the_profile_field_options(); ?> <?php if ( !bp_get_the_profile_field_is_required() ) : ?> <a class="clear-value" href="javascript:clear( '<?php bp_the_profile_field_input_name(); ?>' );"><?php _e( 'Clear', 'buddypress' ); ?></a> <?php endif; ?> </div> <?php endif; ?> <?php if ( 'checkbox' == bp_get_the_profile_field_type() ) : ?> <div class="checkbox"> <span class="label"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ); ?><?php endif; ?></span> <?php do_action( bp_get_the_profile_field_errors_action() ); ?> <?php bp_the_profile_field_options(); ?> </div> <?php endif; ?> <?php if ( 'datebox' == bp_get_the_profile_field_type() ) : ?> <div class="datebox"> <label for="<?php bp_the_profile_field_input_name(); ?>_day"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ); ?><?php endif; ?></label> <?php do_action( bp_get_the_profile_field_errors_action() ); ?> <select name="<?php bp_the_profile_field_input_name(); ?>_day" id="<?php bp_the_profile_field_input_name(); ?>_day"> <?php bp_the_profile_field_options( 'type=day' ); ?> </select> <select name="<?php bp_the_profile_field_input_name(); ?>_month" id="<?php bp_the_profile_field_input_name(); ?>_month"> <?php bp_the_profile_field_options( 'type=month' ); ?> </select> <select name="<?php bp_the_profile_field_input_name(); ?>_year" id="<?php bp_the_profile_field_input_name(); ?>_year"> <?php bp_the_profile_field_options( 'type=year' ); ?> </select> </div> <?php endif; ?> <?php if ( 'url' == bp_get_the_profile_field_type() ) : ?> <label for="<?php bp_the_profile_field_input_name(); ?>"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ); ?><?php endif; ?></label> <input type="text" name="<?php bp_the_profile_field_input_name(); ?>" id="<?php bp_the_profile_field_input_name(); ?>" value="<?php bp_the_profile_field_edit_value(); ?>" <?php if ( bp_get_the_profile_field_is_required() ) : ?>aria-required="true"<?php endif; ?>/> <?php endif; ?> <?php do_action( 'bp_custom_profile_edit_fields_pre_visibility' ); ?> <?php if ( bp_current_user_can( 'bp_xprofile_change_field_visibility' ) ) : ?> <p class="field-visibility-settings-toggle" id="field-visibility-settings-toggle-<?php bp_the_profile_field_id() ?>"> <?php printf( __( 'This field can be seen by: <span class="current-visibility-level">%s</span>', 'buddypress' ), bp_get_the_profile_field_visibility_level_label() ) ?> <a href="#" class="visibility-toggle-link"><?php _ex( 'Change', 'Change profile field visibility level', 'buddypress' ); ?></a> </p> <div class="field-visibility-settings" id="field-visibility-settings-<?php bp_the_profile_field_id() ?>"> <fieldset> <legend><?php _e( 'Who can see this field?', 'buddypress' ) ?></legend> <?php bp_profile_visibility_radio_buttons() ?> </fieldset> <a class="field-visibility-settings-close" href="#"><?php _e( 'Close', 'buddypress' ) ?></a> </div> <?php else : ?> <p class="field-visibility-settings-notoggle" id="field-visibility-settings-toggle-<?php bp_the_profile_field_id() ?>"> <?php printf( __( 'This field can be seen by: <span class="current-visibility-level">%s</span>', 'buddypress' ), bp_get_the_profile_field_visibility_level_label() ) ?> </p> <?php endif ?> <?php do_action( 'bp_custom_profile_edit_fields' ); ?> <p class="description"><?php bp_the_profile_field_description(); ?></p> </div> <?php endwhile; ?> <input type="hidden" name="signup_profile_field_ids" id="signup_profile_field_ids" value="<?php bp_the_profile_group_field_ids(); ?>" /> <?php endwhile; endif; endif; ?> <?php do_action( 'bp_signup_profile_fields' ); ?> </div><!-- #profile-details-section --> <?php do_action( 'bp_after_signup_profile_fields' ); ?> <?php endif; ?> <?php if ( bp_get_blog_signup_allowed() ) : ?> <?php do_action( 'bp_before_blog_details_fields' ); ?> <?php /***** Blog Creation Details ******/ ?> <div class="register-section" id="blog-details-section"> <h4><?php _e( 'Blog Details', 'buddypress' ); ?></h4> <p><input type="checkbox" name="signup_with_blog" id="signup_with_blog" value="1"<?php if ( (int) bp_get_signup_with_blog_value() ) : ?> checked="checked"<?php endif; ?> /> <?php _e( 'Yes, I\'d like to create a new site', 'buddypress' ); ?></p> <div id="blog-details"<?php if ( (int) bp_get_signup_with_blog_value() ) : ?>class="show"<?php endif; ?>> <label for="signup_blog_url"><?php _e( 'Blog URL', 'buddypress' ); ?> <?php _e( '(required)', 'buddypress' ); ?></label> <?php do_action( 'bp_signup_blog_url_errors' ); ?> <?php if ( is_subdomain_install() ) : ?> http:// <input type="text" name="signup_blog_url" id="signup_blog_url" value="<?php bp_signup_blog_url_value(); ?>" /> .<?php bp_blogs_subdomain_base(); ?> <?php else : ?> <?php echo home_url( '/' ); ?> <input type="text" name="signup_blog_url" id="signup_blog_url" value="<?php bp_signup_blog_url_value(); ?>" /> <?php endif; ?> <label for="signup_blog_title"><?php _e( 'Site Title', 'buddypress' ); ?> <?php _e( '(required)', 'buddypress' ); ?></label> <?php do_action( 'bp_signup_blog_title_errors' ); ?> <input type="text" name="signup_blog_title" id="signup_blog_title" value="<?php bp_signup_blog_title_value(); ?>" /> <span class="label"><?php _e( 'I would like my site to appear in search engines, and in public listings around this network.', 'buddypress' ); ?>:</span> <?php do_action( 'bp_signup_blog_privacy_errors' ); ?> <label><input type="radio" name="signup_blog_privacy" id="signup_blog_privacy_public" value="public"<?php if ( 'public' == bp_get_signup_blog_privacy_value() || !bp_get_signup_blog_privacy_value() ) : ?> checked="checked"<?php endif; ?> /> <?php _e( 'Yes', 'buddypress' ); ?></label> <label><input type="radio" name="signup_blog_privacy" id="signup_blog_privacy_private" value="private"<?php if ( 'private' == bp_get_signup_blog_privacy_value() ) : ?> checked="checked"<?php endif; ?> /> <?php _e( 'No', 'buddypress' ); ?></label> <?php do_action( 'bp_blog_details_fields' ); ?> </div> </div><!-- #blog-details-section --> <?php do_action( 'bp_after_blog_details_fields' ); ?> <?php endif; ?> <?php do_action( 'bp_before_registration_submit_buttons' ); ?> <div class="submit"> <input type="submit" name="signup_submit" id="signup_submit" value="<?php esc_attr_e( 'Complete Sign Up', 'buddypress' ); ?>" /> </div> <?php do_action( 'bp_after_registration_submit_buttons' ); ?> <?php wp_nonce_field( 'bp_new_signup' ); ?> <?php endif; // request-details signup step ?> <?php if ( 'completed-confirmation' == bp_get_current_signup_step() ) : ?> <h2><?php _e( 'Check Your Email To Activate Your Account!', 'buddypress' ); ?></h2> <?php do_action( 'template_notices' ); ?> <?php do_action( 'bp_before_registration_confirmed' ); ?> <?php if ( bp_registration_needs_activation() ) : ?> <p><?php _e( 'You have successfully created your account! To begin using this site you will need to activate your account via the email we have just sent to your address.', 'buddypress' ); ?></p> <?php else : ?> <p><?php _e( 'You have successfully created your account! Please log in using the username and password you have just created.', 'buddypress' ); ?></p> <?php endif; ?> <?php do_action( 'bp_after_registration_confirmed' ); ?> <?php endif; // completed-confirmation signup step ?> <?php do_action( 'bp_custom_signup_steps' ); ?> </form> </div> <?php do_action( 'bp_after_register_page' ); ?> </div><!-- .padder --> </div><!-- #content --> <?php get_sidebar( 'buddypress' ); ?> <script type="text/javascript"> jQuery(document).ready( function() { if ( jQuery('div#blog-details').length && !jQuery('div#blog-details').hasClass('show') ) jQuery('div#blog-details').toggle(); jQuery( 'input#signup_with_blog' ).click( function() { jQuery('div#blog-details').fadeOut().toggle(); }); }); </script> <?php get_footer( 'buddypress' ); ?>March 10, 2019 at 1:13 pm #303439In reply to: Bug in private message
aoiu
ParticipantMarch 10, 2019 at 12:48 pm #303438In reply to: Bug in private message
shanebp
ModeratorAgain, that is not the default BP behaviour.
Are you running some other code or plugin that affects private messaging?
Share a screenshot of the screen that you use to send a private message.March 9, 2019 at 2:34 pm #303422In reply to: Bug in private message
shanebp
Moderatorafaik, by default BP private messages do not have a
Titlefield.
They do have aSubjectfield.Are you using another plugin or a special theme that uses a
Titlefield ?On a standard BP install, if you forget to fill in the
Subjectfield, the message will not be sent and an error will be displayed.March 8, 2019 at 7:36 pm #303397In reply to: Restricting private messages
Venutius
ModeratorHi there, are you using the Nouveau template at all? If so I reckon a better way to do this would be to remove the private message button from the buttons array using the
bp_nouveau_get_members_buttonsfilter.So something like:
add_filter( 'bp_nouveau_get_members_buttons', 'venutius_check_private_message_button' ); function venutius_check_private_message_button( $buttons ) { if ( ! pmpro_hasMembershipLevel('Premium') ) { unset( $buttons['private_message'] ); } return $buttons; }March 7, 2019 at 3:36 am #303347janjalanie
ParticipantHi everyone! does anyone here experience the same thing when you compose a message then you view the thread you will notice the text above the subject like this (Conversation between you and Deleted User and you.) it has a redundant (you) how to fix this? does anyone experience the same thing? i am using buddypress Version: 4.2.0 and wordpress 5.1 thank you guys..
March 5, 2019 at 4:33 am #303287Topic: Restricting private messages
in forum How-to & Troubleshootingdevbad
ParticipantI am looking for some help with restricting private messages.
I have Paid Memberships Pro – BuddyPress Add On Version 1.2.1 and BP Better Messages (Premium) Version 1.9.7.9 with WordPress 5.1
BuddyPress Version 4.2.0I am looking for a way to restrict the private message option for certain type of users. I am trying to have this modification multiple ways, with and without PMPro but none of them working so far.
With PMPro I supposed to restrict easily, still I can only totally restrict all BuddyPress functions or enable all of them, customization looks like broken.
I looked into the codes of all the mentioned plugins, tried to restrict access by using below code that I found in another topic:
add_filter( 'bp_get_send_message_button', function( $array ) { if ( pmpro_hasMembershipLevel('Premium') ) { return $array; } else { return ''; } } );Maybe I am just trying to make it too complicated and there is an easier way to do it with shortcodes under the Members page that currently contains only [bps_directory] shortcode.
Any suggestion and help would be welcome.
March 3, 2019 at 4:56 pm #303241In reply to: Add Column to Admin bp-groups page
jamesmct
ParticipantSo I just wanted to update this in case anyone else was looking for something along these lines.
I found some code on The Buddypress Codex page that spelled out how to actually add the column. From there I added some custom coding to it to allow it to link to the membership page and accept the requests:<?php /* BuddyPress Custom Code */ // add the column function groups_admin_add_custom_column( $columns ) { $columns["pending_group_members"] = "Join Requests"; return $columns; } add_filter( "bp_groups_list_table_get_columns", "groups_admin_add_custom_column" ); // add the column data for each row function groups_admin_custom_column_content( $retval = "", $column_name, $item ) { if ( "pending_group_members" !== $column_name ) { return $retval; } if ( "private" == $item["status"] ) { $user_ids = BP_Groups_Member::get_all_membership_request_user_ids( $item["id"] ); return "<a href='". site_url(). "/groups/". $item["slug"] ."/admin/membership-requests/'>" . count( $user_ids) . "</a>"; } return "-"; } add_filter( "bp_groups_admin_get_group_custom_column", "groups_admin_custom_column_content", 10, 3 ); ?>February 28, 2019 at 10:33 pm #303171shanebp
ModeratorPlease do not post code for premium plugins on these forums.
While I appreciate the clarity of your question and the draft solution – it is not appropriate in this setting.
You should contact the plugin creator directly.
Closing this and will contact you privately.February 5, 2019 at 5:55 pm #302643In reply to: Paid help!
Varun Dubey
Participant@whoam7i7 your request is more specific to 3rd party plugins
for point 1 check with rtMedia as you need to save members avatar inside rtMedia private album and point 2 Capability Manager Enhanced plugin supportFebruary 5, 2019 at 9:43 am #302636In reply to: Paid help!
whoam7i7
ParticipantVarun hi,
thanks for your reply. Appreciate your desire to help.Issue â„–1:
When the user creates his account, he should already have a folder for uploading a passport photo, which will be called “Data” and by default, it should be Private. Look like this: http://prntscr.com/mghqpuIt`s possible to do using BP?
February 4, 2019 at 10:41 pm #302631shanebp
ModeratorLH BuddyPress doesn’t work normally
What is LH BuddyPress ?
Do you mean LH Private BuddyPress ?
If so, you should use the support forum for that plugin.January 22, 2019 at 12:43 am #302334In reply to: Get all groups in admin side
Oxibug
ParticipantThanks Pal, Working GREAT
I was using bp_include like suggested in documentation but it seems it’s related to files only.
Final Code
class MY_PLUGIN_BuddyPress { private static $_instance = null; /* * Silent Constructor * * */ public function __construct() { } public static function instance() { if( is_null( self::$_instance ) ) { self::$_instance = new self; self::$_instance->init(); } return self::$_instance; } private function init() { add_action( 'bp_load', array( &$this, '_buddypress_action' ), 10 ); } public function _buddypress_action() { $all_groups = BP_Groups_Group::get( array( 'type' => null, 'orderby' => 'date_created', 'order' => 'DESC', 'per_page' => null, 'page' => null, 'user_id' => 0, 'slug' => array(), 'search_terms' => false, 'search_columns' => array(), 'group_type' => '', 'group_type__in' => '', 'group_type__not_in' => '', 'meta_query' => false, 'include' => false, 'parent_id' => null, 'update_meta_cache' => true, 'update_admin_cache' => false, 'exclude' => false, 'show_hidden' => false, 'status' => array(), 'fields' => 'all', ) ); } }January 20, 2019 at 3:21 pm #302315shanebp
Moderator– Responsive on all devices
Yes.– Users to be able to pay for messaging and/or subscription
No, requires a membership plugin.– User should be able to register, to have public and private profile also public and private photos.
Register, yes. Profiles are public unless you add custom code. Photos gallery requires custom code or there may be a third-party plugin.– Users to be able to edit and add custom fields on their profile page
Yes.– Admin should also be able to edit those fields/profile pages
Yes.– Users to be able to filter search results, based on those fields
Yes, by using the BP Profile Search plugin– IP Geo detection function? Showing users in your area?
No. Requires custom coding or perhaps a third-party plugin.– Multilanguage support.
Yes.– Are gifts or badges also available/active, which are to be given on a subscription or user rank basis?
No, maybe a third-party plugin.– Any performance issues? Browsing experience should be smooth.
Depends on your hosting resources and the number of active users.January 14, 2019 at 2:01 pm #302207In reply to: Review ALL pending group requets
Varun Dubey
Participant@jamesmct I do not think BuddyPress have any current option to manage all pending membership for all private group at single location.
January 10, 2019 at 8:15 am #302150In reply to: Editing /groups/create.php
Venutius
ModeratorI’ve just suggest it, above. To make the default group status private as you asked, you can add that to your bp-custom.php and it should do the trick for you.
January 9, 2019 at 1:05 pm #302135In reply to: Editing /groups/create.php
Venutius
ModeratorI don’t think overloading that file is the way to go for the default status change, you can set the default new group status using the
bp_get_new_group_statusfilter, so you could do something like this:add_filter( 'bp_get_new_group_status', 'venutius_new_group_status_change' ); function venutius_new_group_status_change( $status ) { return 'private'; }January 6, 2019 at 4:37 pm #302065In reply to: Change text strings on plugin activation
jolom
ParticipantThanks @Venutius, I was watching the plugin’s code and it is very simple, also saw that errors but are easy to fix.
Maybe changing text the way it does in this part?
52 // change the name of the group if it's an announce group 53 function ag_filter_group_type( $type ) { 54 if ( ag_get_announce_group() == 'announce' ) { 55 if ($type == 'Public Group') 56 $type = __('Announce Group', 'announce_group' ); 57 elseif ($type == 'Private Group') 58 $type = __('Private Announce Group', 'announce_group' ); 59 elseif ($type == 'Hidden Group') 60 $type = __('Hidden Announce Group', 'announce_group' ); 61 } 62 return $type; 63 } 64 add_filter( 'bp_get_group_type', 'ag_filter_group_type', 1 );But I need to change on every portion that renders “Group” right?
Thank you.
December 17, 2018 at 11:20 pm #282863In reply to: Buddypress Tournaments
Arize Nnonyelu
ParticipantCould you be more elaborate? Tournaments on what?
Did you have any Tournaments plugin in mind yet?
With buddypress users are linked it depends on private or public profile.December 13, 2018 at 4:45 pm #282752shanebp
ModeratorIf you mean the Private Message button at the top of a profile page, then place this code in bp-custom.php or in your theme > functions.php
function lindsay_profile_button() { ?> <div class="generic-button"><a href="https://google.com" >go to google</a></div> <?php } add_action( 'bp_member_header_actions', 'lindsay_profile_button', 25 );If ‘Private Messaging’ means something else, then you need to talk to the creators of that code because it does not come from BuddyPress.
December 11, 2018 at 11:53 am #282707bbtrouble
ParticipantHello, 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 teamDecember 3, 2018 at 11:43 am #282441In reply to: display groups members list (in all groups)
diegomiguel05
ParticipantHello shanebp, thank you very much for your response:
We have realized that users could not access the home page of other private groups due to the inteference of another active plugin. Deactivating it, users already have access to the home page of others private groups, but still can not see the list of members of those groups. I’ve been trying to use your code (in function.php and writing it as html text), but it does not work, possibly I’m not writing it in the right place. Do you know how to solve this problem, please??
Thank you very much for your help.
December 2, 2018 at 11:25 pm #282432In reply to: BP 4.0 private message broken
matwin23
ParticipantI just switched theme in admin to legacy and private message is now working. Must be a Nouveau bug.
-
AuthorSearch Results