WordPress.org

Ready to get started?Download WordPress

Forums

Achievements for WordPress
[Plugin: Achievements for BuddyPress] Can't format page layout (16 posts)

  1. This is a visual: http://jorjafox.net/achievements/

    It doesn't honor the rest of the site, which is perfectly happy to run BuddyPress with my funky layout. The sidebar is crazypants, and nothing formatted right.

    If you look at http://jorjafox.net/activity/ everything is how I want it. How can I format the achievement page layout?

    http://wordpress.org/extend/plugins/achievements/

  2. 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

  3. Paul Gibbs
    BuddyPress Lead Developer
    Plugin Author

    Posted 3 years ago #

    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.

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

  5. Paul Gibbs
    BuddyPress Lead Developer
    Plugin Author

    Posted 3 years ago #

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

  6. It works so well though ;)

  7. balebond
    Member
    Posted 3 years ago #

    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/

  8. pgibbs
    Member
    Posted 3 years ago #

    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?

  9. balebond
    Member
    Posted 3 years ago #

    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. :P

    In any event, no luck.

  10. 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.

  11. pgibbs
    Member
    Posted 3 years ago #

    Thanks for sharing a possible fix, @Ipstenu :)

  12. 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.

  13. bitofgrace
    Member
    Posted 2 years ago #

    :( 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

  14. Paul Gibbs
    BuddyPress Lead Developer
    Plugin Author

    Posted 2 years ago #

    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?

  15. bitofgrace
    Member
    Posted 2 years ago #

    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

  16. bitofgrace
    Member
    Posted 2 years ago #

    :/ 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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic