Skip to:
Content
Pages
Categories
Search
Top
Bottom

Album page doesn’t have same styling as other buddypress tabs

  • Hello,
    When a user clicks on “album” tab under their buddypress profile a lot of the styling is lost and the tabs all run together. This only happens on the album tab. All the other tabs look find and correlate with the the theme as they should. Any ideas why it would loose the formatting? Thanks!

Viewing 11 replies - 1 through 11 (of 11 total)
  • 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.

    Avatar of Hawaii Artist Network
    Hawaii Artist Network
    Member

    @hawaii-artist-network

    Hi Aaron,

    Where is the get_header(); code located in the plugin files? I need to fix this same issue.

    Thanks,
    Aaron

    Avatar of foxly
    foxly
    Participant

    @foxly

    @fanquake

    Please verify this defect and add a fix to the upcoming release.

    ^F^

    Avatar of @modemlooper
    @modemlooper
    Moderator

    @modemlooper

    It’s true @foxly, you have to have ‘buddypress’ if you want the bp CSS loaded

    Avatar of Michael
    Michael
    Participant

    @fanquake

    I’ve never experienced this defect? @aaronp5 what versions of bp-album, buddypress and wordpress are you running

    Avatar of miguelcortereal
    miguelcortereal
    Participant

    @miguelcortereal

    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.

    Avatar of miguelcortereal
    miguelcortereal
    Participant

    @miguelcortereal

    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.

    Avatar of miguelcortereal
    miguelcortereal
    Participant

    @miguelcortereal

    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.

    Avatar of foxly
    foxly
    Participant

    @foxly

    @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^

    Avatar of lantafly
    lantafly
    Participant

    @lantafly

    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.

    Avatar of xposurepro
    mckown
    Participant

    @mckown

    I also had to make this modification to /wp-content/plugins/bp-albums/includes/templates/album/pictures.php

Viewing 11 replies - 1 through 11 (of 11 total)

You must be logged in to reply to this topic.