Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'private'

Viewing 25 results - 726 through 750 (of 3,870 total)
  • Author
    Search Results
  • #269259
    Boone Gorges
    Keymaster

    If you don’t see anything in your cookies, then that’s the source of the problem. BP uses cookies to indicate that you’re moving through the group creation process, and if it doesn’t see these cookies, it sends you back to the first step.

    So, the question is why those cookies aren’t being set. Things to look at:

    1. I assume that at least some cookies are being set on your site, or you wouldn’t be able to log in 🙂 Are other BP-related cookies working? For example, if you go to the group directory and change the “Order by” dropdown to, say, “Newly Created”, is a browser cookie created bp-groups-scope? A quick test is to do a hard-refresh of the groups directory, and see if your selection sticks.

    2. If other cookies are being set, it could be a path-related issue. Have you set a custom COOKIEPATH in your wp-config.php file? It could be that cookies are being set in such a way that they’re inaccessible to certain pages of the group creation process.

    3. Have you tried in other browsers? Or in private browsing windows? It could be that this is being triggered by privacy settings of one sort or anotheer.

    4. You showed some WP_DEBUG errors that (as you surmise) are unrelated to the problem. Are those shown when you first visit the group creation page, or *after* you’ve submitted the first step? It’s the submission process I’m concerned about, since the groups aren’t being created in the first place.

    #269256
    Arize Nnonyelu
    Participant

    LH Private BP works, I don’t know if you understood the problem I am having. This is my problem, after login the page just refreshes, but the user has already been logged in, then he can browse the site as a logged in member. But might be under the impression that he has not logged in because it didn’t take him to where he was about to go before he was requested to login.

    Logged out user Before login, going to a group named ‘the blog coach’ he clicks on the link sent by a friend example.com/groups/the-blog-coach
    he gets redirected to
    https://www.example.com/login/?redirect_to=%2Fgroups%2Fthe-blog-coach%2F

    Link after logging in still directed to
    https://www.example.com/login/?redirect_to=%2Fgroups%2Fthe-blog-coach%2F

    the page just refreshes no direction. i copied the links uniquely before and after login.

    Before you respond to this, please try to make me understand how far you have understood me and my problem so far? Thanks so far

    #269253
    Boone Gorges
    Keymaster

    Hi @plumbingsuperstore – Oof, sorry to hear about the problems, but glad your hosting provider had a way to roll back.

    BuddyPress doesn’t touch user credentials, so it’s highly unlikely that BuddyPress itself would be the cause of your admin creds not working after BP was installed. I’m guessing that either there’s some user error here, or there’s another plugin interfering with the process. To reiterate, logging into WP should be exactly the same before or after the activation of BP.

    Regarding the 404 error when activating your account: When you install BuddyPress, it should create pages called Register and Activate. It sounds like this worked for Register (since you were able to register a new account), but didn’t for Activate. If you try this again, take careful note of the URLs you see in your browser when registering, the URL that appears in the activation email, and the URL you see in the browser after clicking the activation link. There could be a clue here.

    One final tip: You can stay logged in as an admin in your browser and still test as another user. Open a private browsing window: Firefox https://support.mozilla.org/en-US/kb/private-browsing-use-firefox-without-history, Chrome https://support.google.com/chrome/answer/95464?co=GENIE.Platform%3DDesktop&hl=en, Safari https://www.macworld.com/article/1133941/software-web/safariprivate.html

    #269184
    Boone Gorges
    Keymaster

    It looks, at a glance, like the LH Private BuddyPress plugin ought to be doing what you’re asking for. https://plugins.trac.wordpress.org/browser/lh-private-buddypress/trunk/lh-private-buddypress.php#L101

    If it’s not working, it’s either because of an error in the plugin logic, or because something on your server or WP setup is interfering with the redirect_to parameter.

    Can you share the format of the URL at various points of the process? For example, when visiting example.com/groups/my-private-group as a logged-out user, you should be redirected to:

    example.com/wp-login.php?redirect_to=/groups/my-private-group

    If, after login, you’re being redirected back to wp-login.php, what is the format of the URL then?

    What is the URL format of your BP/WP installation? Are you installed at the top level of a domain example.com or in a subdirectory example.com/buddypress/?

    #269181
    Boone Gorges
    Keymaster

    Hi @aubreyw – The email should show up immediately. If it’s not, the places you should check are:

    1. Is any email being sent from your server? For example, do BP emails (like private message notifications) show up? How about other WP notifications, like a password reset?

    2. Check your spam folders (which it sounds like you’ve already done)

    It’s possible to manually trigger the activation of a changed email address, but it sounds like the more fundamental problem here is that emails aren’t working properly, so it seems better to try to address that problem first.

    #269158
    Arize Nnonyelu
    Participant

    FIXED PARTIALLY. I was using BP Redirect To Profile so I disabled it, the contents are still private and it doesn’t keep redirecting.

    But the problem I am having is that after login it will just refresh the login page without directing to anywhere. Some people won’t know that they have been logged in already. That is why I used to Redirect Plugin initially so that it can direct to somewhere.

    So asking the masters, how can the login direct to where they left off? For instance, sent a logged out user a group link, and his tries to visit the groups and login page appears, how can he continue straight to the group after login?

    #269153
    #269041
    friendlygooners
    Participant

    I mean when I send private message to my members, the message shows notification to everyone who visits my site. Please visit my website now so you can see it http://www.friendlygooners.com

    naomibuch
    Participant

    Hello,

    I am new to Buddypress and this is my first post, I am new to web development also, and my PhP coding is not all that great, my years as a software developer was strictly in a windows environment (vb.net and sql)

    I developed my own website and I am using Buddypress as part of my social media for users to connect with each other.

    I have spent endless hours researching a fix, and I have not been able to find anything php file that I can edit in File Manager to edit or remove the line of code.

    When a user updates an Activity, it updates in three places:

    1. The Activity Stream (which is what I want)
    2. The Member’s Profile where the Activity tab was (now removed, which is what I want)
    3. Under the Member’s profile cover, with that pesky “view link” (which I DO NOT want to show)

    And the “view link” is a bit buggy also, sometimes when a user clicks on it, it throws a 404 error, sometimes it opens up a blank page, and sometimes it opens up the recent activity that they posted in the Activity Stream.

    Also in the members directory I have a button to send the user a private message whether or not they are friends.

    When I click on a user name from the member’s directory, it take me to the compose a message like it is suppose to do, and the user name appears , but it does not save the user name in the send to box, do you have a fix for this also?

    Thank you very much, a fix to these problems are greatly appreciated.

    Naomi

    #268997
    friendlygooners
    Participant

    WordPress 4.9 “Tipton”
    BuddyPress Version 2.9.2
    Theme: Buddy Version: 2.15.1 By GhostPool

    When sending private message to my users, the message shows sidewide notification to everyone visiting my site. I added this this in custom css

    #sitewide-notice {
    display: none !important;
    }

    The message box appearing under the header was closed But the sidewide notification still exist.
    You can check out here https://www.friendlygooners.com/

    #268980
    jackaspden13
    Participant

    Hi,

    I’d like to be able to include either shortcode or a link to a URL using HTML in a private message – can anyone help?

    #268891
    Boone Gorges
    Keymaster

    @louisarthur – Thanks for sending me credentials. I’ve logged into your site to have a look.

    As you note in your email, there’s no href attribute on these links. It’s not clear to me how this would be the case, but I can give you a starting point for looking into it yourself. Briefly, the buttons will be built without an href if the button constructing function passes an empty link_href parameter to the BP_Button class. The functions used in the two cases are different:

    Message public: https://buddypress.trac.wordpress.org/browser/tags/2.9.2/src/bp-activity/bp-activity-template.php?marks=3090#L3079

    Message privé: https://buddypress.trac.wordpress.org/browser/tags/2.9.2/src/bp-messages/bp-messages-template.php?marks=1362#L1360

    The logic in each case is different, but since neither is showing up, I’m guessing that one of two things is happening:

    1. One of the conditional checks shared between them is failing for some reason: bp_is_my_profile(), is_user_logged_in().

    2. Something on your installation – perhaps your theme but probably a plugin (since you said Twenty Seventeen was exhibiting the problem as well) – is filtering both ‘bp_get_send_private_message_link’ and ‘bp_get_send_public_message_link’, and then incorrect returning empty strings.

    To test idea #2, you might try – if you can – searching through your codebase for those filter names.

    #268680
    harveyando
    Participant

    Can anyone recommend how to achieve a site such as http://www.tutora.co.uk and http://www.tutorhunt.com using wordpress/buddypress?

    We want to have a home page, about etc but then a search page where users can search for tutors based on subject level and location.

    Tutors can sign up and create a profile with these custom fields.

    They can then private message each other and agree to work together.

    Upon acceptance, the user can then purchase the tutors details – payment made to our site.

    I was looking at buddypress for the profile and private messaging – is this possible?

    What about the payment and search functionality – does anyone have any recommendations on how to achieve this?

    #268674
    sarkku
    Participant

    Hi

    Private messages in BuddyPress should be in my opinion, private.
    As a site admin I can see everyone’s private messages.

    How can I turn this off?
    I do not want to see other people’s private messages.

    Is this really something that should be visible to site admins in the first place?

    Checked and no registered users nor users with no admin rights cannot see private messages. Only visible with admin rights.

    WP-version: 4.8.2–fi
    BuddyPress Version: 2.9.1
    Theme used: Kleo
    site: https://eurosinkut.net

    Thank you in advance for your support.

    Br,
    Sarkku

    vaibhavyuvasoft187
    Participant

    <?php get_header( ‘buddypress’ ); ?>
    <!– MAIN SECTION
    ================================================ –>
    <section>
    <div id=”main”>
    <div class=”row”>
    <div class=”twelve columns”>
    <?php do_action( ‘bp_before_register_page’ ); ?>
    <div id=”register-page”>
    <form action=”” name=”signup_form” id=”signup_form” class=”standard-form custom” 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() ) : ?>
    <div class=”row”>
    <div class=”twelve columns”>
    <h2 class=”article-title text-center”><?php _e( ‘Create an Account’, ‘buddypress’ ); ?></h2>
    </div>
    <!–end twelve–>
    </div>
    <?php do_action( ‘template_notices’ ); ?>
    <p class=”lead”><?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>
    <br><br>
    <?php do_action( ‘bp_before_account_details_fields’ ); ?>
    <div class=”row”>
    <div class=”register-section six columns” id=”basic-details-section”>
    <?php /***** Basic Account Details ******/ ?>
    <h4><i class=”icon icon-user”></i> <?php _e( ‘Account Details’, ‘buddypress’ ); ?></h4>
    <br>
    <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=”<?php bp_signup_password_value(); ?>” class=”password-entry” />
    <div id=”pass-strength-result”></div>
    <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 bp_signup_password_confirm_value(); ?>” class=”password-entry-confirm” />
    <br><br>
    </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 six columns” id=”profile-details-section”>
    <h4><i class=”icon icon-comments”></i> <?php _e( ‘Profile Details’, ‘buddypress’ ); ?></h4>
    <div class=”check-group”>
    <div class=”col-md-4 col-sm-4″>
    <label for=”g1″ class=”g1″>
    <input type=”radio” name=”colorRadio” value=”first-section” id=”g1″ checked=”checked”> Algemeen
    </label>
    </div>
    <div class=”col-md-4 col-sm-4″>
    <label for=”g2″ class=”g2″>
    <input type=”radio” name=”colorRadio” value=”second-section” id=”g2″> Man
    </label>
    </div>
    <div class=”col-md-4 col-sm-4″>
    <label for=”g3″ class=”g3″>
    <input type=”radio” name=”colorRadio” value=”third-section” id=”g3″> Vrouw
    </label>
    </div>
    </div>
    <br>

    <section class=”first-section radio-section”>
    <!– <h1>Algemeen</h1> –>
    <?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=”<?php if(‘selectbox’ == bp_get_the_profile_field_type() || ‘multiselectbox’ == bp_get_the_profile_field_type() ) echo ‘six’; else echo ‘twelve’;?> columns”>
    <div<?php bp_field_css_class( ‘editfield’ ); ?>>
    <?php
    $field_type = bp_xprofile_create_field_type( bp_get_the_profile_field_type() );
    $field_type->edit_field_html();

    do_action( ‘bp_custom_profile_edit_fields_pre_visibility’ );

    if ( bp_current_user_can( ‘bp_xprofile_change_field_visibility’ ) ) : ?>
    <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: %s’, ‘buddypress’ ),
    ‘<span class=”current-visibility-level”>’ . bp_get_the_profile_field_visibility_level_label() . ‘</span>’
    );
    ?>
    </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>
    <?php _e( ‘Close’, ‘buddypress’ ) ?>
    </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: %s’, ‘buddypress’ ),
    ‘<span class=”current-visibility-level”>’ . bp_get_the_profile_field_visibility_level_label() . ‘</span>’
    );
    ?>
    </p>
    <?php endif ?>
    <?php do_action( ‘bp_custom_profile_edit_fields’ ); ?>
    <p class=”description”><?php bp_the_profile_field_description(); ?></p>
    </div>
    </div>
    <?php endwhile; ?>
    <?php $fields_ids[]= bp_get_the_profile_field_id();?>
    <?php endwhile; endif; endif; ?>
    </section>

    <section class=”second-section radio-section”>
    <!– <h1>Man</h1> –>
    <?php if ( bp_is_active( ‘xprofile’ ) ) : if ( bp_has_profile( array( ‘profile_group_id’ => 2, ‘fetch_field_data’ => false ) ) ) : while ( bp_profile_groups() ) : bp_the_profile_group(); ?>
    <?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?>
    <div class=”<?php if(‘selectbox’ == bp_get_the_profile_field_type() || ‘multiselectbox’ == bp_get_the_profile_field_type() ) echo ‘six’; else echo ‘twelve’;?> columns”>
    <div<?php bp_field_css_class( ‘editfield’ ); ?>>
    <?php
    $field_type = bp_xprofile_create_field_type( bp_get_the_profile_field_type() );
    $field_type->edit_field_html();

    do_action( ‘bp_custom_profile_edit_fields_pre_visibility’ );

    if ( bp_current_user_can( ‘bp_xprofile_change_field_visibility’ ) ) : ?>
    <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: %s’, ‘buddypress’ ),
    ‘<span class=”current-visibility-level”>’ . bp_get_the_profile_field_visibility_level_label() . ‘</span>’
    );
    ?>
    </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>
    <?php _e( ‘Close’, ‘buddypress’ ) ?>
    </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: %s’, ‘buddypress’ ),
    ‘<span class=”current-visibility-level”>’ . bp_get_the_profile_field_visibility_level_label() . ‘</span>’
    );
    ?>
    </p>
    <?php endif ?>
    <?php do_action( ‘bp_custom_profile_edit_fields’ ); ?>
    <p class=”description”><?php bp_the_profile_field_description(); ?></p>
    </div>
    </div>
    <?php endwhile; ?>
    <?php $fields_ids[]= bp_get_the_profile_field_id();?>
    <?php endwhile; endif; endif; ?>
    </section>

    <section class=”third-section radio-section”>
    <!– <h1>Vrouw</h1> –>
    <?php if ( bp_is_active( ‘xprofile’ ) ) : if ( bp_has_profile( array( ‘profile_group_id’ => 3, ‘fetch_field_data’ => false ) ) ) : while ( bp_profile_groups() ) : bp_the_profile_group(); ?>
    <?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?>
    <div class=”<?php if(‘selectbox’ == bp_get_the_profile_field_type() || ‘multiselectbox’ == bp_get_the_profile_field_type() ) echo ‘six’; else echo ‘twelve’;?> columns”>
    <div<?php bp_field_css_class( ‘editfield’ ); ?>>
    <?php
    $field_type = bp_xprofile_create_field_type( bp_get_the_profile_field_type() );
    $field_type->edit_field_html();

    do_action( ‘bp_custom_profile_edit_fields_pre_visibility’ );

    if ( bp_current_user_can( ‘bp_xprofile_change_field_visibility’ ) ) : ?>
    <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: %s’, ‘buddypress’ ),
    ‘<span class=”current-visibility-level”>’ . bp_get_the_profile_field_visibility_level_label() . ‘</span>’
    );
    ?>
    </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>
    <?php _e( ‘Close’, ‘buddypress’ ) ?>
    </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: %s’, ‘buddypress’ ),
    ‘<span class=”current-visibility-level”>’ . bp_get_the_profile_field_visibility_level_label() . ‘</span>’
    );
    ?>
    </p>
    <?php endif ?>
    <?php do_action( ‘bp_custom_profile_edit_fields’ ); ?>
    <p class=”description”><?php bp_the_profile_field_description(); ?></p>
    </div>
    </div>
    <?php endwhile; ?>
    <?php $fields_ids[]= bp_get_the_profile_field_id();?>
    <?php endwhile; endif; endif; ?>
    </section>

    <input type=”hidden” name=”signup_profile_field_ids” id=”signup_profile_field_ids” value=”<?php echo implode(“,”,$fields_ids);?>” />
    </div>
    <!– #profile-details-section –>
    </div>
    <?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><label for=”signup_with_blog”><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’ ); ?></label></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 site_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(); ?>” />
    <label><?php _e( ‘I would like my site to appear in search engines, and in public listings around this network.’, ‘buddypress’ ); ?>:</label>
    <?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>
    </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” class=”button radius pull-right” name=”signup_submit” id=”signup_submit” value=”<?php _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 class=”article-title”><?php _e( ‘Sign Up Complete!’, ‘kleo_framework’ ); ?></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 class=”clearfix”></div>
    <br><br>
    </div>
    <!–end twelve–>
    </div>
    <!–end row–>
    </div>
    <!–end main–>
    </section>
    <!–END MAIN SECTION–>
    <style type=”text/css”>
    .check-group{
    width: 100%;
    margin-bottom: 70px;
    }
    .check-group .col-md-4{
    width: 20%;
    float: left;
    }
    .check-group label{
    background: none;
    padding: 8px 12px;
    border-radius: 5px;
    width: 60%;
    border:2px solid #d7b46a;
    color: #fff;
    }
    </style>
    <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’ ).change( function() {
    if(jQuery(this).is(‘:checked’)) {
    jQuery(‘div#blog-details’).fadeIn();
    }
    else {
    jQuery(‘div#blog-details’).fadeOut();
    }
    });
    });
    </script>
    <script type=”text/javascript”>
    // jQuery(document).ready(function(){
    // jQuery(‘input[type=”radio”]’).click(function(){
    // var inputValue = jQuery(this).attr(“value”);
    // var targetBox = jQuery(“.” + inputValue);
    // jQuery(“.radio-section”).not(targetBox).hide();
    // jQuery(targetBox).show();
    // });
    // });
    jQuery(document).ready(function(){
    jQuery(‘.second-section’).hide(‘fast’);
    jQuery(‘.third-section’).hide(‘fast’);
    jQuery(‘.first-section’).show(‘fast’);
    jQuery(‘.g1’).css({‘background’: ‘#d7b46a’, ‘color’: ‘#333’});

    jQuery(‘.g1’).click(function(){
    jQuery(‘.second-section’).hide(‘fast’);
    jQuery(‘.third-section’).hide(‘fast’);
    jQuery(‘.first-section’).show(‘fast’);
    jQuery(‘.g1’).css({‘background’: ‘#d7b46a’, ‘color’:’#333′});
    jQuery(‘.g2’).css({‘background’: ‘none’, ‘color’:’#fff’});
    jQuery(‘.g3’).css({‘background’: ‘none’, ‘color’:’#fff’});
    })
    jQuery(‘.g2’).click(function(){
    jQuery(‘.first-section’).hide(‘fast’);
    jQuery(‘.third-section’).hide(‘fast’);
    jQuery(‘.second-section’).show(‘fast’);
    jQuery(‘.g1’).css({‘background’: ‘none’, ‘color’:’#fff’});
    jQuery(‘.g2’).css({‘background’: ‘#d7b46a’, ‘color’:’#333′});
    jQuery(‘.g3’).css({‘background’: ‘none’, ‘color’:’#fff’});
    })
    jQuery(‘.g3’).click(function(){
    jQuery(‘.first-section’).hide(‘fast’);
    jQuery(‘.second-section’).hide(‘fast’);
    jQuery(‘.third-section’).show(‘fast’);
    jQuery(‘.g1’).css({‘background’: ‘none’, ‘color’:’#fff’});
    jQuery(‘.g3’).css({‘background’: ‘#d7b46a’, ‘color’:’#333′});
    jQuery(‘.g2’).css({‘background’: ‘none’, ‘color’:’#fff’});
    })
    })
    </script>
    <?php get_footer( ‘buddypress’ ); ?>

    #268630
    David Cavins
    Keymaster

    Hi @paksunny-

    #1 can be accomplished by adding this code to you bp-custom.php file (or wherever you keep your customizations): https://gist.github.com/dcavins/c65f3856dd6ed5be37eef115ab09405a

    #2 Try this plugin: https://wordpress.org/plugins/buddypress-private-message-for-friends-only/

    -David

    julietalayne
    Participant

    I have a fresh install of WordPress running WordPress 4.8.2.

    Running Thrive theme with the following plugins active:

    Akismet Anti-spam
    BuddyDrive
    BuddyPress
    BuddyPress Docs
    BuddyPress Global Search
    Gears
    Menu Icons
    One Click Demo Import
    rtMedia for WordPress, BuddyPress and bbPress
    Slider Revolution
    Subway
    TaskBreaker
    The Events Calendar
    Transcoder (for rtMedia)
    Visual Form Builder
    Wp-Polls
    WPBakery Visual Composer

    I am on shared hosting with the following:
    Apache Version 2.2.31
    PHP Version 5.5.36
    MySQL Version 5.5.50-38.0-log
    Architecture x86_64
    Operating System linux

    I’m using Chrome to work on the site and test it.

    I’m familiar enough with PHP and css and such to find solutions to most issues, but this has me positively confounded.

    First, when I try to upload a profile picture if I have my monitor set at full screen (it’s a large monitor)–it will come up with the pink box and say “There was a problem cropping your profile photo”

    If I minimize my browser, just click the button and make it smaller the image will crop and upload with no issues.

    What?! I’m perplexed. I can’t make it do any different, no settings I can find will change the behavior.

    Then when I tried to upload a cover image, it loads the image to the placement page, but across the top there’s a huge error:

    Warning: transliterator_transliterate(): Could not create transliterator with ID “Any-Latin; Latin-ASCII; [\u0080-\u7fff] remove” (transliterator_create: unable to open ICU transliterator with id “Any-Latin; Latin-ASCII; [\u0080-\u7fff] remove”: U_INVALID_ID) in /home/******/public_html/wp-content/plugins/buddypress/bp-core/classes/class-bp-attachment.php on line 292

    The code is this:

    public function sanitize_utf8_filename( $retval ) {
    		// PHP 5.4+ or with PECL intl 2.0+
    		if ( function_exists( 'transliterator_transliterate' ) && seems_utf8( $retval ) ) {
    			$retval = transliterator_transliterate( 'Any-Latin; Latin-ASCII; [\u0080-\u7fff] remove', $retval );
    
    		// Older.
    		} else {
    			// Use WP's built-in function to convert accents to their ASCII equivalent.
    			$retval = remove_accents( $retval );
    
    			// Still here? use iconv().
    			if ( function_exists( 'iconv' ) && seems_utf8( $retval ) ) {
    				$retval = iconv( 'UTF-8', 'ASCII//TRANSLIT//IGNORE', $retval );
    			}

    And the specific line in the error is this one:

    $retval = transliterator_transliterate( 'Any-Latin; Latin-ASCII; [\u0080-\u7fff] remove', $retval );

    The name of the file I am uploading is “header.png”. I tested it with a .jpg file as well. Same error. It will allow me to set the area on the image and it will upload it to the cover, but I wondered if the issues I’m having with images could be related so I didn’t want to leave them out.

    Also, this is the SECOND installation with the same issue. I thought that maybe the first install had become corrupted or something so to eliminate the possibility that I was dealing with a database error or something I deleted the entire install and did a complete reinstall into a different database (however, if it is important I was using the Softaculous Apps Installer inside of my Cpanel, not manually installing, but if that makes a difference, I am happy to try a manual install, as I am capable and willing to do anything to resolve this issue because it’s driving me insane.

    The error with the cover photo happens no matter what theme I am using, and the profile picture issue happens only with the Thrive theme. I am in contact with the theme author about it, but wanted to share that info here just in case it was somehow relevant.

    Any insight into what this issue could be? Sorry for so much info haha but if you need anything I haven’t supplied to give me some clue I’ll be sure to provide it!

    Thank you kindly,
    Juliet

    The site deals with teenagers and is a closed community so I would prefer to not publicly post the url, but I would be happy to provide it privately if it would help someone to trouble shoot. Thanks!

    Arize Nnonyelu
    Participant

    Next time try hiring an expert or consult a more experienced developer in private to sort out some issues.

    Without being told the people that started this Buddypress has tried a lot. I don’t think they need this sort of discouragement.

    please nobody should regard this topic.

    paksunny
    Participant

    Hi,

    I am trying to make the below two changes but tried all different solutions available on this form non worked.

    1) Make the friend tab only visible to the account owner / logged-in user.
    2) only friends can use and see the send private message button.

    Can someone guide me to getting this accomplished. Most of the privacy settings I was able to integrate through plugins.

    #268581
    David Cavins
    Keymaster

    I’m confused about what you’re trying to do, but if you want to restrict access to forums, then, yes, private groups are an excellent option. First, create a forum in wp-admin, then create a private group. Then, in the group management tab, check the box “Yes, I want this group to have a forum” and select the forum you just created.

    Then, only users who belong to private group will be able to use that forum.

    black6f7574
    Participant

    By default, the search box in the private messages section is used to search amongst messages, so if in your inbox you have a message sent by the user – for example – called “Sam” and you also have another message in which the user “Matthew” write about the user “Sam”, searching for “Sam” in the search box ends up displaying both the messages.

    What if I wanted to use this same searchbox to search messages only by the sender’s username (so if I write “Sam” it will display only the message that Sam sent to me)? Do you think it would be possible? @shanebp

    Thanks.

    #268524
    dhsllc
    Participant

    Did you find a solution to recover the activity stream? My private group activity stream is no longer showing past activity even though the activity is still in the database.

    #268428
    alcwho
    Participant

    Hi all,

    I am very new to bbpress. I got a quick question regarding to the user setup.

    Basically, when a new user registers, i’d like to assign him/her to a specific forum(s) he/she can create a post (or edit his own post).

    How can i do that?

    That’s a plugin called “Private groups”, but it seems that i need to assign ‘role’ in the bbpress, then the ‘role’ attaches to a specific group. That’s not a perfect way.

    For example, if User X assigned to a ‘participant’ which attaches to ‘group 1’, then User X can access a forum Q with ‘group 1’ only access. However, i don’t want User Y with role ‘participant’ is able to access forum Q. In this case, what should I do? or any good plugin I can use?

    Idea case is:
    I can assign each new register user (or existing) to a specific group, then he can access a forum with specific group access. For example:
    User A –> assign Group 1 –> can access Forum X
    User B –> assign Group 1 and 2 –> can access Forum X and Y
    “Role” will not affect “group” decision.

    Please kindly help. I search around but with no luck so far.

    Many thanks in advance.

    #268350

    In reply to: Help with this code

    livingflame
    Participant

    Okey, here is the correct code, thanks to @brajesh

    // Adding message button in members directory 
    
    function filter_message_button_link( $link ) {
    
        $link =  wp_nonce_url( bp_loggedin_user_domain() . bp_get_messages_slug() . '/compose/?r='. bp_core_get_username( bp_get_member_user_id() ) );
    
    return $link;
    
    }
    
    function display_private_message_button() {
    
        if( is_user_logged_in() && bp_get_member_user_id() != bp_loggedin_user_id() ) {
    
            //bp_send_message_button();
            ?>
            <div id="send-private-message" class="generic-button">
    
                <div class="private-message-button generic-button" ><a href="<?php echo filter_message_button_link(); ?>" class="button small secondary radius" rel="add"><i class="icon-envelope"></i></a></div>
            </div>
    
            <?php
            add_filter('bp_get_send_private_message_link', 'filter_message_button_link', 1, 1 );
            }
    }
    add_action( 'bp_directory_members_item_last', 'display_private_message_button',9999 );
    
    
    sarahjones123
    Participant

    I’m trying to set up a membership site and may go with WooCommerce Membership. But I have a hard time finding a way to solve a problem.

    When a member’s membership (via WooCommerce Membership) is cancelled, his Buddypress WordPress user account is still active, which means he can still log in and freely contact other members. i need to find a way to restrict these cancelled members from accessing BP entirely, or at least from Private Message so they can’t contact other members.

    So far the closest one i found is this thread
    https://buddypress.org/support/topic/hiderestrict-access-to-private-messaging/#post-170393

    According to the note, USER_TO_DISALLOW would be my cancelled WooCommerce users. But I wouldn’t know which member would cancel (or their membership level) upfront so this codes don’t seem to work for my site. Besides, it’s 4+ years old and I’m not sure if it’s still relevant.

    The other one is
    https://buddypress.org/support/topic/restrict-private-messages/

    The moderator said there’s a hook available in BuddyPress called messages_message_before_save which can be used to do things before a message is sent. But I don’t know how to write a function to customize it for my need.

    Can anyone help? If you happen to know any other membership plugins that can achieve this, I’d really appreciate if you can let me know.

    Thank you.

Viewing 25 results - 726 through 750 (of 3,870 total)
Skip to toolbar