I’m having the same problem after upgrading to WordPress 4.5.2. I didn’t see the problem prior to that.
Have you found a solution yet?
For readers curious about the answer, autoembed does not run on meta items unless the dev runs it manually themselves ( @r-a-y ).
More details on BuddyPress Slack.
Hello,
I originally noticed this issue with BuddyPress Groups Extras where their Group Pages loaded through BuddyPress groups aren’t picking up the autoembeds or shortcodes. If the Group Pages are loaded outside of the BuddyPress group they function as expected.
References to the original issue;
BP 2.2 Update Broke Auto-Embeds on BP Groups Extras Pages
https://wordpress.org/support/topic/buddypress-22-breaks-vimeo-url-embeds-on-group-pages?replies=3
https://github.com/slaFFik/BP-Groups-Extras/issues/56
I came across this again as I’ve introduced a custom field ‘Group Content’ which adds content to the group overview page. Calling the_content() or apply_filters( ‘the_content’, get_the_content()) both fail to execute shortcodes and autoembeds (and probably any other the_content functions.
Here’s the include file to introducing the Group Content meta to groups;
http://pastebin.com/BsH1b00B
Then from my custom front.php for Groups I introduce the group content field through the_content filter;
<div class="group_content">
<?php
$group_content = groups_get_groupmeta(bp_get_group_id(), 'bp_group_content_editor');
if(!empty($group_content)){
echo apply_filters('the_content', $group_content);
} else {
echo "Please find any forums, documents or videos that you have access to listed in the sidebar.";
}
?>
</div>
Employing this technique I’ve found that no functions tied to the_content which would normally execute like autoembed and run_shortcodes no longer execute.
Does BuddyPress suppress these functions on the_content filter?
This seems to be the case not only in a custom field like this on the front.php but also any custom group pages introduced have the same issue.
Thoughts/Insight appreciated. I tried diving into the BP code but got a bit overwhelmed. I think it might have to do with the buddypress template loader but can’t be sure.
Anyway so this issue affects custom fields, custom pages and the plugin Buddypress Groups Extras which introduces Group Pages.
Thank you
BP xProfile Location
This new & free plugin creates a xProfile Location field type that use the Google Places API.
So you can use a single address field and get uniform and verified addresses from your members.
It will also create GeoCodes for each address, so you can use them to create member maps.
This plugin is used together with BP Maps for Members from PhiloPress to create member maps.
Hi Julia,
it’s a bbPress bug, patched a while ago, but still in. Maybe a day it will be repaired definetly.
For the moment, you can repair yourself. Open activity.php in wp-content/plugins/bbpress/includes/extend/buddypress/
Replace following code block at line 277/279:
$existing = bp_activity_get_specific( array( 'activity_ids' => $activity_id, 'show_hidden' => true, 'spam' => 'all', ) );
if ( empty( $existing['total'] ) || ( 1 !== (int) $existing['total'] ) )
return null;
by
$existing = new BP_Activity_Activity( $activity_id );
if ( empty( $existing->component ) ) {
return null;
}
Save and reload to to your site by FTP and you’re done.
Does someone know how to specify buddy press urls? For instance:
<?php echo esc_url( home_url( '/' ) ); ?>
the above is to point to WordPresses homepage.
But what is the url for a buddypress’s profile, sites, etc… page?
Thank you!
Better yet, it would be nice if there was a way to change all the BuddyPress buttons globally, including “Add Friend” “Cancel Friendship,” “SEARCH,” etc.
Example:
I found this code that changes all the wordpress buttons globally, just not the login and register.
.wp-core-ui .button-primary, .button {
background: #99cc66;
border-color: #669933;
box-shadow: inset 0 1px 0 rgba(102,153,51,.5),0 1px 0 rgba(0,0,0,.15);
}
.wp-core-ui .button-primary:hover, .button-primary:active {
background: #669933;
border-color: #99cc66;
box-shadow: inset 0 1px 0 rgba(102,153,51,.5),0 1px 0 rgba(0,0,0,.15);
}
Perhaps there is a .buddypress-core-ui?????
A Group Types API is on its way – 7 commits yesterday π https://buddypress.trac.wordpress.org/ticket/6784
WordPress Version 4.4.3
BuddPress Version 2.4.3
link β http://dev.inclusivetech.net/hammydowns/
Although you need to be logged in to see the button on the listings page.
So Iβm trying to change the compose message form in buddy press to say Title instead of
subject in the header for the email. To make it consistent with items on my listings page.
I found the compose.php files but any modification to them does not change anything on the
websites page. I found a total of 4 compose.php files dug into buddy press and buddy boss but
any changes to any of those files are not reflected on the site.
Any chance you could point me to the right file to change this??
Hy, I have a Problem.
In the Widget i have this code, becouse see Only the Avatar from gravatar.com and not from Buddypress or WordPress
<?php echo get_avatar( $comment, '45' ); ?>
Display in Html
<img alt="" src="https://secure.gravatar.com/avatar/ca07c51aecfa704741559ccc813d7b0d?s=45&d=mm&r=g" srcset="https://secure.gravatar.com/avatar/ca07c51aecfa704741559ccc813d7b0d?s=90&d=mm&r=g 2x" class="avatar avatar-45 gravatar" height="45" width="45">
Than i have change the code to:
<?php echo bp_core_fetch_avatar( array( 'item_id' => $comment->user_id,'type' => 'full','width' => 75,'height' => 75)); ?>
becouse is not working.
What is the correct code for Display Avatar from a Comment.
Thanks a lot
All of my users can not login to there account. They get redirected to the Home page. I can login to my admin account true website.com/wp-login but not from the login-widget.
What to do.
website http://www.npf-forum.se
latest wordpress
latest bb press
latest buddy press
genesis child theme latest.
And have also uploaded a backupp from my host and with that updated the database
I have cleard the cach several times
I have created a new user-account wich doesnet work to login with.
IΒ΄m, stuck
I 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',
),
) );
I hereby recommend the BP Group Documents plugin that gives a simple dropbox function in a group.
User friendly and easy.
I would like it to be included in Buddypress core.
Lars
WordPress Version 4.4.3
BuddPress Version 2.4.3
link β http://dev.inclusivetech.net/hammydowns/
Although you need to be logged in to see the button on the listings page.
So I’m trying to change the compose message form in buddy press to say Title instead of
subject in the header for the email. To make it consistent with items on my listings page.
I found the compose.php files but any modification to them does not change anything on the
websites page. I found a total of 4 compose.php files dug into buddy press and buddy boss but
any changes to any of those files are not reflected on the site.
Any chance you could point me to the right file to change this??
Alright, 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!
Hello!
Sorry for my poor english and if I’m writing in the wrong section.
I’m currently developping an Intranet for my department.
Every employees have created their profiles (name, job position, id and pswd etc.) to be able to navigate on the Intranet.
I would like to generate automatically a Trombinoscope or Organigramm with these users datas.
I know a plugin “Clicface Organi” (https://fr.wordpress.org/plugins/clicface-organi/) that provides me what I want but I have to add all the employees manually.
Is there a way to automatically generate an Organigramm with directly Buddypress profile’s datas?
I hope I was clear…
Thank you for your help!
Goodnight. 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.
Goodnight. 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.
I am looking for a little bit of advice on which setup to install for a multisite network.
I wish to create a community that users have access to the main website/wordpress to view blogs, posts, information, a forum, and contribute/comment on there but then each user thats signed up also has their own wordpress site on the network which acts as their ‘profile’ but also has some sort of booking / payment system for their own offered services aswell as displaying their own blog and content.
I see three levels of users
1 – User / Client – can login to the site have access to the main website and contribute there and book services and engage with staff through ‘Staff’ profile wordpress sites.
2- Staff – can login to the site and have access to the main website, contribute there and maintain their own wordpress site and accept bookings for their services.
3 – Admin – Control the main website and support staff and clients.
Which of the following should I use?
Network-wide
A. BuddyPress root blog in Main Site
B. BuddyPress root blog in Secondary Site
One site of the Network
C. BuddyPress Activated in Main Site only
D. BuddyPress Activated in Secondary Site only
Posts, comments, or activities of the users in sites other than where you activated BuddyPress wonβt be recorded in the Activity Streams when you install BuddyPress in only one site of the network.
Special Setups
E. BP_ENABLE_MULTIBLOG β network activated
F. BuddyPress Multisite β network activated
Any advice would be great.
Chris
After login with facebook in https://wordpress.org/plugins/facebookall/
I uploaded new profile photo, but it isn’t updated. The cover is updated if I change it
Hello, I have a registration website, integrated with Buddypress of course and after users register they will get an email from my site with sender like this ‘mysite@wordpress.com’. I want it to be like ‘no-reply@mysite.com’. Can anybody help me with that?
OK 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.