Search Results for 'buddyboss'
-
Search Results
-
Hi,
I’m using Buddypress and woocommerce with OneSocialTheme and MarketPlace from BuddyBoss.
It’s really great that buddypress has notification feature, allowing to notify your social activities such as friend request, message etc.As you know, when you order a product, you would instantely receive emails.
I was wondering if there is a way I can add woocommerce order statut into buddypress notification ?Topic: Stop Emails via Buddypress
Hi,
I’m using Buddypress via BuddyBoss. How can I stop this email being sent out ‘Your username and password info’. As the user creates their own password on registration.
This email seems to trigger once I click ‘activate’. I would be grateful if there is a way to stop this email, it’s confusing users.
Thanks
Hi,
I’m running BuddyBoss/BuddyPress on WordPress 5.3.2
I’d like to be able to filter my main BuddyPress members page using $_GET, from query variables passed in the URL.
I’ve tried various ideas found on the web and the most up to date/promising way of doing this seems to be using bp_parse_args() via…
add_filter( 'bp_after_has_members_parse_args', 'my_function' );
Using this method works well except for the fact that I am unable to access my passed filter variables via $_GET …if I print the site url from within my function it returns wp-admin/ajax.php (or something like it) which I guess is why I can’t access the passed query variables. Any help with this would be greatly appreciated.
Many thanks,
Antony
My code…
function ic_members_filter( $retval ) { global $wpdb; global $ic_filter_members_interest_id; if( $ic_filter_members_interest_id && $ic_filter_members_interest_id>0 ){ $prepared_statement = $wpdb->prepare( "SELECT user_id FROM ic_interests_data WHERE interest_id = %d AND (interest_value = 1 OR interest_value = 3)", $ic_filter_members_interest_id ); $db_custom_ids = $wpdb->get_col( $prepared_statement ); if ( $db_custom_ids ) { //!empty( $db_custom_ids ) // convert the array to a csv string $retval['include'] = implode(",", $db_custom_ids); //$custom_ids_str = 'include=' . implode(",", $custom_ids); } else{ // don't show any records $retval['include'] = array(0); } }else{ // show all records $retval['include'] = ''; } return $retval; } add_filter( 'bp_after_has_members_parse_args', 'ic_members_filter' );
WHERE… $ic_filter_members_interest_id is a global that holds the interest_id via $_GET
References…
https://buddypress.trac.wordpress.org/browser/tags/2.2.1/src/bp-members/bp-members-template.php#L461So following the steps in this post:
I used this code:
add_action( 'bp_email', function( $email_type, $email_obj ) { $email_obj->set_reply_to( "wordpress@mydomain.com", "My Site" ); }, 10, 2 ); add_action( 'bp_email', function( $email_type, $email_obj ) { $email_obj->set_from( "wordpress@mydomain.com", "My Site" ); }, 10, 2 );
This partially worked. The signup emails going to the registrant now have the correct From address, but the notifications going to the admin have the WordPress administrator email listed as the From. I believe this is an issue because both the to and from are now a Gmail address, ie. To: myclient@gmail.com and From: myclient@gmail.com, and Gmail is kicking them back as untrusted. How do I get it to change the From email in all cases? Note that I am using the Buddyboss theme, if that makes a difference. Since the above code isn’t checking for the value of $email_type I would have thought it would just work on all of the emails, but the code is also 3 years old so guessing some things may have changed.
Edit: Also, will Buddypress play well with plugins that allow you to send authenticated emails via SMTP or IMAP, such as WP Mail SMTP by WPForms? I feel that might alleviate the issues we are having but it would be good to know if there’s anything special we need to do before going down that road, thanks.
-Michael
Topic: Restrict Message
Hi,
I use wordpress with learndash and buddyboss’ theme. I should like know if is possible between users restrict message, user could send message teacher’s lesson only. Can you help me please?
Howdy, BuddyPress friends!
I have been working on a project for fun and have been enjoying the laying out of items and adding plugin functionality a bit much here lately. So much so, in fact, that I put the testing phase on the back shelf for a bit.
When I was attempting to request membership from a test account to a private group that my admin account was the creator of, I ran into an issue: I can get to the request page (/groups/test-group/request-membership/?_wpnonce=47febc75fe) by clicking the link to do so and then am presented with a textarea for request comments, however when I submit the form (with or without comments) I am taken back to the group’s main page (/groups/test-group/) and am presented with “There was an error sending your group membership request. Please try again.” The request does not come through (not in BP’s notifications, e-mail, pending requests, etc.) at all.
At first this was a minor irritation because I could go to the group as the admin and invite the test account to join the group. There I am presented with a checkbox for my test account’s name, as well as a submit button; however when clicking on the checkbox, the form instantly submits without ever sending an invite. I even attempted to modify the live source to set the field to checked, attempted to submit, and received a success message stating my invite was sent, but of course it never was.
I have checked the list of plugins I have on my site, disabled a few I didn’t necessarily need, and have checked each of the remaining to see if there’s any sort of conflict between plugins affecting groups, but to no avail. This functionality is key to the use of groups for my project, so I would sincerely appreciate any advice from more knowledgeable members of the BP community.
Some support information, including a list of active plugins, can be found below. Please note that any plugin with ** beside it came bundled with the theme.
== Server Environment == Operating System: Linux Software: Apache/2.4.6 MySQL version: MariaDB Server v5.5.61-MariaDB-38.13 PHP Version: 7.2.24 PHP Max Input Vars: 2500 PHP Max Post Size: 64M GD Installed: Yes ZIP Installed: Yes Write Permissions: All right Elementor Library: Connected == WordPress Environment == Version: 5.3.2 WP Multisite: No Max Upload Size: 64 MB Memory limit: 512M Permalink Structure: /%postname%/ Language: en-US Timezone: America/New_York Debug Mode: Inactive == Theme == Name: Gwangi Version: 2.1.1 Author: Themosaurus Child Theme: No == User == Role: administrator WP Profile lang: en_US User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36 == Active Plugins == (BuddyDev) BP Auto Login on Activation Version: 1.0.3 Author: Brajesh Singh Author Avatars List** Version: 1.18 Author: Paul Bearne Awesome Weather Widget Version: 3.0.2 Author: Hal Gatewood bbPress Version: 2.6.3 Author: The bbPress Contributors BP Messages Tool Version: 2.1 Author: PhiloPress BP Profile Search Version: 5.2.4 Author: Andrea Tarantini BuddyPress Version: 5.1.2 Author: The BuddyPress Community BuddyPress Default Cover Photo Version: 1.6.0 Author: SeventhQueen BuddyPress Extended Friendship Request Version: 1.2.0 Author: BuddyDev Team BuddyPress Reorder Tabs Version: 2.0.1 Author: BuddyBoss BuddyPress Xprofile Custom Field Types Version: 1.1.3 Author: BuddyDev Classic Editor Version: 1.5 Author: WordPress Contributors Classic Editor Addon Version: 2.6.0 Author: Pieter Bos, Greg Schoppe Dashboard Notepad Version: 1.42 Author: Stephanie Leary Easy Custom Sidebars** Version: 1.0.10 Author: Titanium Themes Elementor** Version: 2.8.3 Author: Elementor.com Envato Market Version: 2.0.3 Author: Envato Essential Addons for Elementor Version: 3.7.1 Author: WPDeveloper Grimlock** Version: 1.2.5 Author: Themosaurus Grimlock Animate** Version: 1.1.0 Author: Themosaurus Grimlock for Author Avatars List** Version: 1.0.4 Author: Themosaurus Grimlock for bbPress** Version: 1.0.3 Author: Themosaurus Grimlock for BuddyPress** Version: 1.1.4 Author: Themosaurus Grimlock for Elementor** Version: 1.0.1 Author: Themosaurus Grimlock for Jetpack** Version: 1.0.4 Author: Themosaurus Grimlock for Testimonials by WooThemes** Version: 1.1.0 Author: Themosaurus Grimlock for The Events Calendar** Version: 1.1.2 Author: Themosaurus Grimlock Hero** Version: 1.0.7 Author: Themosaurus Grimlock Isotope** Version: 1.0.7 Author: Themosaurus Grimlock Login** Version: 1.0.10 Author: Themosaurus Hide Admin Bar Version: 0.3.9.9 Author: Shelby DeNike If Menu - Visibility control for menu items Version: 0.15 Author: Layered Kirki Customizer Framework** Version: 3.0.45 Author: Ari Stathopoulos MediaPress Version: 1.4.6 Author: BuddyDev Menu Image** Version: 2.9.5 Author: Rui Guerreiro Simple Buddypress Profile Privacy Version: 0.7.9 Author: Justin Hansen Social Articles Version: 2.9.5 Author: Broobe The Events Calendar Version: 4.9.14 Author: Modern Tribe, Inc. UpdraftPlus - Backup/Restore Version: 1.16.21 Author: UpdraftPlus.Com, DavidAnderson Verified Member for BuddyPress** Version: 1.1.1 Author: Themosaurus == Must-Use Plugins == Gateway Relay Version: 1.0 Author: Arnold Bailey (Incsub) rms_unique_wp_mu_pl_fl_nm.php Version: Author: WPMU Assist Version: 1.0.2 Author: Arnold Bailey (Incsub) == Elements Usage == wp-page : 12 eael-adv-tabs : 1 google_maps : 1 image-carousel : 1 shortcode : 1 text-editor : 1 wp-widget-grimlock_author_avatars_section_widget : 1 wp-widget-grimlock_posts_section_widget : 1 wp-widget-grimlock_query_section_widget : 1 wp-widget-grimlock_section_widget : 3 wp-widget-grimlock_the_events_calendar_tribe_events_section_widget : 1 == Log == PHP: showing 1 of 1PHP: 2020-01-02 10:43:38 [error X 1][/home/*****/public_html/wp-content/plugins/elementor/elementor.php::97] Cannot redeclare elementor_fail_wp_version() (previously declared in /home/*****/public_html/wp-content/plugins/elementor/elementor.php:97) [array ( 'trace' => ' #0: Elementor\Core\Logger\Manager -> shutdown() ', )] JS: showing 1 of 1JS: 2020-01-11 16:50:05 [error X 1][https://*****/wp-content/plugins/grimlock/assets/js/navigation-stick-to-top.js?ver=1.2.5:27:45] Cannot read property \'top\' of undefined