WordPress.org

Support

Support » Plugins and Hacks » Achievements for WordPress » [Plugin: Achievements for BuddyPress] Can't format page layout

[Plugin: Achievements for BuddyPress] Can't format page layout

Viewing 15 replies - 1 through 15 (of 15 total)
  • Moderator Ipstenu (Mika Epstein)

    @ipstenu

    I copied the plugins/achievements/includes/templates/achievments folder to themes/mytheme/achievements and edited index.php, changing

    <?php get_sidebar(); ?>
    to
    <?php locate_template( array( 'sidebar.php' ), true ) ?>

    and that seems to look better. Did the same on the create.php file

    Plugin Author Paul Gibbs

    @djpaul

    Hi ipstenu
    Thanks for the report. I can’t understand why swapping those calls would fix the issue; that locate_template() does the same sort of thing that get_sidebar() does. If it fixes it, perhaps there’s some obscure bug regarding certain child themes.

    I will have a play this week and see if I can figure out how to break it; then I can fix it.

    Moderator Ipstenu (Mika Epstein)

    @ipstenu

    I’m using the Hybrid News child theme (of Hybrid).

    Plugin Author Paul Gibbs

    @djpaul

    Still not sure. I’m beginning to suspect the out of date version of the BP Template Pack is to blame (our fault).

    Moderator Ipstenu (Mika Epstein)

    @ipstenu

    It works so well though 😉

    I know this post is a little old but I’m having a similar issue with Achievements and the Suffusion theme. Achievements is dumping the sidebars under the content. I’m a little CSS retarded– any ideas? Is this an Achievements issue or a theme issue?

    Sidebars where I expect them
    http://cctw.co/members/ironicbond/

    Sidebars dropped for Achievements
    http://cctw.co/achievements/
    http://cctw.co/achievements/update-your-activity-stream/
    http://cctw.co/members/ironicbond/achievements/

    I think it is to do with BP Template Pack being out of date. Did swapping the get_sidebar() calls as per Ipstenu’s post work?

    I tried swapping the line of code in place, then afterward I moved the achievements theme folder into the suffusion theme folder and then after that to my child theme– none of those courses of action corrected it. Was there perhaps something else I was supposed to do as well? Something makes me think I did it wrong. 😛

    In any event, no luck.

    Put the achievements theme folder in your CHILD theme, definitely!

    I just upgraded to the newest achievements, applied the same fix, and it works fine.

    Thanks for sharing a possible fix, @ipstenu 🙂

    FWIW, on a totally different site using a BuddyPressed theme, it works without my ‘fix’, so yeah, this is likely a combo of theme + BP Template Pack.

    🙁 I’m having the hardest time. Partly because i haven’t understood some of the instructions i’m finding on dealing with this problem.

    I’m using the Mingle theme /Buddypress and most plugins work thoroughly but their are 3 that seem to ditch the template when you click on the respective tab within member profiles.

    They were golden in the default BP template.

    I’ve tried the fix instructed by Ipstenu, but see no change whatsoever.
    The Achievements, Albums, and Link Sharing plugins still show all the content down the side of the page un-styled with no header, sidebar etc.

    Help, pleeeease it’s driving me mad!
    -grace

    Plugin Author Paul Gibbs

    @djpaul

    One of the hardest problems we’ve to solve in BuddyPress compatibility with themes, is to engineer BuddyPress to work on as many themes as possible. Currently, it’s tricky as you’ve found out — you need to edit the template files provided inside plugins to match your theme. Now, I’m not sure what the Mingle theme for BuddyPress? looks like. Can you share a link where you got it from?

    Hi Paul thank you,

    Here is the link to the Mingle theme from Themeforest.
    Was realizing last night that really what is missing is the CSS – all the content is there – navigation, sidebar but in raw text.

    http://themeforest.net/item/mingle-multipurpose-wordpress-theme/235056

    :/ Still beyond frustrated.
    Moving files, attempting to switch locating sidebars, still the achievement pages look like crap and are not finding the appropriate theme layouts.

    Will simply do without this plugin. Shame.
    Let me know when hooks to theme layouts are less labor intensive.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘[Plugin: Achievements for BuddyPress] Can't format page layout’ is closed to new replies.
Skip to toolbar