Search Results for 'buddypress'
-
AuthorSearch Results
-
January 13, 2019 at 11:09 am #302199
iamdev
Participantyou can use this code buddypress has a function
place this code in function.phpfunction julia_b_activity_dont_save_item( &$activity ) { $dont_types = array( 'new_member'); if ( empty( $activity->id ) && in_array( $activity->type , $dont_types ) ) { $activity->type = ''; } } add_action( 'bp_activity_before_save', 'julia_b_activity_dont_save_item' );January 12, 2019 at 9:19 am #302191In reply to: Cannot deactivate and uninstall
Venutius
ModeratorDo you have FTP access? you could simply delete the BuddyPress directory in plugins.
January 12, 2019 at 7:45 am #302189In reply to: Why i cannot use it with page id?
qnkov
ParticipantI need to have the default page id ON, cuz all my images, and alot of pages with plugins brokes if i use other option. Isn’t there anyway buddypress to work with page id actived? That’s the default option for wordpress, i don’t know why it’s not working with it.
January 11, 2019 at 10:46 pm #302184In reply to: Why i cannot use it with page id?
shanebp
ModeratorNo.
You have to assign pages to BP.
Go to Settings > BuddyPress > Pages and assign pages – you may need to create them first.January 11, 2019 at 7:49 pm #302177Topic: Previous forum post marked as spam
in forum How-to & Troubleshootingpixieblitz
ParticipantHello…
I just made a post My Previous Post and noticed a label “this topic marked as spam” after I tried to edit a typo. I’m not sure why or how to avoid that in the future, or how to get any input on what I had originally been asking?It IS a bit of a duplicate post, since I originally put a similar question in a different forum, but I wasn’t really sure where it belonged and couldn’t figure out how to delete the first one.
Please help?
Thanks!January 11, 2019 at 10:20 am #302169In reply to: Username as Name
Venutius
Moderatorcheck out this thread: https://buddypress.org/support/topic/how-to-remove-xprofile-names-and-replace-with-username/
January 10, 2019 at 4:57 pm #302156In reply to: Send email after rejection
joshpage
Participant@shanebp – Thanks. I’ve actually figured the entire thing out. Posting code below in case anyone else needs it.
function denial_email_creation() { // Do not create if it already exists and is not in the trash $post_exists = post_exists( '{{denier.name}} denied your friend request.' ); if ( $post_exists != 0 && get_post_status( $post_exists ) == 'publish' ) return; // Create post object $my_post = array( 'post_title' => __( '{{denier.name}} denied your friend request.', 'buddypress' ), 'post_content' => __( '<p>{{denier.name}} denied your friend request. And the rest of your email content.......</p>', 'buddypress' ), // HTML email content. 'post_excerpt' => __( '<p>{{denier.name}} denied your friend request. And the rest of your email content.......</p>', 'buddypress' ), // Plain text email content. 'post_status' => 'publish', 'post_type' => bp_get_email_post_type() // this is the post type for emails ); // Insert the email post into the database $post_id = wp_insert_post( $my_post ); if ( $post_id ) { // add our email to the taxonomy term 'friendship_denied' // Email is a custom post type, therefore use wp_set_object_terms $tt_ids = wp_set_object_terms( $post_id, 'friendship_denied', bp_get_email_tax_type() ); foreach ( $tt_ids as $tt_id ) { $term = get_term_by( 'term_taxonomy_id', (int) $tt_id, bp_get_email_tax_type() ); wp_update_term( (int) $term->term_id, bp_get_email_tax_type(), array( 'description' => 'Recipients Friendship Denied', ) ); } } } add_action( 'bp_core_install_emails', 'denial_email_creation' ); add_action( 'friends_friendship_rejected', function( $friendship_id, $friendship ) { $user_id = $friendship->initiator_user_id; $denier_id = $friendship->friend_user_id; $args = array( 'tokens' => array( 'site.name' => get_bloginfo('name'), 'denier.name' => bp_core_get_user_displayname( $denier_id ), ), ); bp_send_email( 'friendship_denied', $user_id, $args ); // Send your email here. }, 10, 2 );January 10, 2019 at 8:16 am #302151In reply to: Profile pic and cover image
Venutius
ModeratorThen you must have a conflict somewhere. Have you tried running with just BuddyPress Active and with a default theme such as 2016?
January 9, 2019 at 11:31 pm #302141In reply to: Update Labels on Nouveau
rsmithgs
ParticipantI found that if I made this file directory in my theme (as per Theme Compatibility Codex) I could resolve the issue with the Compose field:
/buddypress/common/js-templates/messages/index.php
So for anyone else looking for messaging template changes. It’s located in:
plugins/buddypress/bp-templates/bp-nouveau/buddypress/common/js-templates/messages/index.php
Anyone looking for the search field for members list, it’s located in:
/plugins/buddypress/bp-templates/bp-nouveau/buddypress/common/search/search-form.php
January 9, 2019 at 12:55 pm #302134In reply to: Display Base Profile Tab
Venutius
ModeratorCheck out
plugins/buddypress/bp-templates/legacy/members/profile/profile-loop.phpthis is how BP displays the profile group information, you should be able to use this as a basis for what you want to do.January 9, 2019 at 11:49 am #302133ico33
ParticipantOne user of my site results in buddypress not recently active, even if it is active or have been active recently.
Where is the problem? Ideas?
January 7, 2019 at 8:14 pm #302108In reply to: Members Not Showing
Unfunnel
ParticipantAlso, when using the plugin… the search results pull up User Names versus the actual Buddypress member’s name as they did prior to using this function…
January 7, 2019 at 5:55 pm #302103In reply to: Making group avatar uploading mandatory
shanebp
ModeratorHave you tried using the hook provided in the group > create template?
For example, in this file:
buddypress\bp-templates\bp-legacy\buddypress\groups\create.php
Look for the group avatar section and use this hook:
do_action( 'bp_after_group_avatar_creation_step' );January 7, 2019 at 10:15 am #302100In reply to: Copy buddypress files into child theme
Venutius
ModeratorHi there,
That’s not a file you can overload, you can only overload files in the buddypress/bp-templates/bp-nouveau(bp-legacy)/buddypress directory.
January 7, 2019 at 10:04 am #302099In reply to: Copy buddypress files into child theme
pradeepphule
ParticipantHello @sbrajesh,
I’m trying to copy bp-friends-template.php file into child theme. I have tried many times still not able to understand how to set the correct path in child theme.
Plugin file path: buddypress\bp-friends\bp-friends-template.php
Any suggestion.
Thanks
January 6, 2019 at 8:52 pm #302078In reply to: Infinite Load – Won’t Accept Friend Request
makyn
ParticipantThanks all!
Update: So I may have been a bit hasty. WooCommerce kindly did a test, and like @shanebp was also unable to replicate the results of the issue with friend requests not accepting.
Despite infinite load I was experiencing, I could right click the “accept” or “refuse” button with a friend request, & copy the URL that indicated the nonce and open it in a new tab and then it would accept/refuse the friend request.
After scouring for hours and hours through different *old* threads regarding similar issues I did discover a few individuals that seemed to have the same issue, but there was no resolution presented. I figured that there were several people, then (at that time) having the issue, and if it’s just me having the issue now – perhaps, it was something wrong with my copy of BuddyPress…
So, I finally decided to delete my installation of Buddypress directly through sFTP and reinstall a clean copy of it from https://wordpress.org/plugins/buddypress/ directly back to the sFTP. I guess that was the solution.
I am still unsure what the issue was, or why it was (at least on my installation) causing this error.
However, I am now pleased to report that the issue is resolved and that I am able to accept friend requests.
Thus it merely appeared that it was WooCommerce because this was the plugin that seemed to trigger the infinite load when I was doing disable plugin testing to see where conflict appeared.
Thanks again!
January 6, 2019 at 6:11 pm #302076shanebp
ModeratorBuddyPress does not handle payments or paywalls.
You’ll need a paid membership plugin.
There are some free ones in the WP plugin repo that you could try out.So, your question is not really about BuddyPress.
Ultimately the decision on how / what to implement will depend on your research and the specifics of your project.January 5, 2019 at 11:22 pm #302041In reply to: Change required fields
Channing Oliver
ParticipantI thought it was a problem with my Events plugin but i uninstalled it and the problem persisted until i uninstalled buddypress.
January 5, 2019 at 11:10 pm #302039Venutius
ModeratorJanuary 5, 2019 at 10:47 pm #302032Venutius
ModeratorI’ve just looked at a test server and I’m getting the same issue. If I edit the profile I can see the extra tab and edit the profile fields it contains, but when I view the profile it only shows the Base profile group.
Would you mind rasing this as a bug on trac?
January 5, 2019 at 10:36 pm #302031Wushan TCM
ParticipantWhat I just did is a fresh install of the buddypress plugin, but the problem existed before and changed nothing after the fresh install. That was installed by FTP and I overwrite the existing buddy press plugin.
January 5, 2019 at 10:28 pm #302029Venutius
ModeratorThanks, have you overloaded any of the BP template files? located in themes/yourchildtheme/buddypress
January 5, 2019 at 10:15 pm #302027Venutius
ModeratorYou can chekc in Settings>>BuddyPress>>Options
January 5, 2019 at 2:58 pm #302020In reply to: Question about ( bp_message_threads )
shanebp
ModeratorUse the filter hooks to modify the output.
For example, see the filter hook for: bp_message_thread_from()January 5, 2019 at 8:23 am #302018In reply to: How to branch pages
Venutius
ModeratorDo a search in the buddypress files for bp_is_user or bp_is_, bp has a number of functions such as bp_is_user_profile() or bp_is_user_activity, function bp_is_user_profile_edit(), bp_is_group() which confirm if the user is accessing different pages.
-
AuthorSearch Results