Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 7,876 through 7,900 (of 69,044 total)
  • Author
    Search Results
  • #267101

    In reply to: Profile page not found

    wbcomdesigns
    Participant

    Hi, @mmjr2000

    Please take a look…

    https://buddypress.org/support/topic/replace-%20-usernames-with-a-dash-in-url/

    Hope this will help.

    Thanks.

    Hugo64
    Participant

    Hi @johnriggs78,

    Thank you for your answer.

    Let me precise my message: If I install the 2.8. version and above, the install will be done, and the main site will run, but not the subsites with Error 500.
    This is also the case with only buddypress activated in my wordpress, which shows it is a problem of Buddypress plugin.
    Best,

    Hugo

    #267094

    In reply to: Notifications

    johnriggs78
    Participant

    Hi @lovechard,
    I’ve understood what your need is and would like to inform you that none such plugin exists.
    Its a complete custom code that someone will need to write. You can hire any developer for this need.

    One such plugin exists that notifies for group activities : BP Group Notifier

    Regards,
    John.

    #267092

    In reply to: Invalid Activation Key

    kcscience
    Participant

    I am having the same problem with my web site, and I have figured out why the problem happens, and why the problem is intermittent…

    Here is the problem: a user registers for a BuddyPress account, receives the activation email, follows the link in the activation email, and gets the “Invalid activation key” error. Yet, their account really *is* activated, and they can log in and use their account. A different user does exactly the same thing, and everything works great for them – they get the “Account Successfully Activated” page.

    *Some* users have this problem, most don’t. The ones that do? They seem to have “Blue Coat K-9 Web Protection” software installed on their computers. This is software that is generally installed by parents to keep children from viewing inappropriate content on the internet. When the user follows the “activation” link, K-9 (running on the user’s computer) sends the URL to Blue Coat’s servers, which hit the URL (causing the account activation to succeed). Blue Coat’s servers analyse the “account activation succeeded” response, decides that web page is “kid friendly”, and then tells the user’s computer that that URL is “safe”. The user’s browser is then allowed to hit the URL, but, since that BuddyPress account has already been activated (by Blue Coat’s servers), the user sees the “Invalid activation key” error message, because we tried to activate the BuddyPress account twice.

    Assuming that Blue Coat’s K-9 software is not the only “internet safety” software that acts in this way, it might be a good idea to change the BuddyPress “account activation” system to display an “activation succeeded” message when a user (or their “internet safety” software) tries to activate a BuddyPress account more than once.

    Here are more details, in case if anybody is interested…

    I instrumented my site’s “index.php” and my site’s “public_html\wp-content\plugins\buddypress\bp-templates\bp-legacy\buddypress\members\activate.php” with code that logs tons of stuff, including the IP address of the user. This led to the following discovery…

    When a non-K-9 user follows the “activation” link, “index.php” gets hit (from their computer’s IP address), which invokes the fore-mentioned “activate.php”, which activates the account and emits the “activation successful” web page, and all is well. One web request happened, as demonstrated by “$_SERVER[‘UNIQUE_ID’]”.

    When a K-9 user follows the “activation” URL, however, a MUCH different situation occurs, which involves four separate web requests. The first two requests come from an IP address that is registered to Blue Coat Systems / Symantec Corporation, the makers of the K-9 Internet Protection software. The second two requests come from the user’s computer…

    * Web request #1 – Blue Coat’s computer hits “index.php” with the activation URL’s ending slash missing.

    * Web request #2 – Blue Coat’s computer hits “index.php” again, with the correct activation URL this time. This invokes lots of PHP code (on my server), which eventually results in “activate.php” running and the account activation succeeding. The reply (the “account activation succeeded” web page) is delivered to Blue Coat’s servers, who analyses it and decide that the web page is “kid friendly”, so it tells K-9 (running on the user’s computer) that it’s OK to show that page.

    * Web request #3 – The user’s computer finally hits “index.php”, in order to activate the account.

    * Web request #4 – The user’s computer hits “index.php” again, with the registration key removed from the end of the URL this time. This invokes lots of misc PHP code, which eventually results in “activate.php” running and failing this time, because the activation has already happened (back in web request #2, which Blue Coat made, in order to determine if that web page is “kid friendly” or not).

    I have no idea why the user’s computer (in #3 and #4) make two requests instead of one. However, even if it made just one, it would still show the error message, because that’s the second time the BuddyPress account was activated.

    – kcscience

    #267086
    ruchika88
    Participant

    Hi John,

    Thanks for reverting I reactivated buddypress plugin but no luck. I am a first time user of Buddypress please help.

    Thanks
    Ruchika

    #267083
    brucelewis55
    Participant

    HI, we have worked on some add ons in buddypress.

    https://profiles.wordpress.org/wbcomdesigns#content-plugins

    #267082
    johnriggs78
    Participant

    Hello ruchika,

    I checked your Pages like- profile, Activity & Notification.
    At least you couldn’t Deactivate Buddypress plugin, Anyway When you will activate Buddypress Plugin All pages will be work.

    And if you Need Notification plugin you can download – BP Favorite Notification
    If you need another plugins you can also downlod from Plugin Shop, It’s totaly Free, So Go Head & Enjoy. If you need any help i will around.

    Regards
    John

    #267073
    Slava Abakumov
    Moderator

    #BuddyPress Newsletter #35 – BuddyPress 2.9.0 RC1, new theme and lots of plugins to consider

    Subscribe here: http://bpmail.ovirium.com/

    wbcomdesigns
    Participant

    Hello @thelovebridges

    Anyone can upload cover images to groups or profiles by applying the setting…

    Settings > BuddyPress > Settings screen

    Please take a look…

    BuddyPress Cover Images

    Hope this will help.

    Thanks.

    #267061
    deimz
    Participant

    Before I linked actions and add_filter lists but I forgot apply_filters list, so you can get it here 🙂

    BuddyPress ApplyFilters [PDF]

    Mickaël

    #267060
    deimz
    Participant

    Thanks for forwarding my request 🙂

    In the meanwhile, feel free to access actions and filters as PDF here :

    BuddyPress_actions [PDF]

    Buddypress Filters [PDF]

    Mickaël

    thelovebridges
    Participant

    WordPress 4.8
    BuddyPress 2.8.2

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

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

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

    #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

    Yanur Islam Piash
    Participant

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

    #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

    #266974
    autox420
    Participant

    Solved it.

    <a href="<?php bp_member_permalink(); ?>" title="<?php bp_member_name(); ?>"><?php bp_member_avatar(); ?></br></br></br><?php bp_member_name(); ?></a>

    /plugins/buddypress/bp-members/classes/class-bp-core-whos-online-widget.php

    #266971
    qudwill
    Participant

    It works fine with default theme.
    Theme I use hasn’t overriden files for buddypress, so i think it uses plugin sources. And there is no any error in DevTools console.

    How to debug what’s going wrong? How can i solve this issue?

    #266969
    r-a-y
    Keymaster

    Amin – You would have to ask your request on the bbPress forums – https://bbpress.org/forums

    bbPress handles BuddyPress integration into the Groups component.

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