Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 12,826 through 12,850 (of 73,986 total)
  • Author
    Search Results
  • #260056
    livingflame
    Participant

    For @djpaul Think for All!

    1) All social network or community needs a block users functions. Without this, community is nothing.
    2) All that I say here can be include NATIVE, without plugins.

    BuddyPress can be better, like Facebook, Tagged or more… ONLY if you want.

    mayschje
    Participant

    Hi guys,

    at first thanks for doing this great job by providing BuddyPress, I really love it.

    I have one question, maybe I missed an important part of understanding the firing of hooks.

    I set up a custom members directory by creating a page template and adding some custom actions (e. g. bf_before_directory_members, bp_pre_user_query, etc.). Everything works like a charm :-).

    The problem is I want the members page coming initially with BuddyPress also enabled, but without firing the hooks I added for the custom members directory. Now the custom filters are being also applied on this page which I want to prevent. I don’t know how to solve this. I tried it out by adding conditions e. g. if ($page_id == $page_id_custom_member_page), but the page id is not available in all filters.

    Can anybody help me out with this? This would be great.

    Thanks in advance.

    🙂

    #260046
    bunse2011
    Participant

    I have translation file in wp-content/languages/buddypress-zh_CN.po, some string will take effect, some are not( CHANGE COVER IMAGE for example), here(http://ww4.sinaimg.cn/large/801b780agw1f8ywml6m9fj213s054abt.jpg) is my translation pic, and here(http://ww3.sinaimg.cn/large/801b780agw1f8ywmgezhbj21kw0vu78d.jpg) is what is on the front-end.

    #260045
    Paul Wong-Gibbs
    Keymaster

    Please do not at-mention people just to get attention. I normally stop reading if I see I’ve been pinged in a list like this by someone trying to get attention.

    That said, thank you for your feedback.

    All your Google image links are broken, and if they are screenshots asking “how can I do this”, if you can’t code (or want to spend time learning to do this), then you need to hope there’s a plugin out there you can buy, or hire a freelance developer to build it for you. Very few people build things for others for free, and it’s at a cost to those people, even if it’s free for you.

    To comment on some of your points from my own perspective, and not on behalf of the entire BuddyPress team and all its contributors:

    • I would also like to see better user communication management tools/preferences! (i.e. blocks). I think some of this will have to happen in the BuddyPress software, and some will happen in third-party plugins that extend the behaviour. There are already some plugins that deal with small parts of these areas.
    • Chat, Message Attachments, Media — these are complicated, and I’m pretty sure will never be included in BuddyPress itself. They would make good third-party plugins. I think there are a couple of Chat plugins available already.
    • (auto-)confirm accounts after sign-up — I believe this is seriously unsafe, so it will never be included in BuddyPress. Another plugin opportunity!
    • Global search is something we always wanted, I don’t know if we still do. A very early BuddyPress default theme about 7 years ago had something similar, I think. I remember playing around with it. Maybe it’s time to bring it back. 🙂
    • Sharing tools is pretty interesting. I think I’m personally quite keen to do some stuff like this, but it’d need some experimenting to see whether it felt as if it would fit into the BuddyPress software, or a third-party plugin, or some of both.
    Paul Wong-Gibbs
    Keymaster

    So… you CAN log into WordPress with your email address and password. On example.com/wp-login.php, it even says “Username or Email” and “Password”. Is this the main log in that you are talking about?

    I have just tested the BuddyPress log in widget and I can log in using the email address.

    I am a bit baffled why this doesn’t work for you. Please can you remove any relevant code customisations, and just test it again?

    If you can’t log into /wp-login.php using an email address and password, you should try the WordPress.org support forums first and get that fixed, because that’s how it should be working.

    #260042
    Paul Wong-Gibbs
    Keymaster

    Hi @romanreignempire

    You need to change a WordPress settings — you need to enable permalinks. Your WordPress blog URLs look like: example.com/index.php/roman-reigns/ and we need to have them look like example.com/romain-reigns/. This is required to have BuddyPress work.

    If we’re lucky, you can go into wp-admin and Settings > Permalinks, then pick anything other than “Default”. Then save, and check if your blog post links have changed, and if they still work.

    If they DON’T work, you need to fix that first. There is lots of information on the web about enabling WordPress permalinks, and if you have a good web host, oftentimes they will know how to enable them if they are disabled by default for some reason.

    #260041
    Paul Wong-Gibbs
    Keymaster

    I guess that means that when a user registers on one of the multi-sites he can use his account on all the other websites of the Multi-site installation, right ?

    Yes, but understand that you have to give that user access to those other sites (in wp-admin) to write blog posts, for example. If a user does not have explicit permissions to a specific multisite site, they won’t have any special access; they’ll only be able to read the content as if they were another normal visitor. You can test this right now, without BuddyPress, and see how it works.

    meaning it takes him out of the French Website to put him onto the English on

    You seem to be using multisite to have your content localised into different languages. This is a common approach for WordPress multisite, but BuddyPress does not work the way you want it to in this situation.

    You can activate BuddyPress in a few different ways. Simply, on multisite, you can activate the plugin on a specific site, or network-wide. There is lots more detail at https://codex.buddypress.org/getting-started/installation-in-wordpress-multisite/ but if BuddyPress is activated network-wide, all the BuddyPress content will only appear on one site (we call this the “root blog”). We use redirects to support this, exactly as you’ve found.

    You can’t have BuddyPress active on a multisite that uses the sub-sites as different languages, and have the BuddyPress social network appear on all of them and work in the same way, except with different translations. It doesn’t work that way out the box…

    …however here is an advanced setting you can use to make BuddyPress behave like this: BP_ENABLE_MULTIBLOG

    See https://codex.buddypress.org/getting-started/customizing/bp_enable_multiblog/
    I would encourage you fully test this setting out if you enable it, before you start building the rest of your site, just to understand and confirm its behaviour.

    🙂

    #260040

    In reply to: Error in doc settings

    Paul Wong-Gibbs
    Keymaster

    @dioniq Did this work with a previous version of BuddyPress? If so, what version?

    While the developers of that plugin are contributors to BuddyPress, you’re best to try requesting support via that plugin’s forums: https://wordpress.org/support/plugin/buddypress-docs

    #260039
    dioniq
    Participant

    I´m getting a error when trying to Accosiate a group to a attached document or create a new Group folder:
    Fatal error: Cannot use object of type WP_Error as array in /storage/content/56/182756/domain.se/public_html/wp-content/plugins/buddypress-docs/includes/functions.php on line 156

    Using “Boss theme”
    BuddyPress version: 2.7.0

    Any idea?

    #260035

    In reply to: Group admin post only

    danbp
    Participant

    @vicky0007,

    do you mean a static message or as setting option ?

    You can deploy a static message on the create step #2, by using this snippet inside of bp-custom.php

    function bpex_custom_message_group_creation() {
    	if( bp_is_active( 'groups' ) && bp_is_group_creation_step( 'group-settings' ) ) :
    
    		echo 'Only group admins are allowed to post';
    
    	endif;
    }
    add_action( 'bp_before_group_settings_creation_step', 'bpex_custom_message_group_creation' );

    As setting option, read here:

    Group Extension API

    #260031
    planetoffitness
    Participant

    Hello, i need a way of showing that certain users on my buddypress site have certain roles.

    I need to show that admins are “official (red)”, and some accounts with a different user role, for exemple editors, are “official fitnesscenters (green)”, and all the others, the normal subscribers remain as they are (black).

    Any ideas how i can do that?

    Thanks

    #260030
    Venutius
    Moderator

    Hi there,

    Regarding question 2, I think that you need to set up a custom home page for your groups using BP Group Extras. That way you get to have the intro text as long as you like without it encroaching on the group cover image. you can also add some other cool features is you do this such as adding extra images and video’s into the group description, you can even add short codes to display group comments and forum entries on the same page.

    I’ve written a guide as to how you can do this here:

    http://buddyuser.com/creating-great-group-home-pages-with-buddypress-group-extras

    #260016
    ggagnerivard
    Participant

    Hello.
    I created two customs register-form.php that show different field groups. I want to change to user role to s2member_level1 after the activation if they used the second register-form. I have tried some other example on this site with no luck.

    here is the php of the register-form :<form action=”<?php echo bp_get_signup_page();?>” 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 step ?>

    <?php if ( ‘request-details’ == bp_get_current_signup_step() ) : ?>

    <?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>

    <div class=”newline”><label for=”signup_username”><?php _e( ‘Username’, ‘buddypress’ ); ?></label>
    <?php do_action( ‘bp_signup_username_errors’ ); ?>
    <input type=”text” name=”signup_username” id=”signup_username” value=”<?php bp_signup_username_value(); ?>” <?php bp_form_field_attributes( ‘username’ ); ?>/>
    </div>

    <div class=”newline”><label for=”signup_email”><?php _e( “Adresse courriel (votre nom d’usager) :”, ‘buddypress’ ); ?></label>
    <?php do_action( ‘bp_signup_email_errors’ ); ?>
    <input type=”email” name=”signup_email” id=”signup_email” value=”<?php bp_signup_email_value(); ?>” <?php bp_form_field_attributes( ’email’ ); ?>/>
    </div>

    <div class=”newline”><label for=”signup_password”><?php _e( ‘Créez un mot de passe (6 à 8 caractères) :’, ‘buddypress’ ); ?></label>
    <?php do_action( ‘bp_signup_password_errors’ ); ?>
    <input type=”password” name=”signup_password” id=”signup_password” value=”” class=”password-entry” <?php bp_form_field_attributes( ‘password’ ); ?>/>
    <div id=”pass-strength-result”></div>
    </div>

    <div class=”newline”><label for=”signup_password_confirm”><?php _e( ‘Confirmation du mot de passe :’, ‘buddypress’ ); ?></label>
    <?php do_action( ‘bp_signup_password_confirm_errors’ ); ?>
    <input type=”password” name=”signup_password_confirm” id=”signup_password_confirm” value=”” class=”password-entry-confirm” <?php bp_form_field_attributes( ‘password’ ); ?>/>
    </div>

    <input type=”hidden” name=”user_type” id=”user_type” value=”your_role” />

    <?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=”permanent-details-section”>

    <?php /* Use the profile field loop to render input fields for the ‘base’ profile field group */ ?>
    <?php if ( function_exists( ‘bp_has_profile’ ) ) : if ( bp_has_profile( ‘profile_group_id=1’ ) ) : while ( bp_profile_groups() ) : bp_the_profile_group(); ?>

    <?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?>
    <?php if ( ‘textbox’ == bp_get_the_profile_field_type() ) : ?>
    <div class=”profile-table”><div class=”editfield”><span id=”styled<?php bp_the_profile_field_input_name() ?>”>
    <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( ‘<span title=”Required” class=”required”></span>’, ‘buddypress’ ) ?><?php endif; ?></label></span>
    <?php do_action( ‘bp_’ . bp_get_the_profile_field_input_name() . ‘_errors’ ) ?>
    <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 do_action( ‘bp_custom_profile_edit_fields’ ) ?>
    <div class=”editfield-description”><?php bp_the_profile_field_description() ?></div>
    </div></div>
    <?php endif; ?>
    <?php if ( ‘textarea’ == bp_get_the_profile_field_type() ) : ?>
    <div class=”profile-table”><div class=”editfield”><span id=”styled<?php bp_the_profile_field_input_name() ?>”>
    <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( ‘<span title=”Required” class=”required”>*</span>’, ‘buddypress’ ) ?><?php endif; ?></label></span>
    <?php do_action( ‘bp_’ . bp_get_the_profile_field_input_name() . ‘_errors’ ) ?>
    <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 do_action( ‘bp_custom_profile_edit_fields’ ) ?>
    <div class=”editfield-description”><?php bp_the_profile_field_description() ?></div>
    </div></div>
    <?php endif; ?>
    <?php if ( ‘selectbox’ == bp_get_the_profile_field_type() ) : ?>
    <div class=”profile-table”><div class=”editfield”><span id=”styled<?php bp_the_profile_field_input_name() ?>”>
    <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( ‘<span title=”Required” class=”required”>*</span>’, ‘buddypress’ ) ?><?php endif; ?></label></span>
    <?php do_action( ‘bp_’ . bp_get_the_profile_field_input_name() . ‘_errors’ ) ?>
    <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 do_action( ‘bp_custom_profile_edit_fields’ ) ?>
    <div class=”editfield-description”><?php bp_the_profile_field_description() ?></div>
    </div></div>
    <?php endif; ?>
    <?php if ( ‘multiselectbox’ == bp_get_the_profile_field_type() ) : ?>
    <div class=”profile-table”><div class=”editfield”>
    <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( ‘<span title=”Required” class=”required”>*</span>’, ‘buddypress’ ) ?><?php endif; ?></label>
    <?php do_action( ‘bp_’ . bp_get_the_profile_field_input_name() . ‘_errors’ ) ?>
    <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 do_action( ‘bp_custom_profile_edit_fields’ ) ?>
    <div class=”editfield-description”><?php bp_the_profile_field_description() ?></div>
    </div></div>
    <?php endif; ?>
    <?php if ( ‘radio’ == bp_get_the_profile_field_type() ) : ?>
    <div class=”profile-line”><div class=”editfield”>
    <div class=”radio”>
    <span id=”styled<?php bp_the_profile_field_input_name() ?>”><span class=”label”><?php bp_the_profile_field_name() ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( ‘<span title=”Required” class=”required”>*</span>’, ‘buddypress’ ) ?><?php endif; ?></span></span>
    <?php do_action( ‘bp_’ . bp_get_the_profile_field_input_name() . ‘_errors’ ) ?>
    <?php bp_the_profile_field_options() ?>
    <?php if ( !bp_get_the_profile_field_is_required() ) : ?>
    <span class=”clear-link”>‘ );”><?php _e( ‘Clear’, ‘buddypress’ ) ?></span>
    <?php endif; ?>
    </div>
    <?php do_action( ‘bp_custom_profile_edit_fields’ ) ?>
    <div class=”editfield-description”><?php bp_the_profile_field_description() ?></div>
    </div></div>
    <?php endif; ?>
    <?php if ( ‘checkbox’ == bp_get_the_profile_field_type() ) : ?>
    <div class=”profile-line”><div class=”editfield”>
    <div class=”checkbox”>
    <span id=”styled<?php bp_the_profile_field_input_name() ?>”><span class=”label”><?php bp_the_profile_field_name() ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( ‘<span title=”Required” class=”required”>*</span>’, ‘buddypress’ ) ?><?php endif; ?></span></span>
    <?php do_action( ‘bp_’ . bp_get_the_profile_field_input_name() . ‘_errors’ ) ?>
    <?php bp_the_profile_field_options() ?>
    </div>
    <?php do_action( ‘bp_custom_profile_edit_fields’ ) ?>
    <div class=”editfield-description”><?php bp_the_profile_field_description() ?></div>
    </div></div>
    <?php endif; ?>
    <?php if ( ‘datebox’ == bp_get_the_profile_field_type() ) : ?>
    <div class=”profile-table”><div class=”editfield”><span id=”styled<?php bp_the_profile_field_input_name() ?>”>
    <!–<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( ‘<span title=”Required” class=”required”>*</span>’, ‘buddypress’ ) ?><?php endif; ?></label></span>
    <?php do_action( ‘bp_’ . bp_get_the_profile_field_input_name() . ‘_errors’ ) ?>
    <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 do_action( ‘bp_custom_profile_edit_fields’ ) ?>
    <div class=”editfield-description”><?php bp_the_profile_field_description() ?></div>
    </div></div>
    <?php endif; ?>
    <?php endwhile; ?>

    <?php $fields_ids[]= bp_get_the_profile_group_field_ids();?>
    <?php endwhile; endif; endif; ?>
    <input type=”hidden” name=”signup_profile_field_ids” id=”signup_profile_field_ids” value=”<?php echo implode(“,”,$fields_ids);?>” />
    <input type=”hidden” name=”user_type” id=”user_type” value=”your_role” />
    </div>

    <div class=”register-section” id=”candidats-details-section”>

    <?php /* Use the profile field loop to render input fields for the ‘base’ profile field group */ ?>
    <?php if ( function_exists( ‘bp_has_profile’ ) ) : if ( bp_has_profile( ‘profile_group_id=2’ ) ) : while ( bp_profile_groups() ) : bp_the_profile_group(); ?>

    <?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?>
    <?php if ( ‘textbox’ == bp_get_the_profile_field_type() ) : ?>
    <div class=”profile-table”><div class=”editfield”><span id=”styled<?php bp_the_profile_field_input_name() ?>”>
    <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( ‘<span title=”Required” class=”required”></span>’, ‘buddypress’ ) ?><?php endif; ?></label></span>
    <?php do_action( ‘bp_’ . bp_get_the_profile_field_input_name() . ‘_errors’ ) ?>
    <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 do_action( ‘bp_custom_profile_edit_fields’ ) ?>
    <div class=”editfield-description”><?php bp_the_profile_field_description() ?></div>
    </div></div>
    <?php endif; ?>
    <?php if ( ‘textarea’ == bp_get_the_profile_field_type() ) : ?>
    <div class=”profile-table”><div class=”editfield”><span id=”styled<?php bp_the_profile_field_input_name() ?>”>
    <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( ‘<span title=”Required” class=”required”>*</span>’, ‘buddypress’ ) ?><?php endif; ?></label></span>
    <?php do_action( ‘bp_’ . bp_get_the_profile_field_input_name() . ‘_errors’ ) ?>
    <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 do_action( ‘bp_custom_profile_edit_fields’ ) ?>
    <div class=”editfield-description”><?php bp_the_profile_field_description() ?></div>
    </div></div>
    <?php endif; ?>
    <?php if ( ‘selectbox’ == bp_get_the_profile_field_type() ) : ?>
    <div class=”profile-table”><div class=”editfield”><span id=”styled<?php bp_the_profile_field_input_name() ?>”>
    <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( ‘<span title=”Required” class=”required”>*</span>’, ‘buddypress’ ) ?><?php endif; ?></label></span>
    <?php do_action( ‘bp_’ . bp_get_the_profile_field_input_name() . ‘_errors’ ) ?>
    <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 do_action( ‘bp_custom_profile_edit_fields’ ) ?>
    <div class=”editfield-description”><?php bp_the_profile_field_description() ?></div>
    </div></div>
    <?php endif; ?>
    <?php if ( ‘multiselectbox’ == bp_get_the_profile_field_type() ) : ?>
    <div class=”profile-table”><div class=”editfield”>
    <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( ‘<span title=”Required” class=”required”>*</span>’, ‘buddypress’ ) ?><?php endif; ?></label>
    <?php do_action( ‘bp_’ . bp_get_the_profile_field_input_name() . ‘_errors’ ) ?>
    <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 do_action( ‘bp_custom_profile_edit_fields’ ) ?>
    <div class=”editfield-description”><?php bp_the_profile_field_description() ?></div>
    </div></div>
    <?php endif; ?>
    <?php if ( ‘radio’ == bp_get_the_profile_field_type() ) : ?>
    <div class=”profile-line”><div class=”editfield”>
    <div class=”radio”>
    <span id=”styled<?php bp_the_profile_field_input_name() ?>”><span class=”label”><?php bp_the_profile_field_name() ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( ‘<span title=”Required” class=”required”>*</span>’, ‘buddypress’ ) ?><?php endif; ?></span></span>
    <?php do_action( ‘bp_’ . bp_get_the_profile_field_input_name() . ‘_errors’ ) ?>
    <?php bp_the_profile_field_options() ?>
    <?php if ( !bp_get_the_profile_field_is_required() ) : ?>
    <span class=”clear-link”>‘ );”><?php _e( ‘Clear’, ‘buddypress’ ) ?></span>
    <?php endif; ?>
    </div>
    <?php do_action( ‘bp_custom_profile_edit_fields’ ) ?>
    <div class=”editfield-description”><?php bp_the_profile_field_description() ?></div>
    </div></div>
    <?php endif; ?>
    <?php if ( ‘checkbox’ == bp_get_the_profile_field_type() ) : ?>
    <div class=”profile-line”><div class=”editfield”>
    <div class=”checkbox”>
    <span id=”styled<?php bp_the_profile_field_input_name() ?>”><span class=”label”><?php bp_the_profile_field_name() ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( ‘<span title=”Required” class=”required”>*</span>’, ‘buddypress’ ) ?><?php endif; ?></span></span>
    <?php do_action( ‘bp_’ . bp_get_the_profile_field_input_name() . ‘_errors’ ) ?>
    <?php bp_the_profile_field_options() ?>
    </div>
    <?php do_action( ‘bp_custom_profile_edit_fields’ ) ?>
    <div class=”editfield-description”><?php bp_the_profile_field_description() ?></div>
    </div></div>
    <?php endif; ?>
    <?php if ( ‘datebox’ == bp_get_the_profile_field_type() ) : ?>
    <div class=”profile-table”><div class=”editfield”><span id=”styled<?php bp_the_profile_field_input_name() ?>”>
    <!–<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( ‘<span title=”Required” class=”required”>*</span>’, ‘buddypress’ ) ?><?php endif; ?></label></span>
    <?php do_action( ‘bp_’ . bp_get_the_profile_field_input_name() . ‘_errors’ ) ?>
    <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 do_action( ‘bp_custom_profile_edit_fields’ ) ?>
    <div class=”editfield-description”><?php bp_the_profile_field_description() ?></div>
    </div></div>
    <?php endif; ?>
    <?php endwhile; ?>

    <?php $fields_ids[]= bp_get_the_profile_group_field_ids();?>
    <?php endwhile; endif; endif; ?>
    <input type=”hidden” name=”signup_profile_field_ids” id=”signup_profile_field_ids” value=”<?php echo implode(“,”,$fields_ids);?>” />
    </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><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_signup_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( ‘Sauvegarder mes infos’, ‘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() ) : ?>

    <?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>

    Any ideas? Also I don’t want to use another pluggins and I don’t want to give the user the option of choosing his user role. Thank you in advance.

    #260015
    danbp
    Participant

    You wanted code ? Here it is, but no need to get rude by using uppercase ! Searching the forum brings some topics about “notification”

    See if it still works:

    https://buddypress.org/support/topic/notifications-template/

    #260007
    livingflame
    Participant

    @modemlooper You know that a lot of plugin is bad for WordPress. I don’t want more plugins, I need the Codes. Look at this and please understand my petition.

    Site Menu example:

    Logo –– Home –– Activity –– Members –– Groups –– Message (1) –– Friend Request (3) –– Notifications (4) –– My Account or Profile (sub: Log Out, etc.)

    The problem is, that Buddypress links (Wp / Appearance / Menus) has not Bubbles or Count Alert. I NEED THE COUNT ALERTS! NO PLUGINS!

    #260001
    tergra
    Participant

    Hi,

    I’ve seen old posts about this but I don’t think these questions have been asked lately 🙂 If they have I’m very sorry !

    I have a WP Multi-site 4.6.2 with a BP 2.6.2.
    Every multi-site is in a different language and on a different subdirectory :

    • mydomain.com in english
    • mydomain.com/fr in French
    • mydomain.com/es in Spanish
    • etc.

    I saw on other posts on this forum that Buddypress is common to all multi-sites. I guess that means that when a user registers on one of the multi-sites he can use his account on all the other websites of the Multi-site installation, right ? Meaning :
    One user that registers on mydomain.com/fr as an author can also post content on mydomain.com/ and on mydomain.com/es, is that right ? (I hope it’s not because it would get messy quickly ^^⁾

    Also, more important : when a user is browsing mydomain.com/fr (so the French version of the website) when he clicks on “My Profile” it seems to automatically redirect him to the domain in English (mydomain.com/members/username/profile/), meaning it takes him out of the French Website to put him onto the English one. Of course this is not something I want as then the user gets totally lost because of that. I tried adding /fr to the url (like mydomain.com/fr/members/username/profile/) but it gives a 404 error.

    Is there a way to correct this ?

    Thank you very much !

    romanreignempire
    Participant

    Hello there

    i have Problems with my Buddypress.
    I cant either watch my Profile, and i also cant edit it.
    I also cant upload an Avatar Pic, i cnat change cover image, i cant do anything

    Howe can i fix this.
    I do get an Error pages.
    I uploaded and installed evertyhing. I dont know what to do

    How can this be fixed ?

    I have the newest Buddypress Version
    my Site http://www.theromanreigns-empire.com

    error message

    #259997
    modemlooper
    Moderator

    look through this plugin https://wordpress.org/plugins/buddypress-notifications-widget/

    The code could be reused to create a menu

    #259988
    danbp
    Participant
    #259983
    bid9jafd
    Participant

    Hi,

    I want to hide the entire Base Profile Field Group on my site.

    I have followed the steps outlined by @shanebp in this topic &, while the Base Profile Fields have been hidden, the tab for the Group is still visible.

    I have posted a screenshot of the issue here.

    I want just the profile group ‘user info’ to be visible & editable.

    I’m using the Kleo theme – version 4.1.5, WordPress 4.6.1.

    I’d greatly appreciate some help.

    alexlii
    Participant

    Hello,

    I am using Mycred in my Buddypress sites, and grant BP members more points to encourage them to share their referring links, but which is a hidden link to any other users including a visitor by default although the balance of members are visible to visitor by default, which is not mobile friendly since buddypress member always share the pages and it is not possible to ask them copy and paste the referring link like PC mode.

    So I try to change the roles capability and custom that mycred referring link to be visible to everyone whoever is login or not, but I failed.

    Any ways to custom fields in profile? comments would be greatly appreciated, thanks.

    Alex

    #259978
    Antipole
    Participant

    @joeaj111 – not sure I understand your question… it is standard BuddyPress stuff:

    1. Create a blank page for the members list
    2. Set that page as the Members page in BuddyPress settings

    When you display that page you see a list of members and at the top is a search box to search for a member.

    #259977
    modemlooper
    Moderator

    This is not a BuddyPress issue. Contact PMPRO support.

    I did find this, use are your own risk.

    http://codegists.com/snippet/php/pmpro-buddypress-membership-protectionphp_eighty20results_php

    #259976
    modemlooper
    Moderator

    bp_core_new_nav_item()

    bp_core_new_nav_item doesn’t need

    ‘parent_url’ => $bp->displayed_user->domain,
    ‘parent_slug’ => $bp->profile->slug,

    remove those.

    create a function to redirect

    function my_redirect() {
        if ( 'community' === bp_current_component() ) {
            bp_core_redirect( 'your link here );
        }
    }
    add_action( 'template_redirect', 'my_redirect' );
Viewing 25 results - 12,826 through 12,850 (of 73,986 total)
Skip to toolbar