Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 8,826 through 8,850 (of 69,046 total)
  • Author
    Search Results
  • #261031
    ico33
    Participant

    UPDATE

    No, there is not the problem of users deleted with the same name.

    Now after having deactivated and reactivated buddypress, private messages are working. The only issue, at the moment, is that strange sentence. You send a message to a user named ABCDEFG

    and after sending, it says

    Conversation between Deleted User, Deleted User, ABCDEFG and you.

    I can’t understand who are the deleted user, and how to fix the issue

    #261030
    danbp
    Participant

    Deactivate https://fr.wordpress.org/plugins/smart-countdown-fx/, activate 2016 theme and give a try

    It seems that this plugin throws an error.

    You may also deactivate all plugins, but BP and search for an issue by reactivating them one by one.
    And if nothing found for plugins, you have to debug the theme.

    https://buddypress.org/support/topic/when-asking-for-support-2/

    #261029
    ico33
    Participant

    Ok after deactivating and reactivating Buddypress plugin…. the user receiver seems to receive the messages, again with the strange sentence

    Conversation between Deleted User, Deleted User, XXXX and you.

    Could it be that there was other user with the same name XXX, that then was deleted? And in someway the system find 2 deleted user and user XXX?

    #261027
    ico33
    Participant

    I deactivated PRIVATE MESSAGE in Buddypress options, and then re-activated.

    How strange… now I can send a message to a user named XXX

    When I send the message, after that it appears below as “Conversation between you e DELETED USERS, DELETED USERS, XXXX”

    Then if you refresh the page, the message count is 0, as it disappeared. My god, I just opened I new website, it worked till yesterday. It’s a great problem and I don’t think it’s simple to understand

    #261024
    Bingo Bongo
    Participant

    Thanks Dan –

    Profile Sync is checked in Settings –

    Went through each checkbox in Tools > Buddypress one by one. All completed, didn’t notice any errors.

    Haven’t done the BBPress Tools yet – but I noticed something, so I think BBpress is irrelevant here.

    If I order the list Alphabetically on the members page (http://www.zetaunit.com/members/) – then all 129 Members show up, with pagination to page through them….

    At least it seems Buddypress is recognising all registered Users.

    Maybe I’m missing something simple again, or using the wrong terminology.

    But I can’t find a setting for that page / select drop-down, though, to select alphabetically by default, or to ‘display all registered users by default’.

    #261020
    mashauri
    Participant

    I tried to de activate buddypress so I could re-activate t nd see if it made a difference. Bt I was unable to do as as I receved the following error:
    Fatal error: Call to undefined function bp_core_get_user_displayname() in /home/mashauri/public_html/wp-content/plugins/buddypress/bp-core/bp-core-avatars.php on line 1416

    Please NOTE: this is input to my main query – not the issue itself of incorrect passwords

    #261018
    jaumearagay
    Participant

    I have:

    a.- Updated to BP 2.7.2. <– Still same problems but warnings hidden by my code.

    b.- Removed the buddypress folder in my theme with edited files and checked. <– Still same problems: Warnings (as my code did not hide them), “Moderators” tag and “no mods” string.

    c.- Downloaded and activated Twenty Sixteen theme. <– Same as in previous step.

    And I get the same warning explained in the first entry in this post so it’s not about my modified files and it’s not about a theme problem.

    There are still two problems:

    1.- The warning points to get_group_moderator_ids( $group_id ) in /wp-content/plugins/buddypress/bp-groups/classes/class-bp-groups-member.php

    I don’t have (or have had) moderators in any group so, “Creating default object from empty value” <– What default object from what empty value?

    2.- The problem is somewhere else: In line 33 of the group-header.php file (in groups/single/ ) we find this line:

    if ( bp_group_has_moderators() ) :

    where “bp_group_has_moderators()” is giving a false “true” value as I don’t have moderators in any group so it should not execute in the first place. And after the Moderators tag it says “no mods”, so it on a later step recognizes there are no moderators!!!

    Has the bp_group_has_moderators() function or get_group_moderator_ids( $group_id ) function been altered? Or the data about mods and/or admins in the groups?

    Because one of them creates two warnings (one before listing the admins and one before listing the mods) that were not there before and also shows a “Moderators” tag that did not appear as the if ( bp_group_has_moderators() ) returned the FALSE value my no-mods groups “deserve” (which it later recognizes when adding the “no mods” string) that now returns this “buggy” TRUE value and shows the tag.

    #261012
    bcanr2d2
    Participant

    I currently have used the example shown in the following post https://buddypress.org/support/topic/custom-avatar-upload-page/ and then edited bp-core-template.php to change the function that lets it know when to load the full avatar loading page.

    My issue is now that the crop image is not functioning, any help?

    #261009
    danbp
    Participant

    Hi,

    wherever your members registered from (wp, bbp or bp), they are all in the same table: wp_users. To be counted on BP’s member directory, these members must have been loggedin at least once.

    Did you synchronized WP and BP members (see BP settings) ?
    Once done, go to Tools > BuddyPress and run all options one by one. Do also the same for Forums.

    #261008
    danbp
    Participant

    @dkelm,

    if you’ve found a bug, please refer it on Trac.
    Login with same credential as on this forum, describe the issue and give any details to reproduce it.

    https://buddypress.trac.wordpress.org/report

    #261006
    dkelm
    Participant

    @henrywright This is a valid bug…
    Please fix this issue.
    Only happens when users are not logged in
    The site isn’t doing a redirect to login screen

    Do I have to rollback to 2.5.3?

    Reproduce the bug by logging out then entering in the url…

    This should be an issue for every BuddyPress site!!

    Venutius
    Moderator

    Have you thought about just using BP Registration Groups?

    #260998

    In reply to: Registration problems

    Venutius
    Moderator

    Taking a look at it you do not have a register page by the looks on things, are you sure you have created a register page and associated that to the BuddyPress Register component?

    #260996

    In reply to: Registration problems

    Venutius
    Moderator

    Have you logged out in order to try to register?

    Did you set up the registration page as a menu item? If so what happens when you are logged out and try to access it?

    I’m setting up a website for people looking to set up BuddyPress social networks, you might want to take a look. It includes a guide to setting up and using BuddyPress for the first time:

    http://www.buddyuser.com

    #260994
    valleev
    Participant

    Thanks @modemlooper, I tried changing the members page to something else, then changing it back but the “Members” item still does not appear in Appearance/Menus/Buddypress.

    #260984
    danbp
    Participant

    I don’t understandd this paranoïd question: So this is another case where they decided to leave out any option.

    – Who are “They” ?
    – What are the other case ?
    – Which options are leaved out ?

    Really mysterious, unless the truth is elswhere ? May be in the Twilight Zone ?

    You have the option to disable the Toolbar under Settings > BuddyPress > Options.
    You have the possibility to use BP’s login widget under Apparence > Widgets

    #260982
    danbp
    Participant

    Hi @vickievik,

    the right question here would be how to make my theme compatible with buddypress.

    The thing to understand is that BP use dynamic content for its page and that these page are NOT ordinaty WP pages.
    For each content, BP fires a so called template-part.
    Lets take as example a profile page

    The slug is /members/ which exist as “page” on wp’s page list. This wp page has no content and also no model or template. It’s just a “slug” in the wp ecosystem.

    When you’re on a profile you have the page(aka /members/) but also many template parts, depending what you’re doing on that profile. Aside the common parts header – content – footer, you’ll find also personnal activity, frineds, groups, mentions, notifications, messages and not the worst, profile settings. All this on the same “page”.

    Most theme mistakes are at this point. People try to design the page, instead to work the template parts.

    When you design a theme, you usually design something for a page, independantly from any plugin. This structure is used by any Twenty Theme and you can follow them as model, because these themes are bullet proof and systematically used by all wp devs when building (in our case) BuddyPress

    BP can be used with almost any existing theme, so far this theme is respecting WP’s coding standarts.

    If you have brocken elements, and specially thoose using JS, it could be due to missing ID or class or even more simple, some missing instructions/conditionnals in your theme.

    BP’s template parts are designed to fit with a majority of themes. The best to do, at least while creating your first theme, is to use BP “as is” and build your theme around thoose existing parts and not to remove/modifying BP arts to fit your creation.

    #260972
    Earl_D
    Participant

    This might be a good place to start if you looked at it already?

    BuddyPress Theme Development

    #260970
    davehakkens
    Participant

    OK, we got it to work in a different way. Special thanks to @coffeywebdev for the help.
    For those interested:

    This snippet is used in the functions.php to get the locations from the profile fields and show the flag image.

    function dh_get_flag_by_location($country){
      if($country <> '' && !empty($country)){
      $country_filename = get_stylesheet_directory_uri() . '/img/flags/' . sanitize_file_name($country) . '.png';
      $country_path = get_stylesheet_directory() . '/img/flags/' . sanitize_file_name($country). '.png';    
         if(file_exists($country_path)){
           $html = '<img src="' . $country_filename . '"/>';
         } else {
           $html = $country;
           echo '<!--' . get_stylesheet_directory_uri() . '/img/flags/' . sanitize_file_name($country) . '-->';
        }
      echo $html;
      }
    }

    Then we needed to change 2 templates to show this flag image in
    the Bbpress forum replies and on the buddypress members page. So we added the code necessary to show the flag
    bbpress/loop-single-reply.php
    <div id="country" style="float:left;margin-right:.5em;"> <?php $user = get_userdata( bbp_get_reply_author_id() ); $country = xprofile_get_field_data( 42, $user->ID ); dh_get_flag_by_location($country); ?></div>

    buddypress/members/members-loop.php
    <div class="member-location"> <?php $country = bp_get_member_profile_data('field=Location'); dh_get_flag_by_location($country); ?></div>

    #260968
    danbp
    Participant

    @masoud1111,

    You’re talking about 2 different things: profile and groups. Let me explain you a little…

    On the buddy nav bar, navigation looks similar but doesn’t work the same way on profile and on group page. While profile navigation use nav and sub-nav, the group navigation use only sub-nav.

    Also, as documented on codex, define('BP_DEFAULT_COMPONENT', '...' ); is a constant related to a component, not a sub-nav tab. It let you define the default landing component, but not the one or other sub-nav tab. For example on profiles, the component Activity has 4 sub-nav attached to it: personnal, mentions, favorites, friends, groups

    To get one of them, you need to specify a new default tab, not another component. 🙂

    Buddybar main nav items on profile page
    Activity Profile Friends Groups Forums (if you use group forums)

    Default tab is Activity/personnal. To change it for “Friends” you use the constant:
    define('BP_DEFAULT_COMPONENT', 'friends' );

    To change the default landing tab from (Component/sub-tab). For example Activity/personnal to Activity/mentions, you define a new nav default tab with a function like this one:

    function bpex_set_member_default_nav() {
     
        bp_core_new_nav_default (
            array(
                'parent_slug'       => buddypress()->activity->id,
    	   // other "activity" sub_nav slugs : personal favorites friends groups
                'subnav_slug'       => 'mentions',
                'screen_function'   => 'bp_activity_screen_mentions'
            )
        );
    }
    add_action( 'bp_setup_nav', 'bpex_set_member_default_nav', 20 );

    For groups, it’s a similar technique, but a different syntax. The following example is a bit sophisticated, as it let you change the landing tab differently for each defined group.
    Depending each group activity or target, you can choose a different default tab.
    In this example, the kill bill group has Forum as landing tab, while Leon’s group use the group member directory.

    function bpex_custom_group_default_tab( $default_tab ){
    	/**
    	 * class_exists() is recommanded to avoid problems during updates 
    	 * or when Groups Component is deactivated
    	 */
    	if ( class_exists( 'BP_Group_Extension' ) ) : 
    	
    	$group = groups_get_current_group();//get the current group
    	
    	if( empty( $group ) ) {
    	 return $default_tab;
    	}
    		switch($group->slug){
    			
    			case 'kill-bill': // group name (use slug format)
    			$default_tab='forum';
    			break;
    			
    			case 'leon':
    			$default_tab='members';
    			break;
    			
    			default:		
    			$default_tab='home';// the default landing tab
    			break;
    			
    		}
    	
    	return $default_tab;
    	
    	endif; // end if ( class_exists( 'BP_Group_Extension' ) )
    }
    add_filter('bp_groups_default_extension','bpex_custom_group_default_tab');

    All this tested and working with BP 2.7.2 / Twenty Sixteen

    #260956
    danbp
    Participant

    Hi,

    no of course ! Read 2.7.2 changelog.

    If you use a child theme or a third party theme, ensure it is updated for BP 2.7+: verify the templates.

    Template Updates 2.7

    #260953
    danbp
    Participant

    Hi,

    all is explained in the doc !

    Changing Internal Configuration Settings

    Navigation API

    shanebp
    Moderator

    Try the solution near the bottom of this codex page:
    https://codex.buddypress.org/emails/#filter-from-address-and-name

    add_action( 'bp_email', function( $email_type, $email_obj ) {
    $email_obj->set_from( "custom@example.com", "Custom Website Name" );
    }, 10, 2 );
    #260930

    In reply to: Hiding register link

    Venutius
    Moderator

    I think you are looking for BP Registration options – that provides you with new member moderation.
    https://wordpress.org/plugins/bp-registration-options/

    If you are new to BuddyPress I’m developing a site aimed at helping people get the most out of BuddyPress http://buddyuser.com

    #260924
    modemlooper
    Moderator

    You can find this information in the codex https://codex.buddypress.org/themes/buddypress-cover-images/

Viewing 25 results - 8,826 through 8,850 (of 69,046 total)
Skip to toolbar