Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 10,326 through 10,350 (of 69,210 total)
  • Author
    Search Results
  • #254078
    r-a-y
    Keymaster

    Hmm… I forgot that those “Name” fields were not deletable from the admin dashboard.

    I would recommend the following:

    1. Disable the Extended Profiles component
    2. Tell your developer to go into your database and drop the following DB tables:
    – wp_bp_xprofile_data
    – wp_bp_xprofile_fields
    – wp_bp_xprofile_groups
    – wp_bp_xprofile_meta
    3. Next, go back to “Settings > BuddyPress > Components” and re-enable the Extended Profiles component

    This should recreate the Extended Profiles database tables from scratch and hopefully things should be okay afterwards.

    #254074
    r-a-y
    Keymaster

    that worked!!

    Glad to hear you’re up and running!

    But should I now see 5 tabs of Field Groups that all say “Base (Primary)” when I go to Profile Fields under Users?

    No, you shouldn’t.

    You should leave the first “Base (Primary)” tab alone, but do delete the rest of them.

    Do the same for the “Name (Primary)” field in the “Base” group. Keep the first one, but delete the rest.

    Note that this is a new install. I’ve never used BuddyPress before

    This does sound like a bug. It would be great to retrace your steps so we can duplicate this problem. Did you activate / deactivate / activate the plugin multiple times?

    Same goes for the components list under “Settings > BuddyPress > Components” in the WP admin dashboard. Did you uncheck / check / submit certain components multiple times?

    #254073
    AngelaQ
    Participant

    that worked!! But should I now see 5 tabs of Field Groups that all say “Base (Primary)” when I go to Profile Fields under Users? Each of these have 5 fields called “Name (Primary) (Required)”.

    Note that this is a new install. I’ve never used BuddyPress before and tried using xTended Profiles and gave up…

    #254066
    r-a-y
    Keymaster

    If you do not have access to your database, you can temporarily put the following snippet in your theme’s functions.php or wp-content/plugins/bp-custom.php file:

    function ray_xprofile_group_fix() {
    	global $wpdb, $bp;
    
    	if ( empty( $_GET['xprofilefix'] ) || empty( $bp ) ) {
    		return;
    	}
    
    	$wpdb->query( "UPDATE {$bp->profile->table_name_groups} SET id = 1 WHERE id = 2" );
    }
    add_action( 'get_header', 'ray_xprofile_group_fix' );

    Then, go to your website and append ?xprofilefix=1 to your website URL.

    eg. example.com/?xprofilefix=1

    This should change your profile group ID back to 1. Next, check your registration page and “Edit Profile” link and see if they work.

    Once you have confirmed that it works, remove the code snippet from your theme’s functions.php or bp-custom.php file.

    danbp
    Participant

    That is an old bbPress issue. When you edit a topic, i some case, the topic comes up twice(or more, depending how many edit you made) on the site activity.

    This bug will be corrected in bbP 2.6 (actual version is 2.5.9). See ticket & patch here.
    What you can do immediatly is to modify following file:

    
    wp-content/plugins/bbpress/includes/extend/buddypress/activity.php

    Replace code between line 277/279

    
    $existing = bp_activity_get_specific( array( 'activity_ids' => $activity_id, 'show_hidden' => true, 'spam' => 'all', ) );
    if ( empty( $existing['total'] ) || ( 1 !== (int) $existing['total'] ) )
    return null;

    by

    $existing = new BP_Activity_Activity( $activity_id );
    if ( empty( $existing->component ) ) {
    return null;
    }
    #254064
    danbp
    Participant

    Have you read this ?

    Member Types

    #254061
    r-a-y
    Keymaster

    @angelaq – I think your problem is related to this:
    https://buddypress.org/support/topic/bad-link-to-profile-edit/#post-174602

    I’m quoting the workaround solution below:

    Since I’ve seen so many threads regarding it and I was having same issue.

    this is regarding 404 error page if you are on page profile/edit/group/1/

    Problem is group 1 is missing in your profile section.

    All you need to do is go into you DB and look for table: wp_bp_xprofile_groups

    Then look for id=2, Base

    then just change id=2 to 1 and that’s it.

    This does sound like a legitimate bug.

    I’ve opened an issue about this here:
    https://buddypress.trac.wordpress.org/ticket/7109

    #254060
    r-a-y
    Keymaster

    Can both of you try reading this and see if the same problem applies to you?

    https://buddypress.org/support/topic/registration-page-does-not-work/#post-251532

    https://buddypress.org/support/topic/bad-link-to-profile-edit/#post-174602

    It sounds like this might be the problem at least for @angelaq.

    So I thought I would shed some light on this issue. Since I’ve seen so many threads regarding it and I was having same issue.

    this is regarding 404 error page if you are on page profile/edit/group/1/

    Problem is group 1 is missing in your profile section.

    All you need to do is go into you DB and look for table: wp_bp_xprofile_groups

    Then look for id=2, Base

    then just change id=2 to 1 and that’s it.

    #254057
    shanebp
    Moderator

    This premium plugin – BuddyProfileData – will add profile data to the members loop.
    It will add fields in a vertical stack.
    If you are comfortable with css and maybe a little php, you can change it to horizontal.

    Or you can write your own solution using this hook:
    do_action( 'bp_directory_members_item' );
    in this file:
    buddypress\bp-templates\bp-legacy\buddypress\members\members-loop.php

    Or you can create a template overload of that file and hardcode your solution directly in the template wherever and however you want it.

    Re the ‘>’ – the best solution is to find out where it is being added by your theme css and change it.

    shanebp
    Moderator
    #254045

    In reply to: BuddyPress Pages

    sharmavishal
    Participant

    Go to buddypress settings and in the pages section assign the pages

    #254044
    sharmavishal
    Participant

    No I meant your theme supports buddypress? Try with 2016 theme to see if it happens or not

    #254042
    sharmavishal
    Participant

    How did you install buddupress? This is a custom theme right? You see activity page in your pages? In settings-buddypress have you activated activity component? Have you associated your activity page in the pages setting of buddypress?

    #254021
    danbp
    Participant

    @emeraldcity,

    i suppose you already read the codex, thousand of topics and of course, that you have some php knowledge. 🙂

    Groups
    Add following conditionnal to the what’s new form of the group activity page.

    bp_current_user_can( 'bp_moderate' )

    To do this, you need a child-theme and to overload the template file. The original file is here:
    wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/activity/post-form.php
    Copy it to child to get:
    wp-content/themes/child-theme-name/buddypress/activity/post-form.php

    Members
    See if these plugins can be usefull.
    Geo myWP or one or the other of @shanebp ‘s Geo plugins.

    #254020
    ineedyou
    Participant

    Sorry for my english…
    I can show everything about Music CPT buddypress activity (site-wide and members activity) with below code by @imath -also thanks for all other plugings 🙂 –

    My Question or Problem.

    I am using types tools pluging and i have a – frontend – add new music form (about music CPT) and members use this form to add new music with different fields. Also using rich editor and can add media from URL… Buddypress activity stream can show this form body (actually show post body normally). If i add also image from URL to this frontend music CPT form, we can see this image also on buddypress activity. Well i love buddypress.. Flexiable, great..

    1 – But if i add video URL on this form do not show embed video on activity stream. I mean that, i tried 100 times frontend or backend, embed video (if use in any CPT) do not show on buddypress. When i click this activty open page and i can see video. I know missing something.

    2 – If my author create any music CPT –backend admin side– with Visual Composer, there 3 different actions.

    Action:1 – First, Buddypress activty show all font color or image, or texts created by visual composer. Its ok. Love buddypress. But when i select (site-wide or members activty) show post, friendship or comment than turn to everything or music cpt, buddypress now do not display this music CPT, so i must refresh the page. I mean that when a user select everything to post (or comment) or commet to everything: page must otomatically refresh to display my visual composer codes. If i dont refresh the page, activiy stream show like that [vc_row][vc_column][vc_text][/vc_column][/vc_row].

    Action 2: When i edit this CPT -backend and created by VC-, buddypress sometimes dont load any activity.. If i delete this post from again backend, everything is ok, all activity is coming back. I dont know how try search this on forum.

    Action 3: I am on backend admin and creating a new music CPT without visual composer.. No problem, all edit can show on buddypress again. Such as i shared music 3 hours ago but now editing. I can see this new edit when i scroll actvity page 3 hours ago… BUT, What i want, buddypress activtiy can create a new music post (for this edit) and can say “edited music” … Maybe we can put icon or color original (3 hours ago) cpt, also same time can create clone music for same cpt 🙂 on activity stream… I dont know how to search this 🙂

    Long sentences long, i know 🙂 … Maybe someone help me… Becuase i am not developer just copypaste code user 🙂

    add_post_type_support( 'music', 'buddypress-activity' );
    function customize_page_tracking_args() {
        // Check if the Activity component is active before using it.
        if ( ! bp_is_active( 'activity' ) ) {
            return; }
         bp_activity_set_post_type_tracking_args( 'music', array(
            'component_id'             => 'activity',
            'action_id'                => 'new_music',
            'bp_activity_admin_filter' => __( 'My Music', 'custom-domain' ),
            'bp_activity_front_filter' => __( 'Music', 'custom-domain' ),
            'contexts'                 => array( 'activity', 'member' ),
            'bp_activity_new_post'     => __( '%1$s published <a href="%2$s">Music Suggest</a>', 'xxx' ),
            'bp_activity_new_post_ms'  => __( '%1$s published <a href="%2$s">Musik/a>, on the site %3$s', 'xxx' ),
                   
           
        ) );
    }
    add_action( 'init', 'customize_page_tracking_args', 1000 );
    #254019
    Henry Wright
    Moderator

    Group posting by administrators and moderators only isn’t possible out-of-the-box. You’d need to write some custom code or find a plugin that can do that.


    @shanebp
    has been working on a geo-location plugin for BuddyPress which might be useful to you.

    Hope this info helps!

    #254006
    Earl_D
    Participant

    Thank you I am having hard time convincing folks that this is an issue https://buddypress.org/support/topic/users-cannot-register-since-update-2-53/
    Are you using any plugins or just plain BP?

    matzeso
    Participant

    I will answer to myself if anyone ever finds this post and needs the same.
    What I needed was exactly this:

    Change Default Members Profile Landing Tab

    #253992

    In reply to: Membership Codes

    danbp
    Participant

    @maganiza,

    it’s possible. I suppose you need a unique code for some later user specific actions. But that code exist nowhere when a user register. What can we do ?

    1) generate a 6 digit code and show it on the register page
    2) asign that code to the user
    3) show the code on his profile

    1 – we use php mt_rand to generate the code and one of the available action hook on the register page for his output. Add this snippet to bp-custom.php

    function bpfr_digit_generator() {
    $num = mt_rand ( 0, 0xffffff ); 
    $output = sprintf ( "%06x" , $num );
     
    	echo '<strong>Your personnal code: '. $output .'</strong>';
    
    }
    add_action( 'bp_after_account_details_fields', 'bpfr_digit_generator' );

    2) create a new xprofile field, call it Personnal Code or whatever. Make it mandatory and asign it the visibility level you want. In field description, ask the user to copy/paste in the code.

    3) as the user entered the code in a xprofile field, you get automagically this field on his profile.

    I’m a bit unsure how to insert this field value in the activation email, or if it’s even possible. Perhaps somebody else can help you. See email on codex.

    A bit raw, but at least you have a start point how to do that.

    Here also another method, you may use if you don’t want the user to copy/paste the code.

    #253991

    In reply to: Membership Codes

    Henry Wright
    Moderator

    Yes. Every member in your install will have a user ID. So both BuddyPress and WordPress users will get a number. In fact, at the back end WordPress users and BuddyPress members are the same thing.

    #253990

    In reply to: Membership Codes

    maganiza
    Participant

    thank you for the speedy response. If I am not mistaken the article is more related to signed in/loggen in user IDs.

    I am looking at a solution whereby I will even view the member ID numbers on the list with the backend buddypress/wordpress system. Also I would like for these numbers to be static. For example if I run a search I want the numbers to be populated. Is this possible?

    #253988

    In reply to: Membership Codes

    Henry Wright
    Moderator

    User IDs are assigned automatically so you don’t need to activate them. With reference to displaying the number on your BuddyPress site, check out this article:

    Playing with the user’s ID in different contexts

    #253984

    Hi, i’ve a working solution for those like me who did not receive any buddypress email with html format (because there was a 3rd party plugin which was redeclaring wp_mail for eg.), here is the code to put in your functions.php file in your theme :

    /**
    * Provide an HTML template for all your BuddyPress emails
    * BuddyPress 2.5 introduced a new stylised HTML email system. 
    * By default the HTML system doesn't work if a 3rd party transactional email plugin is active 
    * (e.g. wpMandrill or SendGrid), and reverts to sending plain text emails.
    *
    * This function allows the stylised BuddyPress HTML emails to be sent using some 3rd party plugin. 
    * It does this by sending the email through wp_mail() rather than directly with PHPMailer.
    *
    * @author Mecanographik
    *
    * inspiration :
    * @link https://github.com/21applications/bp-wpmandrill
    * 
    */
    add_action( 'init', 'my_prefix_bp_wp_mail_html_filters' );
    function my_prefix_bp_wp_mail_html_filters() {
        add_filter( 'bp_email_use_wp_mail', function( $bool ) { 
          return false;
        }, 10, 1 );
    }
    

    hope this helps 😉

    #253983
    danbp
    Participant

    @radair2002,

    nothing out of the box on hand, but what if you make any of the fields with “only me” visibility level as default , for everybody ? If site admin approve the content, he can change the level to something more public.

    For email notification, a solution is given in this topic.

    Perhaps you can also use this plugin, with some custom restriction/adaptation.

    #253980
    danbp
    Participant

    Maintenance mode is related to WP. BuddyPress was updated 24th may and WordPress 6th may.

    Have you tried to debug by deactivating theme and all plugins (except BP) ? Use one of Twenty’s theme for that test and see if the notice remains.

    Read also here to have a global overview of how this notice is coming up.

Viewing 25 results - 10,326 through 10,350 (of 69,210 total)
Skip to toolbar