Forum Replies Created
-
I just wanted to confirm to anyone who finds this post later with the same issue (before 2.2.2) that this process worked 100%. Just apply the changes in this link and it should fix your problem, if you happen to use Customizr as your theme of choice:
https://buddypress.trac.wordpress.org/attachment/ticket/6107/6107.06.patch
Copy/paste it is! That’s how it went the first time, so I’ll give it a second shot. Thanks for the feedback on the theme, though. I may evaluate my other theme options first before I go through another round of editing a page of code.
Thank you for your help again!
Hi danbp, thank you for the help!
I saw that ticket and I applied the changes in v.09 to my bp-core-filters.php file and still didn’t have any luck with it fixing anything. Maybe it was the way I applied the patch. Applying this patches is something I’m not really familiar with. Could you provide any tips on how to best apply the .patch file? I’ll try the .06 version since you’re saying it works, too.
Thank you!
Thanks for that link. I can tell I’m not alone in what is an extremely complicated problem to resolve, apparently.
So, I took the changes to bp_core_filters.php and applied them up to the most recent patch, which according to some other comments suggested that may fix the issue. Unfortunately, no change at all. I’m not using any SEO plugin on this particular site so I know that isn’t the issue, and I’m just at a total loss on how to proceed.
I wouldn’t even mind necessarily if it was hard-coded somewhere else to just make the proper title appear, I just need a fix. I appreciate your help!
Actually, I think I got it. I’ve just put a link in the BP profile and WP profile so at least the user can access those fields to edit.
That’s true, I hadn’t even thought of that. Is there any way for me to add a link in the “Edit” profile option which will direct them to the WP profile?
I guess I should say, I’m sure there’s a way, I’m just not sure which file I would have to make changes to in order to get that to display properly.
Thanks for your reply!
Another update: Right below where I found those hooks, I also found the code that actually generates the fields and whatnot. If there is a way for me to directly copy-and-paste that right into the BP profile edit page somehow – or even create fields that can be associated with those liveTV fields – I’ll do that too.
Thank you again for any help!
Okay, I think I’ve identified the fields in question and the code in question, but I’m not sure how to implement it. Here’s the section of code from the addon that hooks the new user fields into the WordPress profile:
`//Now hook to create extra profil fields`
`add_action( ‘edit_user_profile’, ‘livetv_show_extra_profile_fields’ ); `
`//When the current on the current profil has capabilties to edit -> display`
`add_action( ‘edit_user_profile_update’, ‘livetv_save_extra_profile_fields’ ); `
`//When the current on the current profil has capabilties to edit -> update``add_action( ‘show_user_profile’, ‘livetv_show_extra_profile_fields’ ); `
`//When the current on the current profil has capabilties to show -> display`
`add_action( ‘personal_options_update’, ‘livetv_save_extra_profile_fields’ ); `
`//When the current on the current profil is the current and edit -> update`I can see where it hooks the new fields into the default user profile, but how do I update those hooks for BuddyPress? I found some hooks that sounded similar but none would actually add those to the proper spot in the “Edit” page for the extended profile.
Help please! Thank you!