-
Henry Wright replied to the topic Including post categories in the activity stream in the forum How-to & Troubleshooting 12 years, 2 months ago
Using
get_the_category_listmakes displaying the categories very simple! Nice find. -
Henry Wright replied to the topic Strange injection of email address on text with @baseurl in the forum How-to & Troubleshooting 12 years, 2 months ago
Hi @josswinn
Is this ticket related to your problem by any chance?
-
Henry Wright replied to the topic change the "term" avatar to "profile photo" in the forum How-to & Troubleshooting 12 years, 2 months ago
I’m 99.87% sure the change-avatar URL (slug) is hard coded. See this ticket for more info:
-
Henry Wright replied to the topic Buddypress Profiles feature request in the forum Requests & Feedback 12 years, 2 months ago
wp_editorneeds to identify your textarea. It does that through the textarea’s ID.Usage is this:
wp_editor( $content, $textarea_id, $settings = array() );I see your textarea uses
bp_the_profile_field_input_name()as it’s ID. So as a very basic (un-working) example, it would be:wp_editor( $content, bp_the_profile_field_input_name(),…[Read more] -
Henry Wright replied to the topic log gin off reroute to wrong page in the forum Installing BuddyPress 12 years, 2 months ago
@dverburg-1 I’m not aware of a setting in BP core. But, there is a plugin which lets you do that.
Theme My Login
https://wordpress.org/plugins/theme-my-login/The redirection feature is the bit that does what you need.
-
Henry Wright replied to the topic Including post categories in the activity stream in the forum How-to & Troubleshooting 12 years, 2 months ago
I’m not aware of an exact tutorial but to give you an overview of what needs to be done…
You can use
wp_get_post_categories()to get a list of categories for a particular post.For more information on how to use
wp_get_post_categories(), see:
https://codex.wordpress.org/Function_Reference/wp_get_post_categoriesadd_filter()will let you hook…[Read more] -
Henry Wright replied to the topic How to display the notification count outside the member's profile in the forum How-to & Troubleshooting 12 years, 2 months ago
Hi @oken
In BP 1.9 + you can now do
echo bp_notifications_get_unread_notification_count( bp_loggedin_user_id() ); -
Henry Wright replied to the topic Recent comments page link in the forum How-to & Troubleshooting 12 years, 2 months ago
toss up between going through one by one or pulling page and re-writing.
I’ve used that page a huge number of times – mainly for the
is_functions. I actually had it bookmarked at one point 🙂 I’m sure i’ll find a need for it again soon so personally I wouldn’t pull it if the choice were mine.So I take it there’s no recent comments or recent…[Read more]
-
Henry Wright replied to the topic Recent comments page link in the forum How-to & Troubleshooting 12 years, 2 months ago
@hnla – i’ll search the BP v 1.9.1 code base.
Results:
bp_is_recent_postsnot found in 528 documents.
bp_is_recent_commentsnot found in 528 documents.Looks like these functions don’t exist today at least. They may have existed in the past perhaps?
-
Henry Wright started the topic Recent comments page link in the forum How-to & Troubleshooting 12 years, 2 months ago
bp_is_recent_commentsis used to determine if the current page is the recent comments page.Ref:
I’ve never come across the ‘recent comments’ page. Does anyone know what the link to it would be? There’s also a recent posts page apparently.
-
Henry Wright replied to the topic Including post categories in the activity stream in the forum How-to & Troubleshooting 12 years, 2 months ago
Hi @ewebber
You can do that by filtering
bp_blogs_activity_new_post_action -
Henry Wright replied to the topic Preserving whitespace from bp profile fields in the forum How-to & Troubleshooting 12 years, 2 months ago
Hi @terraling
Take a look at the first few lines in bp-xprofile/bp-xprofile-filters.php
There’s lots of filters in place that act on the xprofile field value. Could be one of them?
-
Henry Wright replied to the topic custom members loop in the forum Creating & Extending 12 years, 2 months ago
-
Henry Wright replied to the topic custom members loop in the forum Creating & Extending 12 years, 2 months ago
Try this:
$update = get_usermeta( bp_get_member_user_id(), 'bp_latest_update' );
if ( is_array( $update ) ) {
$activity = bp_activity_get_specific( array( 'activity_ids' => $update['id'] ) );
$activity = $activity['activities'][0];
echo $activity->date_recorded;
}Are you up for freelance work?
I don’t think that will be needed as…[Read more]
-
Henry Wright replied to the topic custom members loop in the forum Creating & Extending 12 years, 2 months ago
@mykrabuilding could it be that the two members you’re displaying haven’t made an activity update yet? Just a thought! If that is the case then it’ll just need a simple check introduced to see if the member has made an activity update – if they haven’t then display nothing, if they have then display the date.
-
Henry Wright replied to the topic ERROR: Your reply cannot be created at this time. in the forum Installing BuddyPress 12 years, 2 months ago
@trainingforamarathon I had this problem once before. Which version of BP and WP are you using. Plugins? Theme?
-
Henry Wright replied to the topic Change thumb avatar files to full. in the forum How-to & Troubleshooting 12 years, 2 months ago
@lrv No, using the bp-custom.php approach – you’d need to re-upload existing avatars in order for the new sizes to be used.
The alternative is to use the full size avatar throughout your theme. However, this might involve making changes to multiple template files (depending on your theme).
-
Henry Wright replied to the topic Buddypress Profiles feature request in the forum Requests & Feedback 12 years, 2 months ago
You can render an editor using the WordPress function
wp_editor()https://codex.wordpress.org/Function_Reference/wp_editor
Also, you might need to remove some BP filters on the member bio content areas – I’m not sure if there are any in place which strip HTML you see.
-
Henry Wright replied to the topic site like behance.net with buddy press? in the forum Creating & Extending 12 years, 2 months ago
-
Henry Wright replied to the topic custom members loop in the forum Creating & Extending 12 years, 2 months ago
I’ve now had a chance to do this at my PC. Just tested this so it should work:
$update = get_usermeta( bp_get_member_user_id(), 'bp_latest_update' );[Read more]
$activity = bp_activity_get_specific( array( 'activity_ids' => $update['id'] ) );
$activity = $activity['activities'][0];
echo… - Load More
@henrywright
Active 2 years, 1 month ago