Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 10,201 through 10,225 (of 73,985 total)
  • Author
    Search Results
  • #268272
    Antonio D.
    Participant

    Who have experience with listify and buddypress integration?

    We need some help. thanks

    #268271
    njones7
    Participant

    Title is a bit vague sorry,

    In my profile loop i have a mobile number field in which is partially hidden, unfortunately it is showing up twice (since its being called in the while loop and ive echoed it), just wondering how to not show the one in the while loop but still display it in the table with the rest of the data.

    Here is a link for better reference (not an actual mobile number), i need to not show the top one in the loop.
    http://tinypic.com/r/2gwc4kl/9

    Buddypress: 2.9.1
    Wordpress: 4.8.2

    #268270
    shanebp
    Moderator

    Yes. Make your adjustments in this file:
    buddypress\bp-templates\bp-legacy\buddypress\groups\single\members.php

    Create a template overload of that file first.

    Try adding this under the member name link:
    <h2 class="user-nicename">@<?php bp_activity_get_user_mentionname( bp_get_group_member_id() ); ?></h2>

    Viqtor Sky
    Participant

    Hi,

    I’ve been struggling with this for a couple of years. (tearing the rest of my hair out at this point)

    When I send messages to my Website User’s Profiles, an Email is sent to their Email Address.

    Is there anyway to Stop these outgoing Emails that go to my Users Email Address every time I send an Internal Message on my Website?

    Can this be done without Stopping the “Lost Password Reset” Email that is sent to my user’s Email Address when they need it?

    Any help would be Greatly Appreciated Guys. Thank You 🙂

    sarahjones123
    Participant

    I’m trying to set up a membership site and may go with WooCommerce Membership. But I have a hard time finding a way to solve a problem.

    When a member’s membership (via WooCommerce Membership) is cancelled, his Buddypress WordPress user account is still active, which means he can still log in and freely contact other members. i need to find a way to restrict these cancelled members from accessing BP entirely, or at least from Private Message so they can’t contact other members.

    So far the closest one i found is this thread
    https://buddypress.org/support/topic/hiderestrict-access-to-private-messaging/#post-170393

    According to the note, USER_TO_DISALLOW would be my cancelled WooCommerce users. But I wouldn’t know which member would cancel (or their membership level) upfront so this codes don’t seem to work for my site. Besides, it’s 4+ years old and I’m not sure if it’s still relevant.

    The other one is
    https://buddypress.org/support/topic/restrict-private-messages/

    The moderator said there’s a hook available in BuddyPress called messages_message_before_save which can be used to do things before a message is sent. But I don’t know how to write a function to customize it for my need.

    Can anyone help? If you happen to know any other membership plugins that can achieve this, I’d really appreciate if you can let me know.

    Thank you.

    #268246
    phyllismaulorico
    Participant

    Is it possible to download buddypress and use it independently, and then host via a server other than WordPress? Buddypress is “free”, but you have to pay for a Pro membership of WordPress before you can use the plugin, so it seems to me as if you can’t even begin using BuddyPress and designing a site, to see if it will work for you, without paying for a year or WordPress pro? Any way around this?

    #268245
    FLASHVILLA
    Participant

    Good day, so in my form there are check boxes and multi select boxes, both output the data horizontally and comma delimited.

    Please advice on how can I vertically arrange the output.

    E.g: buddypress default output is – Plan1, Plan2, Plan3, Plan4, Plan5

    Were as my need is:
    Plan1
    Plan2
    Plan3
    Plan4
    Plan5

    #268241
    greehamm
    Participant

    We’re getting a long running query from:

    SELECT COUNT(user_id) FROM wp_bp_activity WHERE component = ‘members’ AND type = ‘last_activity’ AND user_id NOT IN (28974,30626,50225,66864,77511,78706,107191,110540,110849…

    primarily because we have a large number of users who have been identified as spam and the userids in the NOT IN clause continues to grow.

    This is generating a KILLED QUERY and is impacting performance:

    [Wed Sep 13 09:44:06.049075 2017] [:error] [pid 21222] [client 255.155.155.33:13537] KILLED QUERY (35798 characters long

    Would it be possible to rewrite this query so that it is inclusive and filters out the unwanted userids instead of it being the exclusive query that it is now?

    This query is in wp-content/plugins/buddypress/bp-members/bp-members-functions.php:762)

    We are using WP version 4.7.5 and buddypress version 2.8.2

    #268240
    phucitol
    Participant

    Update: The meta_value saved in wp_bp_messages_meta for meta_key _oembed-***** has the wrong URL saved in there so the problem is occurring before the data is saved. The fact that this same problem happened on my site as well as in this forum is interesting and leads me to believe the problem is somewhere in wordpress or buddypress core files.

    #268239
    theredeclipse
    Participant

    Hello,

    Currently I try to style page Profile > Edit (located in theme/members/single/profile/edit.php). But I faced with problem, all layout is hidden in plugin and cannot be really customized.

    But I managed to find this topic with following code

                              <?php if ( 'textbox' == bp_get_the_profile_field_type() ) :  ?>
    
    					<?php if ( 'Name' == bp_get_the_profile_field_name() ) : ?> <!-- Don't allow users to edit their names. --> 
    
    						<label for="<?php bp_the_profile_field_input_name(); ?>"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ); ?><?php endif; ?></label>
    						<!-- Dummy input, disabled in CSS, because otherwise saving anything causes the user's full name to be overwritten with the username. --> 
    						<input type="text" name="<?php bp_the_profile_field_input_name(); ?>" id="<?php bp_the_profile_field_input_name(); ?>" value="<?php bp_the_profile_field_edit_value(); ?>" <?php if ( bp_get_the_profile_field_is_required() ) : ?>aria-required="true"<?php endif; ?> style="display: none;"/> 
    						<!-- The thing that actually displays. --> 
    						<p id="name"><?php bp_the_profile_field_edit_value();?></p> 
    
    					<?php else : ?> 
    
    						<label for="<?php bp_the_profile_field_input_name(); ?>"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ); ?><?php endif; ?></label>
    						<input type="text" name="<?php bp_the_profile_field_input_name(); ?>" id="<?php bp_the_profile_field_input_name(); ?>" value="<?php bp_the_profile_field_edit_value(); ?>" <?php if ( bp_get_the_profile_field_is_required() ) : ?>aria-required="true"<?php endif; ?>/>
    
    					<?php endif; ?>
    
    				<?php endif; ?>

    This code gives ability to style as you wish which is perfect for me, but I faced with problem – for some reason dropdowns in <select> tag do not shown. Can someone tell me at least right path how to fix it? I’ve tried to pull what I could, but with no luck so far.

    Thanks

    #268238

    In reply to: Include @ in username

    livingflame
    Participant

    Functions.php
    Only works with Newest Registered.

    // Force Strong Username
    function strong_username() {
     global $bp;
    
     if ( !empty( $_POST['signup_username'] ) )
       if ( !valid_username( $_POST['signup_username'] ) ){
        $bp->signup->errors['signup_username'] = __( 'Your username is too weak or short. Please, use uppercase, lowercase and numbers.', 'bp-strong-username-password', 'buddypress' );
       }
     }
     add_action( 'bp_signup_validate', 'strong_username');
    
     function valid_username($candidate) {
       $r1='/[A-Z]/';  //Uppercase 
       $r2='/[a-z]/';  //lowercase
       $r3='/[0-9]/';  //numbers
    
       if(preg_match_all($r1,$candidate, $o)<1) return FALSE;
       if(preg_match_all($r2,$candidate, $o)<1) return FALSE;
       if(preg_match_all($r3,$candidate, $o)<1) return FALSE;
       if(strlen($candidate)<8) return FALSE;
    
       return TRUE;
    }
    // Force Strong Password
    function strong_validation() {
     global $bp;
    
     if ( !empty( $_POST['signup_password'] ) )
       if ( !valid_pass( $_POST['signup_password'] ) ){
        $bp->signup->errors['signup_password'] = __( 'Your password is too weak or short. Please, use uppercase, lowercase, numbers and special characters.', 'bp-strong-username-password', 'buddypress' );
       }
     }
     add_action( 'bp_signup_validate', 'strong_validation');
    
     function valid_pass($candidate) {
       $r1='/[A-Z]/';  //Uppercase
       $r2='/[a-z]/';  //lowercase
       $r3='/[!@#$%^&*()-_=+{};:,?<.>]/';  // whatever you mean by special char
       $r4='/[0-9]/';  //numbers
    
       if(preg_match_all($r1,$candidate, $o)<1) return FALSE;
       if(preg_match_all($r2,$candidate, $o)<1) return FALSE;
       if(preg_match_all($r3,$candidate, $o)<1) return FALSE;
       if(preg_match_all($r4,$candidate, $o)<1) return FALSE;
       if(strlen($candidate)<10) return FALSE;
    
       return TRUE;
    }
    #268235
    nagarjunsarathy
    Participant

    Hi Mastershas,

    Thanks for the reply.
    The plugin BP-Reshare, shares already existing post from the buddypress activity (which may be shared using URL’s). But what I need is, to share a post from different page to buddypress activity page.
    For eg: I have a blog page in which subscriber writes a content and he wants to share to buddypress activity and both blog page and buddypress page are of same website.
    If I need to modify BP-reshare as per my needs, I am not sure where to start. If possible can you please suggest what needs to be done.

    Thanks.

    #268233
    tomarr
    Participant

    Hi
    Im using KLEO child theme with buddypress.
    After logged in when member clicks on logo of my website, it directs them to the members page like ‘www.mywebsite/member’
    I want to change it to ‘www.mywebsite/home’
    Please help me out.

    #268231
    peterlink
    Participant

    Initially with up to 600 registered users, bp loads fast. However when the number of registered users and therefore the associated static content increase, the web starts loading slower(around 20 seconds response time); even when it is a single connected user.

    We have 10 VPS: 3 webservers (nginx + php-fpm), 1 load balancer for webservers (nginx + varnish), 1 memcached server,3 database servers (1 master and 2 slaves with MariaDB cluster server) 1 NAS (Openmediavault).All quadcores with 8 GB of RAM except the webservers that have 8 processors with 2 cores each and 16GB of ram. We have tested with w3totalcache, wpsupercache, hypercache, wp optimize, all plugins to cache and optimize databases we have found, and nothing seems to work.

    We need them to help us, because we can not imagine where the problem is. Any additional information they need can request it.

    Greetings and thanks in advance.

    #268230
    ftg17
    Participant

    @mastershas Profile setting are set to allow individuals to upload profile pic, but still not working. Please click the link below. I use buddypress version 2.9.1
    https://friendsthroughgrief.com/members/admin/profile/

    I change the theme and still is not working. I have added a code to take off the WP dashboard completely for all users except admin. I have seen screenshots of people having the ability with buddypress to upload a photo directly from their profile? My user profiles do not give me that option?

    I have downloaded the following plugins in hope that it will help, but nothing has.

    Custom User Profile Photo Version 0.5.3 | By VincentListrani

    rtMedia for WordPress, BuddyPress and bbPress Version 4.4.3 | By rtCamp |

    Transcoder Version 1.1.2 | By rtCamp

    #268229
    xmginc
    Participant

    @ashrod, hope this helps. This fades in a tooltip by animating the member’s name in a black box with arrow pointing up towards the avatar on hover. It may need tweaking for your site and hope other’s can improve and optimize this further. I needed a quick solution to work with the Woffice theme by Alkaweb and is working well for me so far.

    If you want to see this in action, just copy this and go to Woffice demo site using Firefox + Firebug and copy paste into the style editor tab and hover over the who’s online avatar to see the tooltip.

    .avatar-block a {
    width: 50px;
    height: 50px;
    /* change to whatever your avatar size is */
    display: inline-block;
    position: relative;
    }
    .avatar-block a:after {
    content: attr(data-bp-tooltip);
    font-size: 10px;
    position: absolute;
    z-index: 999;
    background: #000;
    color: #e0e0e0;
    padding: 2px 5px;
    line-height: 15px;
    opacity: 0;
    transition: opacity 0.4s ease-out;
    top: 55px;
    /* based on a 50x50 avatar and places the tooltip 5px below */
    text-align: center;
    margin-left: -50%;
    left: 0;
    width: 100px;
    pointer-events: none;
    border-radius: 3px;
    }
    .avatar-block a:before {
    /* this is the arrow pointing up */
    content: '';
    position: absolute;
    left: 20px;
    top: 50px;
    /* based on a 50x50 avatar and places the tooltip 5px below */
    width: 0;
    height: 0;
    transition: opacity 0.4s ease-out;
    opacity: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid #000;
    clear: both;
    z-index: 999;
    pointer-events: none;
    }
    .widget.buddypress div.avatar-block {
    overflow: visible !important;
    }
    .avatar-block a:hover:before,
    .avatar-block a:hover:after {
    opacity: 1;
    }
    .avatar-block .item-avatar {
    display: inline-block;
    }
    #268218
    Shashi Kumar
    Participant

    @ftg17 Did you check the Profile Settings Option? If not Login to WordPress dashboard using admin account and navigate to Setting >> Buddypress >> Options >> Profile Settings . Mark tick on allow user to upload profile photo. If you did this kindly change to the WordPress default theme and check if now you can update your profile pic.

    #268214
    xmginc
    Participant

    Thanks very much Henry, greatly appreciated.

    Apologies for the delay – we have since added Buddydev.com’s Member Types Pro and Profile Visibility Manager so that we can update access on the fly with the various types of users we are growing into.

    I’ve save your code for future though and thx again!

    #268211
    darrylmit
    Participant

    Buddypress sends out a “membership denied” email when membership is not approved. How do I disable that? I do not want to send out “membership denied” emails at this time.
    Thanks in advance for your help.

    #268209
    coolhunt
    Participant

    Hey Guys,

    anyone have any experience in either the V2 wp-json?
    Im trying to return results for a search http://domain-com/wp-json/wp/v2/users/%5Bsearchterm%5D

    does anyone know the url string for this? I suspect that this probably doesnt read profile fields?…

    #268208
    Henry Wright
    Moderator

    BuddyPress doesn’t have an advanced search. Are you using a plugin?

    #268204
    nagarjunsarathy
    Participant

    Hi,

    Can posts be shared to buddypress activity from different page within same website instead of user adding links, image/video URL’s? Is so how can it be done?

    Thanks.

    #268202
    Shashi Kumar
    Participant

    @whiteeagle1985, I checked the generatepress theme, You can put below code in you child theme’s function.php

    // Change Post's Author URL to Buddypress Profile URL
    add_filter('generate_post_author_output','generate_post_author_output_buddyprss_url');
    
    function generate_post_author_output_buddyprss_url( $post_author_profile_link ){
    $post_author_profile_link = sprintf( ' <span class="byline">%1$s</span>',
    			sprintf( '<span class="author vcard" itemtype="http://schema.org/Person" itemscope="itemscope" itemprop="author">%1$s <a class="url fn n" href="%2$s" title="%3$s" rel="author" itemprop="url"><span class="author-name" itemprop="name">%4$s</span></a></span>',
    				__( 'by','generatepress'),
    				esc_url( bp_core_get_user_domain( get_the_author_meta( 'ID' ) ) ),
    				esc_attr( sprintf( __( 'Know more about %s', 'generatepress' ), get_the_author() ) ),
    				esc_html( get_the_author() )
    			)
    		) ;
    return  $post_author_profile_link;
    
    }

    It should work.

    #268198
    nagarjunsarathy
    Participant

    Hi,

    Can posts be shared to buddypress activity from different page within same website instead of user adding links, image/video URL’s? Is so how can it be done?

    Thanks.

    #268188
    ftg17
    Participant

    Hello! I am using buddypress 2.7.1 on a wordpress site.
    friendsthroughgrief.com

    For some reason users are not able to upload pictures? The option does not even become available on their profiles. The profile picture is just showing up as a white bar. Any ideas?

    Thank you!

Viewing 25 results - 10,201 through 10,225 (of 73,985 total)
Skip to toolbar