Search Results for 'buddypress'
-
AuthorSearch Results
-
July 19, 2017 at 10:32 am #267101
In reply to: Profile page not found
wbcomdesigns
ParticipantHi, @mmjr2000
Please take a look…
https://buddypress.org/support/topic/replace-%20-usernames-with-a-dash-in-url/
Hope this will help.
Thanks.
July 19, 2017 at 8:24 am #267099Hugo64
ParticipantHi @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
July 19, 2017 at 7:06 am #267094In reply to: Notifications
johnriggs78
ParticipantHi @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.July 19, 2017 at 12:13 am #267092In reply to: Invalid Activation Key
kcscience
ParticipantI 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
July 18, 2017 at 3:39 pm #267086In reply to: Profile, activity, notification pages 404 error
ruchika88
ParticipantHi John,
Thanks for reverting I reactivated buddypress plugin but no luck. I am a first time user of Buddypress please help.
Thanks
RuchikaJuly 18, 2017 at 2:32 pm #267083In reply to: Creating a group by activity post
brucelewis55
ParticipantHI, we have worked on some add ons in buddypress.
July 18, 2017 at 1:31 pm #267082In reply to: Profile, activity, notification pages 404 error
johnriggs78
ParticipantHello 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
JohnJuly 17, 2017 at 1:59 pm #267073In reply to: BuddyPress Newsletter relaunched
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/
July 17, 2017 at 7:07 am #267064wbcomdesigns
ParticipantHello @thelovebridges
Anyone can upload cover images to groups or profiles by applying the setting…
Settings > BuddyPress > Settings screen

Please take a look…
Hope this will help.
Thanks.
July 17, 2017 at 5:36 am #267061In reply to: [access request]Documentation contribution
deimz
ParticipantBefore I linked actions and add_filter lists but I forgot apply_filters list, so you can get it here 🙂
Mickaël
July 17, 2017 at 4:48 am #267060In reply to: [access request]Documentation contribution
deimz
ParticipantThanks for forwarding my request 🙂
In the meanwhile, feel free to access actions and filters as PDF here :
Mickaël
July 16, 2017 at 7:26 pm #267057thelovebridges
ParticipantWordPress 4.8
BuddyPress 2.8.2July 16, 2017 at 5:09 am #267045In reply to: disable buddypress email sending for custom role?
andrew55
ParticipantRobin 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.
July 15, 2017 at 10:17 pm #267043In reply to: Plugin: BuddyPress Strong Username And Password
livingflame
ParticipantCorrection:
<?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; }July 15, 2017 at 7:30 pm #267039In reply to: Cropping profile image broken
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!)
July 15, 2017 at 3:05 pm #267036In reply to: Hook before friendship request is sent
shanebp
ModeratorTry
do_action_ref_array( 'friends_friendship_before_save', array( &$this ) );Found in
buddypress\bp-friends\classes\class-bp-friends-friendship.phpJuly 15, 2017 at 8:26 am #267030In reply to: Fatal error
Hugo Ashmore
ParticipantThis has been opened as a trac ticket:
https://buddypress.trac.wordpress.org/ticket/7570
@jaeyholic can you provide the details requested there, thanks.July 14, 2017 at 6:31 pm #267025In reply to: Cropping profile image broken
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.July 14, 2017 at 10:04 am #267008In reply to: Filter posts according to group
johnriggs78
ParticipantHello Claw,
I read your details, Your can use BuddyPress Group Type Search. I am sure it will be work for you!.
Regards
JohnJuly 14, 2017 at 8:10 am #267005In reply to: How to add filter for HTML templates email
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
July 13, 2017 at 3:27 pm #266994Yanur Islam Piash
ParticipantI figured out the problem was not with Buddypress. This article provides a solution
July 13, 2017 at 11:14 am #266986In reply to: Cropping profile image broken
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
July 12, 2017 at 5:56 pm #266974In reply to: Whos Online widget show nickname
autox420
ParticipantSolved 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
July 12, 2017 at 4:43 pm #266971In reply to: Change Cover Image upload form is missing
qudwill
ParticipantIt 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?
July 12, 2017 at 4:16 pm #266969In reply to: PostID from GroupForumPermalink?
r-a-y
KeymasterAmin – You would have to ask your request on the bbPress forums – https://bbpress.org/forums
bbPress handles BuddyPress integration into the Groups component.
-
AuthorSearch Results