Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 10,926 through 10,950 (of 94,557 total)
  • Author
    Search Results
  • thelovebridges
    Participant

    Hello. Please help me.
    Can’t upload Buddypress Profile Image to anyone except ADMIN!
    Users on my site cannot upload their own profile picture and cover image?
    when a user trys to upload and image, error i get is:
    An error occurred. Please try again later.
    I have:
    option is selected ‘registered members can change ….’
    tried different image sizes attributes…etc
    tried different image formats
    tried many different plugins to force profile picture
    tried many different avatar plugins

    i have not found a concrete answer anywhere.

    What i have found is that if i change profiles to ‘Administrator’ they can change it.
    BUT i cant have all my users Administrators.

    How can my users change their profile/cover image?

    Thanks.

    #267049
    deimz
    Participant

    Hi,

    I would like to add articles with the full listing of buddypress’ actions and filters on the Documentation. I figured out that a lot of people is looking for this. I’ve done it for my personal requirements and if you can give me permissions to add an article on the doc, I’ll be very happy to share this with everybody.

    🙂

    Thanks a lot,

    Mickael

    @jjj

    #267048
    matougui
    Participant

    I had like to add nice tabs and dropdown to buddypress profile menu, since my wordpress theme is bootstrap available, I’d like to use bootstrap to accomplish this, problem is I cannot figure out how to add css classes to profile menu.
    I’d like to use the profile menu (activity, profile, notifications …) as primary menu and #subnav menu (option menu) as dropdown menu, is that possible ?
    If not bootstrap tabs will be fine, just need to find a way to add custom class to the member navigation menu (activity, profile …)

    #267045
    andrew55
    Participant

    Robin W over at bbPress was kind enough to provide this filter for functions.php:

    add_filter( 'bbp_get_topic_subscribers', 'rew_filter_subscrbers' );
    add_filter( 'bbp_get_forum_subscribers', 'rew_filter_subscrbers' );
    
    function rew_filter_subscribers ($users) {
    	$role = 'my_custom_role' ;
    	$filtered_ids = array();
    	foreach ( (array) $users as $user_id ) {
    		$user_info = get_userdata($user_id);
    		$user_roles = $user_info->roles ;
    		if (!in_array ($role, $user_roles)) {
    			array_push($filtered_IDs, $user_id);
    		}
    	
    	}
    return $filtered_ids ;
    }

    Used with a custom role, it works great at preventing emails from going out from bbPress.

    Of course, BuddyPress sends out several emails (friend request, private messages, etc).

    Any ideas on how I can modify the filter above to prevent sending of BuddyPress emails to user if they have a custom role enabled? Even a place to go where I might find some ideas to work with?

    Thanks for any suggestions.

    #267043
    livingflame
    Participant

    Correction:

    <?php
    /*
    Plugin Name: BP strong username and password
    Description: Force the new registered in BuddyPress to use strong username and password.
    Version: 1.0
    Author: Anonymous
    */
    
    add_action( 'plugins_loaded', 'plugin_load_textdomain' );
    function plugin_load_textdomain() {
      load_plugin_textdomain( 'bp-strong-username-password', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' ); 
    }
    
    // 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. Minimum 8 chars.', '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 weak or too short. Please, use uppercase, lowercase, numbers and special characters. Minimum 8 chars.', '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)<8) return FALSE;
    
       return TRUE;
    }
    livingflame
    Participant

    In your Plugin Directory create a folder and a .php file with this name: bp-strong-username-password

    CODE:

    <?php
    /*
    Plugin Name: BP strong username and password
    Description: Force the new registered in BuddyPress to use strong username and password.
    Version: 1.0
    Author: Anonymous
    */
    
    add_action( 'plugins_loaded', 'plugin_load_textdomain' );
    function plugin_load_textdomain() {
      load_plugin_textdomain( 'bp-strong-username-password', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' ); 
    }
    
    // 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 not strong enough. 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 not strong enough. 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)<8) return FALSE;
    
       return TRUE;
    }

    —————-

    For Translation: In your plugin dir, languages folder, create this file: bp-strong-username-password-es_ES.mo with this:

    Þ•<\\K]\©H©O]ùuW]ÍForce the new registered in BuddyPress to use strong username and password.Your password is not strong enough. Use uppercase, lowercase, numbers and special charactersYour username is not strong enough. Use uppercase, lowercase and numbersProject-Id-Version: BP strong username and password
    Report-Msgid-Bugs-To: 
    POT-Creation-Date: 2017-07-15 19:42+0000
    PO-Revision-Date: 2017-07-15 19:47+0000
    Last-Translator: Anonymous 
    Language-Team: Spanish
    Language: es
    Plural-Forms: nplurals=2; plural=n != 1
    MIME-Version: 1.0
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: 8bit
    X-Generator: Loco - https://localise.biz/Forzar a los nuevos registrados en BuddyPress a usar nombre de usuario y contraseña fuertes.Su nombre contraseña no es lo suficientemente fuerte. Use mayúsculas, minúsculas, números y caracteres especialesSu nombre de usuario no es lo suficientemente fuerte. Use mayúsculas, minúsculas y números

    And this file: bp-strong-username-password-es_ES.po with this:

    msgid ""
    msgstr ""
    "Project-Id-Version: BP strong username and password\n"
    "Report-Msgid-Bugs-To: \n"
    "POT-Creation-Date: 2017-07-15 19:42+0000\n"
    "PO-Revision-Date: 2017-07-15 19:47+0000\n"
    "Last-Translator: Anonymous \n"
    "Language-Team: Spanish\n"
    "Language: es\n"
    "Plural-Forms: nplurals=2; plural=n != 1\n"
    "MIME-Version: 1.0\n"
    "Content-Type: text/plain; charset=UTF-8\n"
    "Content-Transfer-Encoding: 8bit\n"
    "X-Generator: Loco - https://localise.biz/"
    
    #: bp-strong-username-password.php:17
    msgid ""
    "Your username is not strong enough. Use uppercase, lowercase and numbers"
    msgstr ""
    "Tu nombre de usuario no es lo suficientemente fuerte. Use mayúsculas, "
    "minúsculas y números"
    
    #: bp-strong-username-password.php:41
    msgid ""
    "Your password is not strong enough. Use uppercase, lowercase, numbers and "
    "special characters"
    msgstr ""
    "Tu contraseña no es lo suficientemente fuerte. Use mayúsculas, "
    "minúsculas, números y caracteres especiales"
    
    #. Description of the plugin
    msgid ""
    "Force the new registered in BuddyPress to use strong username and password."
    msgstr ""
    "Forzar a los nuevos registrados en BuddyPress a usar nombre de usuario y "
    "contraseña fuertes."
    #267039
    enacta2
    Participant

    @r-a-y a ticket for this issue with WP Rocket is active on WP Rocket’s GitHub: bug report for broken BuddyPress profile cropping

    It appears the issue is CDN rewrite by WP Rocket. I’m going to ping the ticket assignee to see if they’re making any progress.

    Do you want to lend a hand to the WP Rocket people, if they need the help? (Maybe it could get this done sooner. The ticket has been open for more than 3 months!)

    #267036
    shanebp
    Moderator

    Try
    do_action_ref_array( 'friends_friendship_before_save', array( &$this ) );

    Found in
    buddypress\bp-friends\classes\class-bp-friends-friendship.php

    Yanur Islam Piash
    Participant

    Hi,

    There is no title for the buddypress tab pages. In this Screenshot, Bohubrihi is my site title. But before the separator, there should be a page title. The page title is missing for all the pages in the Buddypress tabs. This looks odd. Is it default?

    #267030

    In reply to: Fatal error

    Hugo Ashmore
    Participant

    This has been opened as a trac ticket:
    https://buddypress.trac.wordpress.org/ticket/7570

    @jaeyholic can you provide the details requested there, thanks.

    #267029
    jaeyholic
    Participant

    i am developing a website using buddypress and after creating the register page, when someone wants to sign up, after typing the info and press the sign up button, this error appears
    Fatal error: Call to undefined function bp_get_settings_slug() in /home/yeboah2/public_html/winderrands/wp-content/plugins/buddypress/bp-core/bp-core-filters.php on line 1072

    instead of redirecting the new user to the activation page, it doesn”t, that error shows up but on the users page, i see the new user created but the user can’t activate his/her account.
    someone kindly help me fix this problem please.
    thanks in advance

    #267025
    enacta2
    Participant

    @r-a-y OK I figured out the problem. It’s with WP Rocket plugin. I have been trying to configure WP Rocket so it doesn’t cache or add performance options but haven’t been able to fix it yet. I tried excluding pages from cache. I’m using WP Rocket 2.10.6.

    @autox420 thanks for the suggestion. For some reason my localhost copy with WP Rocket running doesn’t break Buddypress croping. But does break it on my live site.

    sambagal
    Participant

    Hello,

    I recently updated BuddyPress to version 2.8.2. After that most of the links from TOP RIGHT profile menu disappeared (for the front end user). I used to have:

    Edit my Profile
    Activity
    Profile
    Notifications
    Messages
    Groups
    Forums
    Events
    Docs
    Log Out

    Now all I have is

    m (which is a broken link to mysite.com/m )
    Log Out

    I am using BuddyApp Child Theme, WordPress version 4.4.10

    All those links are still available on back end and on the actual profile page:
    mysite.com/member/user/

    All my active plugins:
    bbPress
    bbPress Votes
    BuddyPress
    BuddyPress Docs
    Check Email
    Duplicate Post
    Easy Knowledge Base
    Envato WordPress Toolkit
    Events Manager
    GD bbPress Attachments
    LDAP/Active Directory Login for Intranet sites
    Really Simple SSL
    Visual Composer Center Info Extension (our own plugin)
    Visualizer: Charts and Graphs Lite
    WP FullCalendar
    WP-Mail-SMTP
    WP-Polls
    WPBakery Visual Composer

    Would you please help me troubleshoot the issue?
    If not I at least would like to put a dynamic link to user profile somewhere on the page so members could access all those links directly from their profile as a workaround for now, I can open another topic for that or search.

    Thank you,

    Maria

    kushal10
    Participant

    This is the member profile page of wordpress and I want to know which function is being used and its location to get the count of these options in buddypress.

    #267008
    johnriggs78
    Participant

    Hello Claw,

    I read your details, Your can use BuddyPress Group Type Search. I am sure it will be work for you!.

    Regards
    John

    #267005
    prash009
    Participant

    \wp-content\plugins\buddypress\bp-core\bp-core-functions.php

    $email->get( ‘content_plaintext’, ‘replace-tokens’ )

    $email->get( ‘content_html’, ‘replace-tokens’ )

    now i changed the ‘content_plaintext’ to ‘content_html’ and it’s awesome it’s working

    But we are receiving mail in html format not in buddypress template I want to receive mail with buddypress templates

    #267002
    DAM
    Participant

    By default buddypress filter members by Last Active, Newest Registered, Alphabetical
    I need to add an extra filter:

    Filter all the users with the same xprofile_field_id=1 value of current user

    Thank You.

    andrew55
    Participant

    We use a membership script integrated with WP and BuddyPress. When users unsubscribe from emails in script, they still get email notifications from BuddyPress (private messages notifications, etc). This is bad.

    It’s easy for us to assign these members a custom role. Is there a way to prevent BuddyPress from sending emails to these users who have this custom role?

    I see here that you can create functions for creating new capabilities (for User Role Editor plugin):

    User Role Editor WordPress plugin – Change roles easily

    Is there a function, or another method I can use to prevent BuddyPress from sending of all emails for users who have specific custom role?

    Thanks for any suggestions!

    Yanur Islam Piash
    Participant

    I figured out the problem was not with Buddypress. This article provides a solution

    #266992
    the1trujok3r
    Participant

    I want to change the color of my post update button but I only want to change the bbpress button color not my entire sites css button color.

    I found this:
    #buddypress input[type=”submit”],
    #buddypress input[type=”submit”]:hover {
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    }

    #buddypress .standard-form div.submit {
    padding: 0 !important;
    }

    #buddypress .standard-form div.submit input {
    margin-right: 0 !important;
    }

    But that didn’t work…

    I am guessing if I could figure out what button buddypress is using to color that button that way or if there is a css override for the Post Update button on the activity page of Buddypress what would be the most idea thing for me.

    Like here on this page the submit button is yellow with white text…if I could figure out a way to color the background of that “post update” button then I could maybe use that…I dunno I’m a css dummy and just fumble my way through guessing at stuff.

    Any help would be much appreciated.

    romashah62
    Participant

    Hi ,

    Is it possible to allow members of group to use WYSIWYG editor/rich text editor or any visual editor instead of simple text area , I want all images , embed videos etc. to post.

    If any plugin/add-on/ hook/filter available for this then please guide me through this.

    I am a developer so can make changes wherever required in code.

    Thanks.

    #266986
    enacta2
    Participant

    @r-a-y I’ve tried quite a few files, most recently the name was “a.jpg” and “a.png”

    I tested 2.9 beta and it didn’t fix the issue.

    I updated my localhost dev site to PHP 7.1.7, with all the same plugins running, including BuddyPress 2.8.2, and image cropping worked. But it still isn’t working on the live site.

    The only plugin I’m using that’s dependent upon BuddyPress is ‘bbp buddypress profile information’

    The bbPress pluings I’m using, besides bbPress 2.6.rc-3 and the profile info plugin, are bb Style Pack and bbPress Move Topics

    #266984
    Yanur Islam Piash
    Participant

    All the headers under each tab in buddypress profile are in <h2> now. I want to change them all to <h3>. What is the code for this??
    Screenshot: http://imgur.com/a/47eMo
    Thank you!

    #266983
    bmontgomery
    Participant

    Hello,

    I have a site with Buddypress installed.
    For some reason, when I click on “my profile” page, when I’m logged in with a certain type of users, I can see that current_user exists, and I have the button to edit my profile.
    But when I’m logged with other types of users, the buton “Edit” is not there, because bp_is_my_profile returns false, because the user object is empty…

    I read somewhere that wp_get_current_user return 0 is it’s called at the wrong place. But here, it’s the same page, so it should return the same kind of information.
    I don’t understand why this function returns nothing for some users…

    The only difference between these users is:
    – I use Paid Memberships Pro, and some users pay a membership while others pay nothing. So the first ones have a “membership level” while the other ones don’t have any.

    Anyone have an idea of how I could solve it ?
    I was thinking of creating a “free membership level” but I think it should work without having to do that.

    What do you think ?

    Thanks for your help

    #266982
    njones7
    Participant

    So ive been doing a heap of looking around before i decided to post here, im trying to modify the buddypress user profile look and layout however am having a bit of trouble and not sure where to start (or even how to progress). I am not very great with coding (can just scratch the surface) especially with buddypress. I used the below link but it didnt prove to be very useful for me as well as visiting the template heirachy.

    Custom Front Pages for your users profiles

    If there is some tutorial about customising user profile pages or something that would be an awesome help.

    Wordpress version: 4.8
    BuddyPress version: 2.8.2
    Site Link: http://www.ptnu.com.au

Viewing 25 results - 10,926 through 10,950 (of 94,557 total)
Skip to toolbar