Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 13,276 through 13,300 (of 94,561 total)
  • Author
    Search Results
  • #259815
    Toni
    Participant

    I couldn’t find the user menu – with the access to Profile, Settings, etc. for weeks. My users aren’t tech savvy or very web experienced, they’ll never find it.

    WordPress v4.6.1
    BuddyPress v2.6.2
    Theme Sydney

    #259813
    antoinegdln4
    Participant

    Hi Everyone !
    One year ago, i try to put the notifications of the Buddypress bar into my header.
    And, thanks to the members of this forum, it works succesfully.
    I have now a new item on my menu, and it’s a count of the notifications.

    But i want to see immediatly when there is a new notification !
    I would like to change the color of the notification bubble only when there is a new (ou more) notification !
    Can you help me ? :/

    There is my actual php code, on the bp-custom.php

    function my_nav_menu_notif_counter($menu) {      
            if (!is_user_logged_in())
                    return $menu;
            else
                    $notif = '<li ><a class="ab-item" href="' . bp_core_get_user_domain(bp_loggedin_user_id() ) . 'notifications/">'. __('').'<span id="ab-pending-notifications" class="pending-count alert">'. __(''). bp_notifications_get_unread_notification_count( bp_loggedin_user_id() ) .'</span> </a></li>';
                    $menu = $menu . $notif;
                    return $menu;
    }
    add_filter( 'wp_nav_menu_items', 'my_nav_menu_notif_counter' );
    add_filter( 'show_admin_bar', '__return_false' );

    Sorry if my english is bad, i’m french
    I have bad knowledges in Php, but i can try to understand the code

    WP 4.4.5
    BP 2.6.2

    r-a-y
    Keymaster

    This is a bug with bbPress, not BuddyPress.

    See the following ticket with a fix attached to it:
    https://bbpress.trac.wordpress.org/ticket/2974

    Jon Fergus
    Participant

    Note: On my staging site I have two topics: one within a buddypress group forum and one in a regular bbpress forum. The reply.js functionality works in the topic within the regular forum, but does not work in the topic that’s in the Buddypress group forum. To see the functionality, here are the two topics:

    test-topic

    http://staging-nexus.universaltheosophy.com/groups/test-group/forum/topic/test-group-topic/

    Jon Fergus
    Participant

    Ok, so bbpress has the ability to use javascripts in a child theme to add certain functions. One of these is using a customized reply.js file to allow for a dynamic reply form that pops up right beneath the reply being replied to. This works wonderfully in bbpress forums, BUT…. it fails to work within any topic created in a Buddypress group forum.

    I’m not sure why this is, but am looking for a fix.

    Here is my ongoing support thread on the bbpress forum: https://bbpress.org/forums/topic/how-to-create-dynamic-reply-box/

    Two mods there have been working through the issue with me. You’ll see one of them linked to the customized reply.js file. I went through several long days of testing beginning with a bare staging site before finally identifying Buddypress as the culprit.

    Any help with this issue would be much appreciated.

    #259800

    In reply to: Admin approval

    Venutius
    Moderator

    I’m not sure there is a plugin that covers both the WordPress and BuddyPress new member moderation. I remember I asked the BP Registrations Options developer for it to include moderation of the WordPress Access but he said it was outside of the remit of the plugin.

    deshmukh
    Participant

    Running Buddypress 2.6.2 on WordPress 4.6.1.

    So, in example.com/groups/group1, there are posts by several group members.

    I want to highlight posts by specific user(s). This can be using a different background, larger font, different colored text, etc.

    How do I achieve this?

    #259793
    mimbelli
    Participant

    Hi all,

    Site with latest BP and WP. I have BBPress plugin installed with only sitewide forums and I need admin approval for new users. I saw there are several plugins but it seems that each of them manage just WP or BP.

    How I can prevent a user interacting with the whole site until he is approved by an admin?

    I saw the BuddyPress Registration Options plugin block the user until approval only for the BP area of the site.

    Thank you in advance

    #259782
    djdog123
    Participant

    Hello,

    I am working on a BuddyPress website at the moment and I am starting to fill out the accounts for the users that will join in the near future. I want to be able to create multiple accounts that will be given over to users once my website is near completion. Therefore, when registering these accounts, the email field and email confirmation should not be required. However, the email field should still be something that can be entered in once registration is complete.

    Is this possible? If so, please let me know how. Thank you.

    #259781
    nickfern
    Participant

    Hello, I’m a web developer trying to create a member’s directory for a website via Buddypress, I am trying to use the cope from members-loop.php to display the cover image that shows up on individual profile pages but I can’t find a way to pull the url for each member.

    Is there a simple or at least straightforward way to do this? Or alternatively, is there an alternative to the default avatars so I can use different dimensions for them?

    For reference I am using Buddypress v. 2.6.2 and the exact section of code I’m looking at is this.

    <?php while ( bp_members() ) : bp_the_member(); ?>

    <tr>
    <td>“><?php bp_member_name(); ?></td>
    <td><?php echo bp_member_profile_data(‘field=Businesstype’); ?></td>
    <td><?php echo bp_member_profile_data(‘field=Phonenumber’); ?></td>
    <td><?php echo bp_member_profile_data(‘field=Address’); ?></td>
    <td><?php echo bp_member_profile_data(‘field=Website’); ?> </td>
    <td>“>Full Profile</td>
    </tr>

    #259761

    In reply to: Online Status

    Julian
    Participant

    @danbp I use the widgets “BuddyPress Friends” and “BuddyPress Members”. I use 1 sidebar. The theme supports 2. I have no specific sidebar. Have I answered all the questions?

    #259758
    danbp
    Participant

    This bug still exist actually, despite tickets #5354 (3 years old) #5808(2 years) #6854 (9 mounth).

    Milestone changed from Awaiting Review to BuddyPress.org

    Sounds like milestone BuddyPress.org is stone (hey Miles), devastated, completely in the wind, out of interest… Sucks.

    danbp
    Participant

    I hope so ! FYI, we all here learned by making mistakes, errors and asking around 🙂 :
    Check the history !
    JJJ, Boone & Ray, djpaul, mercime, hnla, shanebp, henrywright, me

    #259748
    brumest
    Participant

    Hi,

    I am using WordPress 4.6.1 and Buddypress 2.6.2 on my young site:
    http://www.artisticfreedomcrew.com
    While I was testing the site offline the like button was working normally, but as soon as I got the site online, and invited only a handful of friends to test it, it stopped working.
    Now it keeps loading and it never shows up, so it’s unusable.
    What might be causing this issue?

    Regards,
    Bruno Mestre

    danbp
    Participant

    @kgrondell,

    … and finally, the right way to achieve this is explained here:

    Navigation API

    #259743
    danbp
    Participant

    Hi,
    you do it wrong and it is much more simple to make customization by reading the codex.

    The only thing you have to do on the custom template ( i assume you already have the template) is to create a custom member loop. To fecth the correct data to show and how to do that is explained in details here (see Code Examples):

    Members Loop

    lesanis
    Participant

    Hello,

    How could I make a custom Members Directory in a new template with members that have chosen a specific value of an xprofile field?

    Here is what I have done. I have created a new template members-loop-london.php (copy of members-loop.php) in the members folder and I would like to display there only members that have chosen at the xprofile field City the value London. Then according to this link about “bp_parse_args()” https://buddypress.trac.wordpress.org/browser/tags/2.2.1/src/bp-members/bp-members-template.php#L461 I added in the template the function:

    function mine_bp_has_members( $args = '' ) {
    	        global $members_template;
    	
            // Default user ID
            $user_id = 0;
    	
    	       
    	        $r = bp_parse_args( $args, array(
    	                
    	                'search_terms'    => 'London',     // Pass search_terms to filter users by their profile data
    	
    	        ), 'has_members' );
    
    	        // Pass a filter if ?s= is set.
    	        if ( is_null( $r['search_terms'] ) ) {
    	                if ( !empty( $_REQUEST['s'] ) ) {
    	                        $r['search_terms'] = $_REQUEST['s'];
    	                } else {
    	                        $r['search_terms'] = false;
    	                }
    	        }
    	
    	     
    	        // Query for members and populate $members_template global
    	        $members_template = new BP_Core_Members_Template(
    	               
    	                $r['search_terms'],
    	               
    	        );
    	
    	   
    	        return apply_filters( 'mine_bp_has_members', $members_template->has_members(), $members_template );     
    }

    but nothing changed. Still my custom directory was showing all the members of website..What am I doing wrong?

    #259734
    danbp
    Participant

    You posted another question on Buddypress Profile Search support, where it appears that you try to remove the member search form.

    In regard of the BuddyPress support forum, you use at least two third party plugins aside BP and perhaps proceeded to template customization !

    You have to isolate the culprit: one of your plugins or your theme customization. BuddyPress is not concerned. Sorry.

    #259727
    metalhead
    Participant

    I’m using a plugin called Buddypress Xprofile Custom Fields Type.

    If I edit a profile field, Buddypress begins to malfunction by not letting a new user save his info entered into the register.php form.

    So if I delete all my profile fields, and then re-create them, Buddypress will begin to function properly again, but, then I create custom profile search widgets with a plugin called “Buddypress Profile Search,” and then the problem starts again. (User can’t save the data he entered. Registration page just refreshes.)

    #259717
    danbp
    Participant

    Hi,

    try this (add to bp-custom.php):

    function add_profiles_link_to_page(){
    
    	if ( bp_is_profile_component() || bp_is_user() ) {
    
    	// allow link to appear only to loggedin user
    	/*if ( !is_user_logged_in() )
    		return false; */
    
    	// tabed internal link : /internal link/page name/
    	//$link =  bp_get_root_domain() . '/book/';
    
    	// tabed external link
    	$link =  "https://www.amazon.com/";
    	
    	?>
    		<li><a href="<?php echo $link; ?>"><?php printf( 'My Books' ); ?></a></li>
    	<?php  
    	}
    }
    add_action( 'bp_member_options_nav', 'add_profiles_link_to_page' );
    Raphael.v
    Participant

    I forgot to give some informations about my website :
    Buddypress : 2.6.2
    WP : 4.6.1
    Thème : Kleo

    #259711
    danbp
    Participant

    @djpaul ‘s advice is wise !
    But you could try following which doesn’t compromise your security and will avoid the sky falling on your head !

    First remove the filter hack, we don’t need it.

    Then built your drop-down list and add only the site name instead the whole URL.

    For example,
    – create a new field
    – call it Test drop down
    – enforce visibility
    – disallow clickable
    – add some options: buddypress.org, wordpress.org
    – save
    Go to your profile > edit and choose buddypress.org. Save.
    You see now buddypress.org on your profile

    Now we have to make this text clickable and linked to bp.org

    For this, you can use this snippet, placed in bp-custom.php

    
    function bpfr_set_checkbox_output( $field_value ) {
    
    // ensure xprofile is activated
    if ( bp_is_active( 'xprofile' ) )
    
    // call the field
    $bp_this_field_name = bp_get_the_profile_field_name();
    
    	// field name (case sensitive)
    	if( $bp_this_field_name == 'Test drop down' ) {	
    	// here we change site name to url
    		$field_value = str_replace('buddypress.org' ,'http://buddypress.org', $field_value);	
                    $field_value = str_replace('wordpress.org' ,'http://wordpress.org', $field_value);			
    	}
    
    	// fire the result!
    	return $field_value;
    }
    add_filter( 'bp_get_the_profile_field_value', 'bpfr_set_checkbox_output' );
    #259710
    evilscream
    Participant

    Hello everyone I experience the problem with Error 404 – Page not found.I upload few pictures to understand my problem properly.

    As you can see I try to press “worldink”(He is the member who does post ) then I get error from the pictures number 2

    I have no idea how to fix it.

    Thanks

    #259709
    danbp
    Participant

    Hi,

    your site is pwd protected, so i removed the link to it.

    You can do that by CSS from within your child-theme style.css
    As it is not only BuddyPress css, but also dependent of your theme, you have to check for the correct classes and id’s to use.

    1) we hide first the sidebar on the profile.
    2) we enlarge the content part to full width (100%)

    On each BP page is a page-id-{number}. You need it to define the style for this page only.

    As example, this is working with Twenty Sixteen

    /* remove sidebar */
    body.page-id-0 aside#secondary {
    	display: none;
    }
    
    /* enlarge content to full width */
    body.page-id-0 div#primary{
    	background-color: yellow;
    	width: 100%!important;
    }
Viewing 25 results - 13,276 through 13,300 (of 94,561 total)
Skip to toolbar