Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 7,676 through 7,700 (of 69,044 total)
  • Author
    Search Results
  • #268279
    shanebp
    Moderator

    This is a BuddyPress forum.
    The bbpress forums are here.

    #268272
    Antonio D.
    Participant

    Who have experience with listify and buddypress integration?

    We need some help. thanks

    #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>

    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.

    #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.

    #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.

    #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!

    #268208
    Henry Wright
    Moderator

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

    #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.

    #268187
    Shashi Kumar
    Participant

    @romashah62 You can read the following thread Tinymce For Activity Post. You can use mediapress plugin to enable adding images in the group.

    #268183

    In reply to: BuddyPress conditions

    shanebp
    Moderator

    Your questions are about WP and WooCommerce, not BuddyPress.
    All three are free, so set up a test site and start using other plugins or custom code to handle your desired user roles.

    #268182

    In reply to: BuddyPress conditions

    shanebp
    Moderator

    Your questions are about WP and WooCommerce, not BuddyPress.
    All three are free, so set up a test site and start using other plugins or custom code to handle your desired user roles.

    #268167
    marymezzo
    Participant

    I’m having exactly the same problem: when viewing reg form on iPhone, no way to add info to fields; buttons don’t work.

    Running WP 4.8.2 and Buddypress 2.9.1.

    I would love to see some feedback on this topic.

    Given the number of people who use the web on their phones, a registration form that doesn’t work for mobile users is a registration form that doesn’t work.

    #268164
    Henry Wright
    Moderator

    You can’t do this by default on the front end in BuddyPress. You can of course do this in the WordPress admin area as an administrator.

    Nathan Pinno
    Participant

    Hey,

    I run a site where everyone who registers can have their own blog, and the entries all show up on the homepage. Right now those posts on the front page link to their author profiles, but I would like them to link to their BuddyPress profiles instead.

    I’ve tried searching Google for a way to do so but any code I find results in a white screen on my site. The only plugin to do this is over two years old and will likely not work.

    How do I do this so that I will not get a white screen?

    Thanks!

    #268147

    In reply to: Contact user

    xmginc
    Participant

    @flashvilla, hope this helps:

    I’m using Gravity Forms to display a contact form on each member profile page and dynamically populating a hidden field with the member’s email address.

    Here’s info on dynamically populating a field in GF

    Their example:

    add_filter( 'gform_field_value_your_parameter', 'my_custom_population_function' );
    function my_custom_population_function( $value ) {
        return 'boom!';
    }

    I have changed this to:

    add_filter('gform_field_value_bp_member_email', 'bp_member_email');
    function bp_member_email($value){
      return bp_get_displayed_user_email();
    }

    In Gravityforms, I have then created a hidden field and in the advanced tab of that field, checked “Allow field to be populated dynamically” and entered the “Parameter Name:” as “bp_member_email”

    Then, in the notifications, the “Send to Email” should be changed from a standard email to a Gravityform tag. You can get that by clicking the little arrow key beside many fields such as “From Name” box. Find the name of your hidden field and click that. It should give you something like this: {BP Member Email:7} where “BP Member Email” is the name I gave the hidden field – yours will be whatever you named it.

    You’ll also need to embed the form to your child theme: /themes/yourchildtheme/buddypress/members/single/home.php

    Details on how to embed into your theme can be found here. Example: (where 1 is the ID of your form and 12 is the starting tabindex)

    <?php gravity_form(1, false, false, false, '', true, 12); ?>

    If this worked, you can view the source code of the member page and you’ll see the member’s email as an input value in the hidden field.

    Hope this helps!

    Please note: if you can’t have the person’s email displayed publicly in the source code for privacy (even though it’s not visible on the site), you will need an alternative method. Members on my site all have their emails visible so it’s not an issue for me.

    #268127
    shanebp
    Moderator

    Use bp_group_has_members and specific the id of the group.
    For example: <php if ( bp_group_has_members( 'group_id=15' ) ) : ?> etc.

    Group Members Loop

    #268124
    amitgupta3
    Participant

    Can anyone please suggest me? Let me explain my problem again.
    I have a contact form that user can use to contact the Admin or any Member by emailID.
    Admin/member can reply to him on his email.
    All this happening flowless on email but this whole thread is out of BuddyPress context. There is no tracking of this conversation.

    Can someone suggest how can I keep track of this conversation and show it in “Messages” section when user login? Can we track by email address of this user and show in Messages.
    OR is it mandatory to login First. Even then how contact form details can be captured and shown in Messages section.

    #268106
    janbrinkmann
    Participant

    Seems like bbPress and Buddypress cause that conflict.

    #268100
    Henry Wright
    Moderator

    Check out the Template Hierarchy article. You can override the default templates by creating custom templates in your theme.

    #268082
    stunomatic
    Participant

    I use the function “my_custom_ids” Loop

Viewing 25 results - 7,676 through 7,700 (of 69,044 total)
Skip to toolbar