-
Henry Wright replied to the topic Undefined index. in the forum How-to & Troubleshooting 8 years, 7 months ago
Hi ma3ry
I know the path points to a BuddyPress file, but this notice is likely caused by a plugin you have activated. It basically means an array key
r
is being used, but ther
key doesn’t actually exist in the array (for whatever reason).Try deactivating your plugins 1 by 1 to see which might be causing the notice.
-
Henry Wright replied to the topic Shortcode to create Edit Profile Page in the forum How-to & Troubleshooting 8 years, 7 months ago
Simple Membership may use a different action hook on login. I’m guessing the redirect plugin uses the standard hook provided by BuddyPress. Do you have a link to Simple Membership?
-
Henry Wright replied to the topic buddypress members search errors in the forum How-to & Troubleshooting 8 years, 7 months ago
This might not fix the problem but have you tried BP Profile Search?
-
Henry Wright replied to the topic Filtering Title in BuddyPress in the forum Creating & Extending 8 years, 7 months ago
I did a bit of digging for you. The filter you need to use is
bp_title_parts
. Your hooked function will be passed an array of the BuddyPress title parts. -
Henry Wright replied to the topic Filtering Title in BuddyPress in the forum Creating & Extending 8 years, 7 months ago
For some reason I was looking at
document_title_separator
which is why I thought your function was passed a string. You are right,$title
is an array. Sorry about that 🙂 -
Henry Wright's profile was updated 8 years, 7 months ago
-
Henry Wright replied to the topic $bp global object deprecated in the forum Requests & Feedback 8 years, 7 months ago
You can still use
global $bp;
at the beginning of your functions to access the global’s data. But yes,buddypress()
is a far better way. You should be able to update the Codex yourself? If that’s not the case, let me know 🙂 -
Henry Wright replied to the topic Filtering Title in BuddyPress in the forum Creating & Extending 8 years, 7 months ago
Also,
$title
should be a string, not an array. So doing stuff like this$title['title']
won’t work. -
Henry Wright replied to the topic Filtering Title in BuddyPress in the forum Creating & Extending 8 years, 7 months ago
so I guess BuddyPress is bypassing or overriding this filter
If that were the case, you can increase the priority:
add_filter('document_title_parts', 'custom_groups_title', 20);
But I don’t think that’s the problem in this case. Maybe check if
bp_is_group()
andbp_current_action()
are working as you expect them to be.var_dump( $some_value );
…[Read more] -
Henry Wright replied to the topic Shortcode to create Edit Profile Page in the forum How-to & Troubleshooting 8 years, 7 months ago
The edit form is in edit.php. You will need to add that to the page but I don’t think it will be as easy as copying and pasting because the default form processing may depend on the current URL.
-
Henry Wright replied to the topic [Resolved] image exceeds the maximum upload size – but it's only 11KB in the forum How-to & Troubleshooting 8 years, 7 months ago
That’s great to hear 🙂
I just bumped the value to 5mb. Feel free to change the
5120000
value to anything that suits you. -
Henry Wright replied to the topic [Resolved] image exceeds the maximum upload size – but it's only 11KB in the forum How-to & Troubleshooting 8 years, 7 months ago
Can you try adding this to your theme’s functions.php:
add_filter( 'bp_core_avatar_original_max_filesize', function() {
return 5120000; // 5mb
} ); -
Henry Wright replied to the topic [Resolved] image exceeds the maximum upload size – but it's only 11KB in the forum How-to & Troubleshooting 8 years, 7 months ago
Can you try ruling out your set up?
Disable all plugins (aside from BuddyPress) and activate Twenty Fifteen. Then try uploading a profile pic. If that test works then we can safely say your server is working as it should be.
-
Henry Wright replied to the topic [Resolved] image exceeds the maximum upload size – but it's only 11KB in the forum How-to & Troubleshooting 8 years, 7 months ago
That’s a strange one. 11kb is tiny. Can you try another image? Perhaps make a copy of the profile image you used here on this forum.
-
Henry Wright replied to the topic Only images in activity stream in the forum How-to & Troubleshooting 8 years, 7 months ago
You’d need to remove the post update form and perhaps provide a image upload button instead. How comfortable are you with PHP?
-
Henry Wright replied to the topic [Resolved] image exceeds the maximum upload size – but it's only 11KB in the forum How-to & Troubleshooting 8 years, 7 months ago
Hi @ma3ry
Can you post the error message you’re getting?
-
Henry Wright wrote a new post on the site BuddyPress.org 8 years, 7 months ago
This Friday, April 8th 2016, WordCamp London is holding a Contributor Day. Ticketed registration is free and some tickets are still available, but are running out fast! On the day, attendees will be asked to […]
-
Henry Wright replied to the topic button does not appear, "Send Update" in the forum How-to & Troubleshooting 8 years, 7 months ago
Can you post some information about your install?
Active theme
Plugins activated
BuddyPress version
WordPress versionThanks!
-
Henry Wright replied to the topic @mentions tagging people in post on wordpress site in the forum Third Party Plugins 8 years, 7 months ago
This is related to @-mentions in bbPress. I suggest you ask this same question over at the bbPress support forum:
-
Henry Wright replied to the topic Plug in that allowed communication only through photo in the forum Third Party Plugins 8 years, 8 months ago
That’s an interesting idea. I haven’t seen a plugin that does that. I guess you could try searching the Plugin Directory but I don’t think there will be one. 🙁
- Load More
@henrywright
Active 8 months, 1 week ago