-
Henry Wright replied to the topic Activity date off by one day in the forum How-to & Troubleshooting 7 years, 11 months ago
Just to add, Twenty Fifteen is a good theme to use for testing against. It will help determine if the issue is theme-related. Also try deactivating plugins one by one to try to find the culprit. Sometimes a plugin can cause an issue such as this.
-
Henry Wright replied to the topic Activity date off by one day in the forum How-to & Troubleshooting 7 years, 11 months ago
Does this happen with Kleo disabled? Perhaps try Twenty Fifteen
-
Henry Wright replied to the topic Add number of new messages to messages in submenu in the forum How-to & Troubleshooting 7 years, 11 months ago
Try
bp_total_unread_messages_count()
-
Henry Wright replied to the topic Accidentally deleted Activation page in the forum How-to & Troubleshooting 7 years, 11 months ago
In the WordPress admin area go to Pages and then create the page. Then under BuddyPress you can assign that page as the activation page.
-
Henry Wright replied to the topic Get all xprofile select field options in the forum How-to & Troubleshooting 7 years, 11 months ago
Yes,
xprofile_get_field_id_from_name()
will get you the field ID 🙂 -
Henry Wright updated the bp_after_setup_theme() page, on the BuddyPress Codex 7 years, 11 months ago
bp_after_setup_theme() is where BuddyPress loads the theme functions. If you want to filter actions in functions.php or buddypress-functions.php hook to bp_after_setup_theme().
-
Henry Wright replied to the topic Get all xprofile select field options in the forum How-to & Troubleshooting 7 years, 11 months ago
Hi @mlcapulong
If you know the field ID, you can do this:
$field = new BP_XProfile_Field( $field_id );
$children = $field->get_children();
if ( $children ) {
foreach ( $children as $child ) {
// Do something here.
// var_dump( $child );
}
} -
Henry Wright replied to the topic oEmbed video in site-wide activity in the forum How-to & Troubleshooting 7 years, 11 months ago
Thanks @danbp. I’ve added an example to the update you made.
-
Henry Wright updated the Embeds page, on the BuddyPress Codex 7 years, 11 months ago
Since BuddyPress 1.5, we have integrated WordPress’ native Embeds functionality.
So now it’s easy to embed videos, images, and other content into your Activity Stream, Group Forum, and Private Message […]
-
Henry Wright replied to the topic oEmbed video in site-wide activity in the forum How-to & Troubleshooting 7 years, 11 months ago
Update from the Trac ticket
BuddyPress uses a different hook name, but it should do the same thing. Try:
bp_embed_oembed_html
.Thanks to @r-a-y for the info.
-
Henry Wright replied to the topic oEmbed video in site-wide activity in the forum How-to & Troubleshooting 7 years, 11 months ago
oEmbed is supported by BuddyPress but maybe the
embed_oembed_html
WP filter isn’t used?Can you open a Trac ticket for this?
-
Henry Wright replied to the topic Solution to "buddyblock" alternative in the forum How-to & Troubleshooting 7 years, 11 months ago
I can’t be sure without seeing your full code but going on the PHP warnings you are getting it looks like you are treating a string as an array.
Try replacing the 3 instances of
$slug['slug']
with$slug
-
Henry Wright replied to the topic Solution to "buddyblock" alternative in the forum How-to & Troubleshooting 7 years, 11 months ago
BuddyBlock costs a ridiculous $29 to allow users to block other users.
The developer could have put 10s of hours into the plugin. Perhaps that’s the reason for the $29 cost?
-
Henry Wright replied to the topic [Resolved] Filter for No Members Text in the forum How-to & Troubleshooting 7 years, 11 months ago
There isn’t a filter for that text but you can use the
buddypress
textdomain to add a translation. -
Henry Wright replied to the topic New file notification in the forum How-to & Troubleshooting 7 years, 11 months ago
Hi @sand06
Assuming the file is uploaded (and handled) by WordPress, you will need to hook to
wp_insert_post
https://codex.wordpress.org/Plugin_API/Action_Reference/wp_insert_post
$post
and$update
will be passed to your custom function. You can use those to check if the post is a new file upload (attachment). -
Henry Wright replied to the topic need simple means of uploading single video in the forum Creating & Extending 7 years, 11 months ago
Hi @rglennnall
WordPress uses Plupload for file uploads, so you may want to check out that:
-
Henry Wright replied to the topic Hook for Private Message Reply in the forum How-to & Troubleshooting 7 years, 11 months ago
Try checking if thread_id exists. If not then it’s the first message of a new thread.
-
Henry Wright replied to the topic Hitting the "complete registration" button does nothing in the forum How-to & Troubleshooting 7 years, 11 months ago
Does this happen with Twenty Sixteen activated?
-
Henry Wright replied to the topic Buddypress membership levels? in the forum How-to & Troubleshooting 7 years, 11 months ago
BuddyPress doesn’t ship with membership “levels” but member “types” were introduced recently which are the same thing. Check out this article
-
Henry Wright replied to the topic why there is no action for group photo upload? in the forum Requests & Feedback 7 years, 11 months ago
You can request one be added here
- Load More
@henrywright
Active 8 months, 1 week ago