Search Results for 'buddypress'
-
AuthorSearch Results
-
May 14, 2016 at 3:13 am #253367
prdufresne
ParticipantI was able to override the offending settings by adding a few lines in the custom css file of my theme. Below are the changes I made to resolve the issue, in case anyone else runs into a similar problem
#buddypress table.profile-fields td.label { color: #555555; display: table-cell; }May 13, 2016 at 7:31 pm #253359In reply to: CPT in Activity with Detail
shanebp
Moderator…build the CPTs in a more traditional way.
That would be useful knowledge, but registering CPTs for BP can be a bit different.
If you haven’t, look at this codex page.
And you may actually want to build a custom BP component.May 13, 2016 at 6:58 pm #253357ndh01
ParticipantI found I have to declare it in my theme as noted here https://buddypress.trac.wordpress.org/ticket/6570:
bp_set_theme_compat_feature( 'legacy', array( 'name' => 'cover_image', 'settings' => array( 'components' => array( 'xprofile', 'groups' ), /* or you can only use array( 'xprofile' ) to restrict the cover image to users */ 'width' => 1170, 'height' => 225, 'callback' => 'swifter_theme_cover_image', /* function that will return to BuddyPress the css to attach to the theme_handle */ 'theme_handle' => 'swifter', ), ) );May 12, 2016 at 6:22 pm #253337In reply to: @mention autosuggest in visual editor
Paul Wong-Gibbs
KeymasterThe change reported in https://buddypress.trac.wordpress.org/ticket/6972 has been added to BuddyPress trunk, and will be included in BP 2.6.
May 12, 2016 at 4:58 pm #253334wmerussi
ParticipantAlright, found it!!!
After placing the code into functions.php I just had to go to WP-Admin -> Appearance -> Menus and get the menu tab item under BuddyPress 🙂
Cheers!
May 12, 2016 at 3:22 pm #253328In reply to: Latest WP compatibility
RGB Lab
ParticipantHi Henry,
Here is screenshot from Dashboard: http://screencast.com/t/CWRf167CAT
Furthermore, I’ve reported this to you guys as well as to dev team of Rev Slider: https://buddypress.org/support/topic/bp_setup_current_user-and-slider-revolution/ Just hoping new versions of plugins will be compatible among eachother.
Thanks.
May 12, 2016 at 1:59 pm #253324In reply to: CPT in Activity with Detail
shanebp
ModeratorIt sounds like you want to filter the content body of the activity item.
There is a filter hook for that:
apply_filters_ref_array( 'bp_get_activity_content_body', array( $activities_template->activity->content, &$activities_template->activity ) );
infunction bp_activity_content_body()in
buddypress\bp-activity\bp-activity-template.phpI think the main issue will be determining if the entry is related to your CPT.
And that will be affected by how you created the CPT.
There may be some info in the second argument – maybe in["type"]?Try:
function ben_filter_activity_body( $content, $activity ) { var_dump( $activity ); $content = ' Start of your content ' . $content; return $content; } add_filter( 'bp_get_activity_content_body', 'ben_filter_activity_body', 25, 2 );May 12, 2016 at 12:57 pm #253323In reply to: Set order members in the search results
stefannita
ParticipantSorry for repost.
“Unfortunately BP Profile Search cannot alter the order of results, that’s controlled by BuddyPress instead (Order By: Last Active / Newest Registered / Alphabetical). “
May 11, 2016 at 7:32 pm #253306In reply to: There was a problem cropping your profile photo.
dcrowe
ParticipantI am having the same issues. I can upload and set the crop marks but then when I click save I get “There was a problem cropping your profile photo.”
I have updated buddypress and bbpress, made sure my file permissions on the avatar and uploads folder are set to 777
No clue why this is happening.
May 11, 2016 at 6:18 pm #253304In reply to: not receiving account confirmation email
Jot
ParticipantGoodnight. Since the last update, buddypress not send emails validating new user accounts. I checked the plug smtp.wordpress and working properly. The problem occurs at the time of registration of a new user.
May 11, 2016 at 9:11 am #253294In reply to: BP Custom Message HTML breaks AJAX – why?
justarandomuser
ParticipantOK AJAX is now working. I use now the $GLOBAL variable from WordPress.
Just the new message, whoch is appended my AJAX, is not correctly dispayed. Will continue to find the problem.
It looks like the AJAX response (new message) is appended right after <form …> and before the next <div ….>
<form id="send-reply" action="<?php bp_messages_form_action(); ?>" method="post" class="standard-form"> <div class="conv-textarea"> <?php //do_action( 'bp_before_message_reply_box' ); ?> <textarea name="content" id="message_content" class="auto-height" placeholder=""></textarea> <?php //do_action( 'bp_after_message_reply_box' ); ?> <div class="conv-bottom"> <?php //do_action( 'bp_after_message_reply_box' ); ?> <div class="submit"> <input type="submit" name="send" value="<?php esc_attr_e( 'Send Reply', 'buddypress' ); ?>" id="send_reply_button"/> </div> <input type="hidden" id="thread_id" name="thread_id" value="<?php bp_the_thread_id(); ?>" /> <input type="hidden" id="messages_order" name="messages_order" value="<?php bp_thread_messages_order(); ?>" /> <?php wp_nonce_field( 'messages_send_message', 'send_message_nonce' ); ?> </div> </div> </form>Very strange to put a message there.
May 10, 2016 at 5:06 pm #253285In reply to: PHP 7.0 compatibility
justarandomuser
ParticipantYes sir.
Just found the problem:
my import of my SQL file was a little bit failed. Everything was fine but BuddyPress was corrupted – I don’t know why! Fixed it!Now I can test PHP7. First opinion: it’s sensible faster on localhost.
I’ll install PHP7 later on my Debian Server to test.
May 10, 2016 at 3:08 pm #253283In reply to: [Resolved] How to Hide Admin accounts 2016?
semperaye
ParticipantThere is this code posted by someone on this thread 2.5 years ago:
https://buddypress.org/support/topic/hide-certain-admins-as-being-online/
/* disable Recording Site Activity for Admins */
add_action(“bp_loaded”,”bpdev_init_sm_mode”);
function bpdev_init_sm_mode(){
if(is_super_admin())
remove_action(“wp_head”,”bp_core_record_activity”);//id SM is on, remove the record activity hook
}
/* ——————————————– */But not sure if that is custom css, or if that is something that needs to be placed in the bp-custom.php file? Also, that code appears to only block admin activity, not profile, and members list….
Is there a way to do all of this via some custom CSS? That would obviously be the easiest way to solve this since there are no currently working plugins.
May 10, 2016 at 3:07 pm #253282In reply to: CSS causing cover image to disappear.
jameshh93
Participant@fakrulislam thank you!! Coincidentally I was having trouble with this with twentysixteen and just creating a stylesheet in buddypress/css and now the cover image appears thanks to that code! YAY!!!!!!!!!!!!!!!!!!!!!!!
May 10, 2016 at 3:01 pm #253280In reply to: PHP 7.0 compatibility
justarandomuser
ParticipantI just tested my whole Website with PHP7.
I have 19 PlugIns activated. 18 are working fine – except BuddyPress.I really don’t know why but even simple functions like “messages_get_unread_count()” get an Fatal Error: Uncaught Error: Call to undefined function messages_get_unread_count().
bp_get_messages_slug and many more gives me the same error.
Can anyone help?
May 10, 2016 at 9:02 am #253271In reply to: How to change options for user delete the account?
Henry Wright
ModeratorDo you mean like a deactivate option? That isn’t available right now in BuddyPress.
May 10, 2016 at 3:31 am #253267In reply to: Bussdypress title and SEO Yoast problem
r0z
ParticipantI solved this error without having to disable the SEO in BuddyPress pages, and without having to touch the core of the plugin.
I’ll leave here (add in functions.php):function wpseo_fix_title_buddypress($title) { // Check if we are in a buddypress page if (function_exists( 'buddypress') && buddypress()->displayed_user->id || buddypress()->current_component ) { $bp_title_parts = bp_modify_document_title_parts(); // let's rebuild the title here $title = $bp_title_parts['title'] . ' ' . $title; } return $title; } add_filter( 'wpseo_title', 'wpseo_fix_title_buddypress');maybe this code or something similar would need to be implemented in Yoast SEO plugin… maybe.
May 10, 2016 at 1:22 am #253265In reply to: Buddypress on Multisite
Henry Wright
ModeratorI think this should be a question for the core team. You should post it on Trac:
May 9, 2016 at 8:14 pm #253254In reply to: [Resolved] How to Hide Admin accounts 2016?
Henry Wright
ModeratorCheck out this article:
May 9, 2016 at 7:04 pm #253252In reply to: CSS causing cover image to disappear.
MD FAKRUL ISLAM
ParticipantI faced the same issue when I copied the buddypress.css from buddypress/bp-templates/bp-legacy/css to mythemes/buddypress/css
Here is the code below I used to get rid of this…
function your_theme_cover_image_css( $settings = array() ) { /** * If you are using a child theme, use bp-child-css * as the theme handel */ $theme_handle = 'bp-parent-css'; $settings['theme_handle'] = $theme_handle; /** * Then you'll probably also need to use your own callback function * @see the previous snippet */ $settings['callback'] = 'bp_legacy_theme_cover_image'; return $settings; } add_filter( 'bp_before_xprofile_cover_image_settings_parse_args', 'your_theme_cover_image_css', 10, 1 ); add_filter( 'bp_before_groups_cover_image_settings_parse_args', 'your_theme_cover_image_css', 10, 1 );Hope it helps..
May 9, 2016 at 6:24 pm #253251In reply to: Private Member?
shanebp
ModeratorI don’t believe
bp_parse_args()was available when I wrote that codex page.But you should use it instead; it should solve your issue:
https://codex.buddypress.org/developer/using-bp_parse_args-to-filter-buddypress-template-loops/May 9, 2016 at 3:08 pm #253245In reply to: How to change item text from main nav
Henry Wright
ModeratorThere are a few articles that could be useful to you. Check out:
May 9, 2016 at 6:50 am #253233In reply to: No activation emails (WP mails are working)
LavishDhand
ParticipantI had no idea that creating a BuddyPress email template was necessary. Just created one and now it’s working.
Thank you
May 8, 2016 at 9:02 am #253219In reply to: Visual editor not working
andy60rm
Participant-
Resolution today
my personal steps
1. restore latest wp backup with version 4.5.1
2. complete remove of buddypress
3. disactivation of the following plugins (i don’t know exactly the cure but bp works now)INACTIVE Cryout Serious Theme Settings 0.5.6
INACTIVE Huge IT Slider 3.1.82
INACTIVE mathtex latex equation editor 1.1.5
INACTIVE Ultimate Tables 1.6.3
INACTIVE WP-Polls 2.73
INACTIVE WP-Pro-Quiz 0.37May 7, 2016 at 11:00 pm #253211In reply to: virtual kiss or wink
danbp
ParticipantMaybe this one ?
https://wordpress.org/plugins/buddypress-compliments/ -
AuthorSearch Results