Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 7,501 through 7,525 (of 69,109 total)
  • Author
    Search Results
  • #269635
    jebus
    Participant

    Thanks David. I ended up hacking the form a bit, since I’m using the Buddypress Name field combined with one Xprofile field. Not the most elegant, but it works.

    #269627
    chowd001
    Participant

    Thanks a lot for prompt response.

    1. Yes I want to use different icons. could you please elaborate which CSS I need to modify. where to find the css where the CSS is written for icons. I have just started using wordpress/buddypress

    2. Where do I find translation file

    Default sign-up form

    #269621
    ripulkr
    Participant

    1. Try saving permalinks. WP admin – Settings – Permalinks.
    2. Also check if you have the members directory connected at WP admin – Settings – BuddyPress
    3. Also make sure that the slug of the members directory is unique, like if members directory is abc.com/members , then you do not have any custom rule in .htaccess for members.

    #269616
    Henry Wright
    Moderator

    The latest version of BuddyPress doesn’t use create_function(). Try upgrading to version 2.9.2.

    #269613
    krioteh
    Participant

    In BuddyPress there is a built-in mechanism for synchronizing profile fields from WordPress.
    By default, it synchronizes only the “display_name” field, which is not always sufficient.
    Here is an example of the code by which you can synchronize any available fields in the WordPress field with the Buddypress fields

    function xprofile_sync_bp_profile2( &$errors, $update, &$user ) {
    	// Bail if profile syncing is disabled.
    	if ( bp_disable_profile_sync() || ! $update || $errors->get_error_codes() ) {
    		return;
    	}
        // Querying data from a table "usermeta", first we get the value of the custom field "address" and substitute this value for the "Address" field of the xprofile BuddyPress
        $address = get_user_meta( $user->ID, 'address', 'true' );  
    	xprofile_set_field_data( 'Address', $user->ID, $address );
      	//Similarly with other fields
        $firstname = get_user_meta( $user->ID, 'first_name', 'true' );  
    	xprofile_set_field_data( 'Name', $user->ID, $firstname );
      	$lastname = get_user_meta( $user->ID, 'last_name', 'true' );  
    	xprofile_set_field_data( 'Lastname', $user->ID, $lastname );
      	$description = get_user_meta( $user->ID, 'description', 'true' );  
    	xprofile_set_field_data( 'Bio', $user->ID, $description );
      
      	// Querying data from a table "user"
        xprofile_set_field_data( 'E-mail', $user->ID, $user->user_email );
        xprofile_set_field_data( 'Site', $user->ID, $user->user_url );
    }
    add_action( 'user_profile_update_errors', 'xprofile_sync_bp_profile2', 10, 3 );

    Unfortunately, the fields are synchronized only when the profile is updated. I do not know how to start mass synchronization 🙁

    I hope someone will find this information useful.

    #269610
    inderlovy
    Participant

    However the major question is how to implement it through buddypress as buddypress itself provides a login page. There should be option to redirect members to particular page.

    #269596
    barkins
    Participant

    WP Engine not compatible with BuddyPress it seems.

    #269574
    louie171
    Participant

    thanks David, I figured it out.

    It would be good if https://codex.buddypress.org/developer/group-types/

    continued the example at the top of the page i.e. teams eg mysite.com/groups/type/teams instead of ninja as lower on the page.

    (note teams not team).

    #269571
    David Cavins
    Keymaster

    Hi, the groups directory can handle that using some built-in arguments: https://codex.buddypress.org/developer/group-types/

    mysite.com/groups/type/ninja could be use to show only groups of type “ninja”.

    #269567

    In reply to: Broken links

    David Cavins
    Keymaster

    The links themselves look OK to me (BuddyPress is generating the correct links), but they are redirecting away at the server level. I’d check your htaccess files and other server-level routing code to find where the malicious code’s been added.

    Also, change your hosting setup passwords (like control panel, FTP access, DB access) as soon as you can.

    #269549
    David Cavins
    Keymaster

    Place the template file you want to use in your child them at the location specified here: https://codex.buddypress.org/themes/theme-compatibility-1-7/template-hierarchy/#registration-page

    When BuddyPress is updated, it won’t affect your child theme.

    #269544
    Arize Nnonyelu
    Participant

    i am having a really bad network sorry for the late response, but i am already using a child theme. What i am confused about is changes inside the BP Plugin, like the registration page. I am want to know if after customizing it and BP Plugin updates will the changes i made go away.
    public_html/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members
    If i can override it with the child theme, then how? Because i don’t know how to. thanks again

    #269543

    In reply to: Group. Custom page

    Boone Gorges
    Keymaster

    I’m afraid I haven’t ever used any of the available group chat plugins for BuddyPress, but a web search shows that a number are available: https://duckduckgo.com/?q=buddypress+group+chat&t=ffab&ia=web

    #269540
    David Cavins
    Keymaster

    Yes, the template hierarchy will use template parts from your theme:

    Template Hierarchy

    If you’re using a theme that is updated, then, yes, you should use a child theme to keep your changes.

    #269539
    David Cavins
    Keymaster

    Hi Marc-

    It sounds like you’re just getting started. Custom fields are part of the extended profile component. Read more about it here:

    User Extended Profiles

    Displaying Extended Profile Fields on Member Profiles

    It is not really possible to show groups with any richness outside of the group page. Your best bet is probably to customize your group templates to show what you want. The template hierarchy will help you:

    Template Hierarchy

    An all-user overview with search and filtering is the members directory available at yoursite.com/members

    #269538
    David Cavins
    Keymaster

    Hello there. BuddyPress doesn’t add jQuery to a site (it relies on WordPress to provide jQuery). It looks to me like you’re using a plugin to fetch jQuery from a CDN rather than use the local version that comes with WordPress. Disable your plugins one at a time until the code changes, then you’ll have found the cuplrit.

    #269527
    Boone Gorges
    Keymaster

    There should be nothing additional required – no registration or enqueuing.

    It looks like I made a typo in my original comment – I doubled the /buddypress/ path. Here’s the proper destintation in your theme:

    
    wp-content/themes/your-theme/buddypress/members/single/profile/profile-loop.php
    

    Sorry about that!

    #269520
    Boone Gorges
    Keymaster

    If you need to do extensive customization to the appearance of the user profile, I’d recommend overriding BP’s templates in your child theme. For example, you can copy the file wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/profile/profile-loop.php to wp-content/themes/your-theme/buddypress/buddypress/members/single/profile/profile-loop.php. Then, make the modifications you’d like in the copied file.

    Note that wp-profile.php is only used when the Extended Profiles component is disabled.

    #269519
    Boone Gorges
    Keymaster

    508 usually means that the hosting provider has put a limit on the resources available to your account. See https://stackoverflow.com/questions/20040307/how-to-fix-the-508-resource-limit-is-reached-error-in-wordpress. BuddyPress does generally require more resources (RAM, MySQL I/O) than a standard WP installation. I’d suggest reaching out to your hosting provider to ask about the potential of upgrading your service to support the use of BP.

    #269518
    Boone Gorges
    Keymaster

    Applying https://buddypress.trac.wordpress.org/changeset/11750 should fix the problem. Note that this change is in bp-messages/bp-messages-template.php, *not* notices-loop.php. There should be no need to reapply these changes after BuddyPress 3.0, where the fix will become part of the BP release.

    Boone Gorges
    Keymaster

    Hi @gregthebuzz – You might have better luck moving some of your logic into BP_Group_Extension, which does most of the template-related work for you. See https://codex.buddypress.org/developer/group-extension-api/. The display() method is where the content for your public-facing tab will go, while the edit parameter will help you configure what you’d like group admins to see under Manage.

    I’m unsure how or whether this’ll integrate neatly with https://wordpress.org/plugins/bp-extend-groups-fields/. That’s something you’ll probably want to talk to that plugin author about.

    #269512
    Boone Gorges
    Keymaster

    Hi @billybelly – It’s difficult for us on the buddypress.org forums to provide concrete advice on a non-free product, because we don’t have access to test it. If you paid for the UX Builder project, then they ought to be the ones providing you with support.

    That being said, it’s possible that BP templates are inherently incompatible with this plugin. BP technically uses WP pages like Activity, Register, etc, but it sorta hijacks the page loading process in a way that can make it incompatible with certain kinds of “builder” plugins. If you’re looking to customize the interior portions of a BP page, it’s best to do it either using CSS (which you can access via the Customizer and a plugin like https://wordpress.org/plugins/simple-custom-css/) or by overriding the templates in a child theme. See https://codex.buddypress.org/themes/theme-compatibility-1-7/a-quick-look-at-1-7-theme-compatibility/#overloading-template-compatibility-theme-files

    #269509
    Boone Gorges
    Keymaster

    Hi @datenfresser – You can customize the template by overriding the template file in your child theme. Copy the file wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/messages/messages-loop.php to wp-content/themes/[your-theme]/buddypress/members/single/messages/messages-loop.php, and make your modifications to the new file.

    To turn avatars into links, find lines that look like:

    
    <?php bp_message_thread_avatar( array( 'width' => 25, 'height' => 25 ) ); ?>
    

    and do this:

    <a href="<?php bp_message_thread_from(); ?><php bp_message_thread_avatar( array( 'width' => 25, 'height' => 25 ) ); ?></a>

    Something like that should get you close to what you want.

    To link the excerpt, find the line that includes bp_message_thread_excerpt(), and wrap it in a link to bp_message_thread_view_link(). See the ‘View Message’ markup just above for a template you can copy.

    #269508
    peter-hamilton
    Participant

    I think you need a child-theme and change the header.php to include your custom navigation, I have created a similar menu but did require a lot of work in the header.

    Full profile functionalities added to the main navigation

    When new messages the number of messages shows in the message-icon, links to profile page, also woocommerce integrated and a dashboard link for admin only.

    The following is in my custom header.php

    First code links to profile.
    <li><a href="<?php echo bp_loggedin_user_domain(); ?>" class="activitylink" title="My Account"><span class="dashicons dashicons-admin-users"></span></a></li>

    This code deals with messages.

    <li><a href="<?php global $current_user; echo home_url() . '/members/' . $current_user->user_login . '/messages/'; ?>"><span class="dashicons dashicons-admin-comments"></span><span class="commentcount"><?php if (bp_get_total_unread_messages_count( bp_loggedin_user_id() ) > 0 ) { ?> <?php bp_total_unread_messages_count( bp_loggedin_user_id() ) ?><?php } ?></span></a>
    </li>

    Since I did not want too much in my nav I only used these buddypress features, more would clog up my website too much.

    But where it comes down to is with a child-theme you can make it exactly as you like.

    Good luck
    P.H.

    #269507
    peter-hamilton
    Participant

    I guess the only way to achieve this is to create a child-theme and override the buddypress templates there, then your theme stays ok unless they make a major change with hooks etc.

Viewing 25 results - 7,501 through 7,525 (of 69,109 total)
Skip to toolbar