Community Forums › Forums › General Discussion › Genesis and bbPress
Tagged: bbPress, genesis, layout options, profile edit
This topic contains 5 replies, has 2 voices, and was last updated by Jen Baumann 5 months, 1 week ago.
-
AuthorPosts
-
December 9, 2012 at 2:37 pm #4026
I was playing around with the bbPress plugin and Genesis on a local install and noticed a strange error. If you are logged in as administrator and click the edit link for your forum profile you see the error in the screen cap linked below.
It seems the function that loads the layout settings displayed on the profile page only does so in the backend and not the forum profile page. Am I on the right track?
Blog | Twitter | GitHub | Google Code
December 10, 2012 at 10:11 am #4187You might try this: http://wordpress.org/extend/plugins/bbpress-genesis-extend/
Jennifer “Hermione” Baumann | Recommended StudioPress Developer
Dream Whisper Designs | Themessence | @dreamwhisper | If I’ve helped, like me on FacebookDecember 10, 2012 at 2:54 pm #4260Hi Jen
Already using that plugin. Deactivated all other plugins to rule out any potential conflicts. I’m going to dig into the Genesis core to see if I can figure out what is what.
Blog | Twitter | GitHub | Google Code
December 10, 2012 at 4:53 pm #4310Yes, the layout would only work when inside the admin area. I can replicate this and do see it shows only for administrators.
Try this to disable the layout options and other user profile additions on the bbPress Profile Edit page:
add_action( 'genesis_before', 'bbpress_remove_user_admin_settings' );
function bbpress_remove_user_admin_settings() {
if ( bbp_is_single_user_edit() ) {
remove_action( 'show_user_profile', 'genesis_user_options_fields' );
remove_action( 'show_user_profile', 'genesis_user_layout_fields' );
remove_action( 'show_user_profile', 'genesis_user_seo_fields' );
remove_action( 'show_user_profile', 'genesis_user_archive_fields' );
}
}
Jennifer “Hermione” Baumann | Recommended StudioPress Developer
Dream Whisper Designs | Themessence | @dreamwhisper | If I’ve helped, like me on FacebookDecember 10, 2012 at 5:24 pm #4312Hi Jen,
That’s perfect! I had already figured out how to disable the extra settings but it was site-wide, not what I really wanted. I was trying to figure out how to disable them on the bbPress profile page only.
Thanks a million. You saved me a whole bunch of time.

Blog | Twitter | GitHub | Google Code
December 10, 2012 at 5:26 pm #4313You’re welcome!
Edit: Jared will likely address this in the next version of http://wordpress.org/extend/plugins/bbpress-genesis-extend/
Jennifer “Hermione” Baumann | Recommended StudioPress Developer
Dream Whisper Designs | Themessence | @dreamwhisper | If I’ve helped, like me on Facebook -
AuthorPosts
The topic ‘Genesis and bbPress’ is closed to new replies.
