Nevermind, I found the answer on the support for the theme-
Try editing the plugin code and replacing get_header(); with get_header(‘buddypress’); as well as get_footer(); with get_footer(‘buddypress’); where ever it is found in the plugin files. This should force the necessary CSS attributes on the plugin code.
Hi Aaron,
Where is the get_header(); code located in the plugin files? I need to fix this same issue.
Thanks,
Aaron
@fanquake
Please verify this defect and add a fix to the upcoming release.
^F^
It’s true @foxly, you have to have ‘buddypress’ if you want the bp CSS loaded
I’ve never experienced this defect? @aaronp5 what versions of bp-album, buddypress and wordpress are you running
The same here.
WP 3.4.1
BuddyPress 1.6
BP Album – 0.1.8.11
Frisco Theme
Going to try to add ‘buddypress’ at get_header() and get_footer() as @aaronp5 suggested.
I’ve added ‘buddypress’ inside the brackets of get_header() and get_footer() and didn’t fix it.
Tried to switch to default theme and it looks ok, there isn’t any change on the layout when viewing album tabs.
I got it fixed !!
The whole issue and fix is described here, David Carson, Frisco Theme developer provides the fix for it.
http://wordpress.org/support/topic/theme-frisco-for-buddypress-frisco-themes-plugin-support
BP Album team have work to do.
@miguelcortereal
The BP-Album / BP-Media team are investigating.
If BuddyPress has changed the structure of their templates in 1.6, we will modify the structure of our templates to follow their design pattern.
However, if the problem is being caused by Frisco Theme using a different layout structure and not providing BP-Album with the necessary theme files, then the theme’s developer has to fix it on their end.
It’s a bit worrying that the theme developer is telling people to directly edit BP-Album’s internal files, as these will be overwritten on every upgrade. The correct way to override BP-Album’s default theme is to create an /album/ subdirectory inside your theme’s main directory, copy the files from BP-Album’s /templates/ folder into this directory, and then edit the copied files.
This is documented in the readme.txt file inside BP-Album’s templates folder.
^F^
FYI:
The problem is within the /wp-content/plugins/bp-albums/includes/templates/album/single.php file.
At beginning of file locate: get_header()
Replace with: get_header(‘buddypress’)
At end of file locate: get_footer()
Replace with: get_footer(‘buddypress’)
This fixed all formatting issues with the Album. Hopefully the next version update will address this.
I also had to make this modification to /wp-content/plugins/bp-albums/includes/templates/album/pictures.php