Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 5,326 through 5,350 (of 32,678 total)
  • Author
    Search Results
  • #261775
    Venutius
    Moderator

    There’s a few different ways you could go about this, there’s a few privacy plugins that will hide different aspect of the site from public view. One is BP Registration Options, this installs new member moderation (so you can choose who to allow on you site) and BuddyPress privacy, where the BuddyPress pages are all private, but the WordPress pages and posts are still public.

    If that’s not private enough for you then there’s BP Simple Private which allows you to hide all aspects of your site apart from the homepage.

    #261774
    mthant
    Participant

    I would like to create a private community website for selected individuals. Currently, WordPress registration has email and password. But that will allow any person to join. If the website wants to limit to certain individuals e.g. alumni of a school or a neighborhood community, we should have additional fields that can filter out unwanted individuals by creating certain criteria.
    How can we do that?
    Thanks,

    #261773
    aubreyw
    Participant

    Thanks Venutius. The part I find confusing is that all those themes have nice fancy images and layouts, but none of them appear to be anything like an online community layout. If I choose one of the themes from WordPress Themes Directory, is it safe to assume I can easily modify it (without knowing any code) to the look and feel of an online community?

    #261772
    Venutius
    Moderator

    You don’t have to be logged in to comment in WordPress

    #261770
    Venutius
    Moderator

    BuddyPress used to come with it’s own theme, it’s still there though not really supported.

    The theme dictates the look and feel of your site so recommendation is difficult, also there’s a choice to be made between premium and free themes.

    For the free themes just take a look over on the WordPress Themes Directory

    aubreyw
    Participant

    I’m entirely new to WordPress and BuddyPress. I’d like to create an online community that allows members to do most of the same stuff they can do on facebook (that’s the best and most popular example I can think of). I have created a Bluehost account and added WordPress to it. I will add BuddyPress to it as well, but I’m very confused about needing a “theme”. I thought BuddyPress would also act as a theme in itself, but apparently that’s not the case and I still need to choose a theme to use. Can someone please recommend a compatible theme I can use for an online community that will have at least somewhat of a facebook look and feel? I need a theme that’s easy enough for a person who doesn’t know any code and one that’s simple to use. Can you also please explain to me in simple terms why I need a WP theme and BuddyPress both together???

    #261756
    danbp
    Participant

    Hi,

    BuddyPress use templates to show his stuff.
    The registration is part of WP and BP’s xprofile component add only some additionnal fields to the original register form.

    If you open a template file you will see a lot of code and many lines starting by do_action( ‘something’ );

    These files are all stored in bp-templates/bp-legacy/buddypress/

    Now you have already the where and the what. here’s the how.

    To show some text on the register page you have two options:
    1) altering the whole template file bp-templates/bp-legacy/buddypress/members/register.php
    2) add what you want by using an action hook

    The second method is the fasted and the easiest. You just need to write a function and you’re done.

    
    function valeriemanne() {
       echo 'Here i am !';
    }
    add_action( 'bp_before_register_page', 'valeriemanne' );

    Add this to your child theme functions.php file or into bp-custom.php

    WordPress codex references
    add_action
    Child theme

    #261738

    In reply to: Cannot See Groups

    Venutius
    Moderator
    #261708
    hicksben359
    Participant

    Hi, does anyone know of a way to change a user’s avatar via code, rather than going through the upload process?

    I’m looking to create a selection of avatars that users can choose from (rather than uploading their own)

    I am aware there is this plugin https://github.com/imath/bp-avatar-suggestions and although it’s very good I don’t really like the way it works.

    I wouldn’t need any way of managing the avatars from wordpress admin, just want to be able to pass a file location to be set as an avatar.

    TIA

    Archie Makuwa
    Participant

    Hi guys,

    Is there any easier way to remove the BuddyPress Components dashboard notifications?
    – The following active BuddyPress Components do not have associated WordPress Pages: Members, User Groups, Activate, Register. Repair

    I simply do not wish to have the custom pages enabled. Registrations are handled manually and the password reset page is all custom. Any pointing in the right direction will be highly appreciated.

    #261706

    In reply to: Read Only Group?

    Venutius
    Moderator

    Think this was the plugin Hugo was thinking of, it’s not been updated in 4 years though.

    https://wordpress.org/plugins/buddypress-announce-group/

    #261694
    ryanrain
    Participant

    Thanks @wordpressrene, I’m having a closely related issue. WP 4.6.1, BP 2.7.2.

    Just to restate the issue for clarity, my client brought to my attention what she considers to be a bug: in places such as the members listing and individual profiles, no recent update is shown for some members who *have* been active.

    looking around in the code, it appears that the bp_member_latest_update() function seems to not include forum replies or activity comments, just updates.

    HOWEVER, the bp_member_last_active() function DOES include activity comments in its calculation of how much time has passed since the user interacted with the site. One sees that a person was active, but for some mysterious reason that activity isn’t shown. My personal opinion is that all activity, including activity comments, should be included in bp_member_latest_update() by default, but my guess is that this is by design.

    Any advice as to how to print out a user’s most recent activity regardless of its type? Can anyone point me in the right direction? Thanks everyone!

    #261685
    Venutius
    Moderator

    What you could do is install WPFront User Role editor, one of the features of this plugin is that it allows you to choose menu items as not being visible until you are logged in etc.

    #261682
    sweeneytodd94
    Participant

    (Latest version of WP/BP; non-bundled custom theme, using child theme.)

    When adding a custom index & members-loop to /members/ in my child-theme, to make some adjustments to the members directory layout, individual profile pages break completely, I think defaulting to the pages.php but loaded without any content.

    childtheme/members/members-loop.php

    <?php 
    //global $members_template;
    //$reset_members_template = $members_template;
    
    do_action( 'bp_before_members_loop' ); ?>
    
    <?php if ( bp_has_members( bp_ajax_querystring( 'members' ) . '&per_page=21&type=alphabetical' ) ) : ?>
    
    	<div id="pag-top" class="pagination">
    		<div class="pag-count" id="member-dir-count-top"><?php bp_members_pagination_count(); ?></div>
    		<div class="pagination-links" id="member-dir-pag-top"><?php bp_members_pagination_links(); ?></div>
    	</div>
    
    	<?php do_action( 'bp_before_directory_members_list' ); ?>
    
    	<ul id="members-list" class="item-list" role="main">
    
    	<?php while ( bp_members() ) : bp_the_member(); ?>
    
    		<li>
    			<div class="item-avatar">
    				<a href="<?php bp_member_permalink(); ?>"><?php bp_member_avatar('type=full&width=80&height=80'); ?></a>
    			</div>
    			<div class="item">
    				<div class="item-title"><a href="<?php bp_member_permalink(); ?>"><?php bp_member_name(); ?></a></div>
    				<div class="item-meta"><span class="activity"><?php bp_member_last_active(); ?></span></div>
    				<?php do_action( 'bp_directory_members_item' ); ?>
    			</div>
    			<div class="action">
    				<?php do_action( 'bp_directory_members_actions' ); ?>
    			</div>
    			<div class="clear"></div>
    		</li>
    
    	<?php endwhile; ?>
    
    	</ul>
    
    	<?php do_action( 'bp_after_directory_members_list' ); ?>
    
    	<?php bp_member_hidden_fields(); ?>
    
    	<div id="pag-bottom" class="pagination">
    		<div class="pag-count" id="member-dir-count-bottom"><?php bp_members_pagination_count(); ?></div>
    		<div class="pagination-links" id="member-dir-pag-bottom"><?php bp_members_pagination_links(); ?></div>
    	</div>
    
    <?php else: ?>
    	<div id="message" class="info"><p><?php _e( "Sorry, no members were found.", 'buddypress' ); ?></p></div>
    <?php endif; 
    
    //$members_template = $reset_members_template;
    ?>
    
    <?php do_action( 'bp_after_members_loop' ); ?>

    childtheme/members/index.php

    <?php
    
    /**
     * BuddyPress - Members Directory
     *
     * @package BuddyPress
     * @subpackage bp-default - SSSMG
     */
    
    get_header( 'buddypress' ); ?>
    
    	<?php do_action( 'bp_before_directory_members_page' ); ?>
    
    <div class="container">
    <div class="row">
    <div id="primary" class="col-md-10">
    
    	<div id="content" role="main" class="<?php do_action( 'content_class' ); ?>">
    		<div class="padder">
    		<div class="buddypress">
    
    		<?php do_action( 'bp_before_directory_members' ); ?>
    		
    	<form action="" method="post" id="members-directory-form" class="dir-form">
    	
    	<?php do_action( 'bp_before_directory_members_content' ); ?>
    
    	<div id="members-dir-search" class="dir-search" role="search">
    		<?php bp_directory_members_search_form(); ?>
    	</div><!-- #members-dir-search -->
    
    	<?php do_action( 'bp_before_directory_members_tabs' ); ?>
    
    		<div class="item-list-tabs" role="navigation">
    			<ul>
    				<li class="selected" id="members-all"><a href="<?php bp_members_directory_permalink(); ?>"><?php printf( __( 'All Members %s', 'buddypress' ), '<span>' . bp_core_get_total_member_count() . '</span>' ); ?></a></li>
    
    				<?php if ( is_user_logged_in() && bp_is_active( 'friends' ) && bp_get_total_friend_count( bp_loggedin_user_id() ) ) : ?>
    					<li id="members-personal"><a href="<?php echo bp_loggedin_user_domain() . bp_get_friends_slug() . '/my-friends/'; ?>"><?php printf( __( 'My Friends %s', 'buddypress' ), '<span>' . bp_get_total_friend_count( bp_loggedin_user_id() ) . '</span>' ); ?></a></li>
    				<?php endif; ?>
    
    				<?php do_action( 'bp_members_directory_member_types' ); ?>
    
    			</ul>
    		</div><!-- .item-list-tabs -->
    
    		<div id="members-dir-list" class="members dir-list">
    			<?php //bp_get_template_part( 'members/members-loop' );
    				locate_template( array( 'members/members-loop.php' ), true );
    			?>
    		</div><!-- #members-dir-list -->
    
    		<?php do_action( 'bp_directory_members_content' ); ?>
    
    		<?php wp_nonce_field( 'directory_members', '_wpnonce-member-filter' ); ?>
    
    		<?php do_action( 'bp_after_directory_members_content' ); ?>
    
    	</form><!-- #members-directory-form -->
    
    	<?php do_action( 'bp_after_directory_members' ); ?>
    
    </div><!-- #buddypress -->
    </div><!-- .padder -->
    	</div><!-- #content -->
    
    </div><!-- primary -->
    <?php get_sidebar( 'buddypress' ); ?>
    </div><!-- row -->
    </div><!-- container -->
    
    	<?php do_action( 'bp_after_directory_members_page' ); ?>
    
    <?php get_footer( 'buddypress' ); ?>

    bp-custom.php

    <?php
    // bp-custom.php - BP hacks and mods will go here
    /**
     * Include bbPress 'topic' custom post type in WordPress' search results */
     
    function ntwb_bbp_topic_cpt_search( $topic_search ) {
    	$topic_search['exclude_from_search'] = false;
    	return $topic_search;
    }
    add_filter( 'bbp_register_topic_post_type', 'ntwb_bbp_topic_cpt_search' );
    
    /**
     * Include bbPress 'forum' custom post type in WordPress' search results */
    
    function ntwb_bbp_forum_cpt_search( $forum_search ) {
    	$forum_search['exclude_from_search'] = false;
    	return $forum_search;
    }
    add_filter( 'bbp_register_forum_post_type', 'ntwb_bbp_forum_cpt_search' );
    
    /**
     * Include bbPress 'reply' custom post type in WordPress' search results  */
    
    function ntwb_bbp_reply_cpt_search( $reply_search ) {
    	$reply_search['exclude_from_search'] = false;
    	return $reply_search;
    }
    add_filter( 'bbp_register_reply_post_type', 'ntwb_bbp_reply_cpt_search' );
    
    /**
     * Ensure that multiselect boxes have trailing brackets in their 'id' and 'name' attributes.
     *
     * These brackets are required for an array of values to be sent in the POST
     * request. Previously, bp_get_the_profile_field_input_name() contained the
     * necessary logic, but since BP 2.0 that logic has been moved into
     * BP_XProfile_Field_Type_Multiselectbox. Since bp-default does not use the
     * BP_XProfile_Field_Type classes to build its markup, it did not inherit
     * the brackets from their new location. Thus this workaround.
     */
    function bp_dtheme_add_brackets_to_multiselectbox_attributes( $name ) {
    	global $field;
    
    	if ( 'multiselectbox' === $field->type ) {
    		$name .= '[]';
    	}
    
    	return $name;
    }
    add_filter( 'bp_get_the_profile_field_input_name', 'bp_dtheme_add_brackets_to_multiselectbox_attributes' );
    
    // add the custom column headers to BP manage signups
    function philopress_modify_user_columns($column_headers) {
            $column_headers['extended'] = 'Extended';
            return $column_headers;
    }
    add_action('manage_users_page_bp-signups_columns','philopress_modify_user_columns');
    
    // dump all the pending user's meta data in the custom column
    function philopress_signup_custom_column( $str, $column_name, $signup_object ) {
    	if ( $column_name == 'extended' ) 
                 return print_r( $signup_object->meta, true );
            return $str;
    }
    add_filter( 'bp_members_signup_custom_column', 'philopress_signup_custom_column', 1, 3 );
    
    //* Redirect WordPress Logout to Home Page
    add_action('wp_logout',create_function('','wp_redirect(home_url());exit();'));
    
    //add @mentions to bbpress forum
    function custom_bbpress_maybe_load_mentions_scripts( $retval = false ) {
    	if ( function_exists( 'bbpress' ) && is_bbpress() ) {
    		$retval = true;
    	}
    	return $retval;
    }
    add_filter( 'bp_activity_maybe_load_mentions_scripts', 'custom_bbpress_maybe_load_mentions_scripts' );
    
    function bphelp_dpioml(){
    	$bphelp_my_profile_field_1='Profession';
    	$bphelp_my_profile_field_2='Primary Institution';
           if( is_user_logged_in() && bp_is_members_component() ) { ?>
            <div class="bph_xprofile_fields">
                              <?php if(bphelp_my_profile_field_1<>"") echo bp_member_profile_data( 'field='.$bphelp_my_profile_field_1 );  ?><br />
    						  <?php if(bphelp_my_profile_field_2<>"") echo bp_member_profile_data( 'field='.$bphelp_my_profile_field_2 );  ?><br />
                    </div><?php
           }
    }
    add_action('bp_directory_members_item', 'bphelp_dpioml');
    
    ?>

    I’ve tried all sorts of different combinations but whatever I do, the only way to get both the profile pages and the members directory to display is to remove the index and members-loop customizations. Then everything works fine, but without the adjustments to the members directory that I want (removing recent updates, for instance). Any pointers would be brilliant!

    #261677

    In reply to: bp_send_email help

    Venutius
    Moderator
    #261663
    rageshr007
    Participant
    #261662
    rageshr007
    Participant

    Hi Team…I was very excited with BP features and tried to install on my WP local site with theme “Superfine” which is compatible for BP..After installation all BP pages shows blank when i open individually by clicking view on page edit.I don’t see any contents on that….On top of that when i go to loged in user top tool bar and click on activity or member pages all end up with 404 error…As per the document from support i had add .htacess file on WP root file directory with full permission and change the perma link from plain to /%postname%..Still no luck..When i change perma link all my other web pages which was working fine with /index.php started to show 404 error along with other BP pages.I had also changed httpd/config to “Allow all”…I m totally confused and spend almost five days to trouble shoot ..still no luck…I had also changed the theme with 2015 and tried some basic theme still result is same…I thought it might be BP latest version compatibility with my theme..So i downloaded old version (2.5) ,that also doesn’t help …Also i tried by disabling all other plugin ..still no luck…Some other community plug-in similar to BP (ultimate member,mingle) also tried and that works fine..Still i m very eager to use BP i don’t want to give up.Pls help me to be part of buddypress community.

    Theme link –

    Compatible With WPML, BuddyPress 2.5.x, BuddyPress 2.4.x, BuddyPress 2.3.x, BuddyPress 2.2.x, BuddyPress 2.1.x, BuddyPress 2.0.x,

    hotloverspassion
    Participant

    Hi guys,

    I am wondering, whether someone will be able to help.

    I don’t like to have two name fields in my registration page ( “username” from wordpress and “name” from buddypress ) – see https://codex.buddypress.org/getting-started/guides/modifying-the-registration-form/, but unfortunately both names are used throughout the site so I can’t really delete any of them either. The only solution I was thinking about would be to add a code to functions to make both input fields to match upon registration – something similar to a confirm email field code I found here http://vibethemes.com/documentation/wplms/knowledge-base/add-confirm-email-field-in-register-page/

    I have tried to play with a code, but it’s like reading Chinese for me.

    Any ideas?

    Thanks!

    eavinu
    Participant

    Makes perfect sense!

    Thank you very much for this help, You helped me a great deal here. Really appreciate it and hope to learn better php so that I could also understand and be able to extend wordpress and plugins soon 🙂

    Should I mark this as resolved and make a new post on making a custom column which is not related to the orders post type filterable (or in the worst case sortable)?

    #261657

    So sorry @danbp.

    Since installing BP 2.7.2, all the ajax response I receive starts with a php tag <?php.
    I already tried deactivating all other plugins, setting my theme to twentysixteen, but whenever I activate only BP, the issue is generated.

    1. WordPress version: 4.6.1

    2. Installed wordpress as a directory

    3. Root

    4. Did not upgrade from a previous version of wordpress.

    5. WordPress was functioning properly before I installed BP.

    6. BP version 2.7.2

    7. Did not upgrade from a previous version of BP

    8. I have plugins other than BP. I already tried deactivating all plugins. Only BP causes the issue.

    9. Customized theme

    10. Social Portfolio

    11. No

    12. No

    13. not running bbpress

    14. Please provide a list of any errors in your server’s log files.

    [03-Dec-2016 11:26:59 UTC] PHP Notice:  bp_nav was called <strong>incorrectly</strong>. These globals should not be used directly and are deprecated. Please use the BuddyPress nav functions instead. Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 2.6.0.) in /var/www/html/evriend/wp-includes/functions.php on line 3996
    [03-Dec-2016 11:26:59 UTC] PHP Notice:  Indirect modification of overloaded element of BP_Core_BP_Options_Nav_BackCompat has no effect in /var/www/html/evriend/wp-content/themes/social-portfolio/buddyboss-inc/theme-functions.php on line 2085
    [03-Dec-2016 11:26:59 UTC] PHP Notice:  bp_nav was called <strong>incorrectly</strong>. These globals should not be used directly and are deprecated. Please use the BuddyPress nav functions instead. Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 2.6.0.) in /var/www/html/evriend/wp-includes/functions.php on line 3996
    [03-Dec-2016 11:26:59 UTC] PHP Notice:  Indirect modification of overloaded element of BP_Core_BP_Options_Nav_BackCompat has no effect in /var/www/html/evriend/wp-content/themes/social-portfolio/buddyboss-inc/theme-functions.php on line 2086
    [03-Dec-2016 11:26:59 UTC] PHP Notice:  bp_nav was called <strong>incorrectly</strong>. These globals should not be used directly and are deprecated. Please use the BuddyPress nav functions instead. Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 2.6.0.) in /var/www/html/evriend/wp-includes/functions.php on line 3996
    [03-Dec-2016 11:26:59 UTC] PHP Notice:  Indirect modification of overloaded element of BP_Core_BP_Options_Nav_BackCompat has no effect in /var/www/html/evriend/wp-content/themes/social-portfolio/buddyboss-inc/theme-functions.php on line 2087
    [03-Dec-2016 11:26:59 UTC] PHP Notice:  Undefined index: font-style in /var/www/html/evriend/wp-content/themes/social-portfolio/buddyboss-inc/theme-functions.php on line 1163
    [03-Dec-2016 11:26:59 UTC] PHP Notice:  Undefined index: subsets in /var/www/html/evriend/wp-content/themes/social-portfolio/buddyboss-inc/theme-functions.php on line 1164
    [03-Dec-2016 11:26:59 UTC] PHP Notice:  Undefined index: google in /var/www/html/evriend/wp-content/themes/social-portfolio/buddyboss-inc/theme-functions.php on line 1165

    15. No one yet. running on my local machine

    16. Apache

    #261655
    djalecc
    Participant

    WordPress 4.6.1 running Poseidon theme.
    BP Version 2.7.2

    Hello,

    For some reason (No idea) but today I can not create ‘some’ groups, after testing I discovered I CAN create a group TEST, but if I try and create the group “Foot Fetish” when I click the CREATE GROUP & CONTINUE button it doesn’t create the group and brings me back to the Group Create page (i.e. the same page), if however I put test 1, or test 2 in the group name, and with test 1 & test 2 in the description box, NO PROBLEM!!!

    Driving me NUTS, please help!

    Website = http://foook.com

    Thanks in advance if you can spare some time for me.

    #261652
    shanebp
    Moderator

    Also, turn on WP Debug and check your error logs.

    #261638
    danbp
    Participant

    Hi,

    You have to install BP correctly on WordPress as very first.
    This means particulary that you use WordPress with one of default’s Twenty theme.
    – install BuddyPress
    – activate the component you want to use
    – ensure that each component has his own page
    – pretty permalinks must be activated too.

    To get a proper register page, allow user registration in WP settings and add manually, if not created automatically, a “register” page to BP.

    NOTE: BP pages are not usual WP pages. They are only placeholder (a unique ID in the wp ecosystem) where BP will show dynamic content. These page must be unique and shouldn’t be asigned to any template or model. Give them a title and you’re done.

    once WP+BP work correctly together and you can access to the register page without trouble, you can be sure that this couple is definetly OK.

    No it’s time to activate a custom theme if you use one. An if something gooes wrong at this stage you’re sure it’s the new theme who is the culprit.

    And if the new theme is working correctly with WP+BP, you can install plugins.

    And again, WP+BP+Theme = OK, but what about the plugin ?

    Easy to understand, easy to build, very annoying to write this for the 589 000 time, but still the only way to install BP.

    On your side, you need to follow these steps, but also to read the documentation from codex and of course, from any additionnal plugin you want to use !

    That said, be warned that we can’t assist you on this forum with third party premium theme or plugins as we have no free access to their code.

    #261635
    ramano15
    Participant

    Hi there!

    Im using LMS theme made by designthemes: https://themeforest.net/item/lms-learning-management-system-education-lms-wordpress-theme/7867581

    My website: lawpreneur.net

    Latest version wordpress 4.6.

    I have spend my day why my buddypress isnt showing a registration page. The theme processes buddypress slightly different than the normal themes. They ask you to make an login&registration page with a login-template. With that being done, the registration form doesnt show op.

    So i tried some of the solutions here:
    – reinstalling
    – unplugging every plugin
    – putting up the set up as asked for by buddypress (member pages, registration pages etc.) and linking them in the buddpress-option menu.

    I am getting kind of desperate here, because I have run out of option.

    Thank you for repying

    #261628
    Venutius
    Moderator

    You want to hide the Members menu item from non logged in users?

    I use WPFront User Role Editor, that allows you to choose if menu items are displayed for non logged in members or not.

Viewing 25 results - 5,326 through 5,350 (of 32,678 total)
Skip to toolbar