Skip to:
Content
Pages
Categories
Search
Top
Bottom

Footer is in left column on BuddyPress pages – Atahualpa Theme

  • Avatar of IndieConnect
    IndieConnect
    Member

    @indieconnect

    Greetings! I just installed BuddyPress and need to do some fine tuning. Right now, only on the BuddyPress pages, the footer gets crammed into the left sidebar column.

Viewing 21 replies - 1 through 21 (of 21 total)
  • Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    @indieconnect please clarify. Are you trying to make your WP theme compatible with BP via BP Template pack plugin? What theme are you using?

    Avatar of IndieConnect
    IndieConnect
    Member

    @indieconnect

    Sorry- that must drive you guys crazy…:)

    My site is indieconnect.com. It is running WP 3.3.1, Atahualpa Theme 3.7.3, and Buddy Press 1.5.5. I just got BuddyPress installed and went through the BP Template pack. (I modified the files listed in Step 3 by swapping out the “get header” code – this was recommended by the Theme’s support forum.) At this point, the left sidebar was on the left where it should be but it also showed up below the middle column on buddypress pages. I found a post here that suggested putting up a blank page (sidebar-buddypress.php) in the theme directory and that fixed the repeating sidebar. The footer on buddypress pages is showing up in the left column. The right column is missing.
    There is code hanging out on the page. It is from something else. I hope this gives you the info you need to help.

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    @indieconnect This is to confirm that to make your theme compatible with BuddyPress, you only need to create two new files. Those files are header-buddypress.php and sidebar-buddypress.php. You do not need a footer-buddypress.php file

    If you’ve revised any of the BP template files transferred to your Atahualpa theme folder during the BP Compatibility process, please delete the 6 BP folders transferred to your Atahualpa theme folder in server – activity, blogs, forums, members, groups, register – then re-run Appearance > BP Compatibility again to make sure that you have clean template files.

    A. Copy theme’s header.php and Save As > header-buddypress.php

    UPDATED INFORMATION BELOW

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    B. Create a blank sidebar-buddypress.php and in it add:

    C. Upload header-buddypress.php and sidebar-buddypress.php to your theme folder in server wp-content/themes/atahualpa/ in the same directory where your regular header.php and sidebar.php are.

    Final note: Check out the style modifications to contain some BP elements. Copy these and paste into your theme’s stylesheet and adjust as needed. http://codex.buddypress.org/theme-development/theme-dev-bp-template-pack-walkthrough-twenty-ten-bp-1-5/3/

    UPDATED INFORMATION BELOW

    Avatar of IndieConnect
    IndieConnect
    Member

    @indieconnect

    I fear I have buggered it up good. I get a 500 Internal Server Error or 404 Not Found when trying to get Buddy Press pages.

    I have tried to deactivate and delete buddypress and the template pack and then re-install, but it is the same.

    Any thoughts?

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    == I get a 500 Internal Server Error or 404 Not Found when trying to get Buddy Press pages. ==

    When did this happen? After you uploaded header-buddypress.php and sidebar-buddypress.php ? Or after activating a new plugin?

    Have tried running Settings > Permalinks again to other than default, and click Save?

    Avatar of IndieConnect
    IndieConnect
    Member

    @indieconnect

    Sad, sad, sad. I can’t get to see anything anymore. All I get is the toolbar with the links up top, but they do not work. I do not seem to get the 500 Internal Server Error anymore, but I get the 404 Not Found.

    I have repeatedly cleaned everything up and out (through the installer and looking at the directories) and tried again. I fear I have ruts now in my plugin installer.

    So if I start from the beginning, I’m gonna install BuddyPress and the BP Template Pack and activate them. Does it matter what order I activate them? Also, even though I have cleaned stuff up, when I install anew, I see remnants of previous work – the Pages are already listed in the BuddyPress Pages tab.

    I am gonna clean it all up again and wait nicely for your direction.

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    - Install BuddyPress and test it in your server using the bp-default theme.
    – If everything’s working well, change to the Atahualpa theme or another WP theme,
    – Install and activate the BP Template Pack plugin then go through the Appearance > BP Compatibility process to transfer the BP template folders to Atahualpa theme folder in server.
    – Upload the header-buddypress.php and sidebar-buddypress.php file to your theme folder

    Just a thought, you didn’t delete your theme’s header.php right? You shouldn’t

    Avatar of IndieConnect
    IndieConnect
    Member

    @indieconnect

    I installed BuddyPress and changed the theme to the bp-default. How do I know if everything is working? I get the toolbar up top, but the links go to 404 Not Found. Except for Groups – that goes to a page with Group Directory and link to Create a Group that works. If I go to Profile>>Public it brings up my page indieconnect.com/publicity.
    When I click on Forums I get multiple errors.

    [Errors acknowledged and deleted - too long in our forum page]

    So is this working for something that has not gone through the BP Compatibility stuff?

    Avatar of etienne-r
    etienne-r
    Participant

    @etienne-r-2

    I used to work with the Atahualpa theme. I have been unable to use it with BuddyPress then moved to a home made child theme of the bd-default. I’d be glad to see there is a way to do this as Atahualpa is definitly a very achieved tool for wp users.

    Avatar of IndieConnect
    IndieConnect
    Member

    @indieconnect

    Mercime-
    I edited the two files (header.php ->header-buddypress.php and sidebar-buddypress.php) and put them in the atahualpa directory where header.php lives. It still looks the same.

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    @indieconnect @etienne-r-2 I installed Atahualpa. Changing instructions. I had to hardcode for fixed 3 column layout, delete extraneous code, add styles via theme options page and move wp_footer to where it’s supposed to be (before closing body tag), etc.

    Create BLANK header-buddypress.php, sidebar-buddypress.php and footer-buddypress.php files

    1) header-buddypress.php – copy all from http://pastebin.com/jv4EdjnK and save

    2) sidebar-buddypress.php – leave blank

    3) footer-buddypress.php – copy all from http://pastebin.com/DksDP4Mc and save

    Upload 3 files to theme folder in server

    Then go to your dashboard Appearance > Atahualpa Theme Options > Add HTML/CSS Inserts – CSS Inserts section

    4) Add the following styles under h1 to h6 default styles in the box – http://pastebin.com/thcGExQg

    You have to tweak your styles a little more. Use Firebug, a Firefox add-on to identify what you need to tweak and add them in the CSS inserts section of your theme options page.

    Avatar of IndieConnect
    IndieConnect
    Member

    @indieconnect

    Thank you for going the extra mile to feel my pain. Me and etienne-r greatly appreciate it. The floundering discussions in the Atahualpa forums really show that people want to be able to make the two work together, but just can’t quite get there.

    Yesterday I was cruising the forum looking for the secret knowledge and I found a post about Buddypresss ‘remembering’ settings from previous installs. Mine does this. Do I need to go through that? will it matter? and should it be done before this new and exciting list?

    Avatar of Hugo
    Hugo
    Moderator

    @hnla

    > Atahualpa is definitly a very achieved tool for wp users.
    > make the two work together, but just can’t quite get there.

    Sorry to interject in a rather irritating fashion but I’ve run across this theme before and to be brutally honest you should not waste the time trying to make it compatible with anything it’s a table based layout and as such utterly outmoded and redundant and like a red rag to any long suffering Standards based coders :)

    As for remembering settings you only need to trawl through the options table and others if you are actually wanting a completely clean install of BP and this is seldom really required.

    Avatar of IndieConnect
    IndieConnect
    Member

    @indieconnect

    Hee Hee! So Hugo how do you really feel? Sorry to stomp on a nerve! Thanks for getting back so fast.
    I’ll give Mercime’s instructions a try and put looking at themes on my to-do list.

    Avatar of Hugo
    Hugo
    Moderator

    @hnla

    I know I always mince my words, should really learn to say it how it is :)

    Table layouts are unsustainable, fragile, break all notion of separation of content from style, throw one of the main virtues of CSS-P out with the trash, on many a forum dealing in Standards based frontend coding you’ll find many that will simply not help with table layouts, 10 years down the road and we really should have seen the back of them.

    I’m sure Mercim’s changes will be effective, but lets hope we don’t see too many BP themes popping up using it :) – sorry Mercim not meaning to insult your efforts :p

    In fact Mercime you a have helped with so many third party theme conversions to BP that you must have a good working list of themes now? for a codex list ?

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    @indieconnect Good luck.

    @hnla I know, I know, Atahualpa’s tables and all. But it’s a valid request for a popular theme plus it’s much much much better than the Artisteer” themes which I have declined to “template-pack-it” even if table-less. Having said that, all customization requests for BP-Atahualpa layout should be sent to theme author :-)

    == you must have a good working list of themes now? for a codex list ? ==
    Done it, I did :-) I’d already started compiling and adding to the list of all template-packed themes (45+) assisted in forums and 3 posted in Codex. My last update includes Atahualpa.http://codex.buddypress.org/theme-development/wordpress-to-buddypress-theme/#template-packed-wordpress-themes

    Avatar of Hugo
    Hugo
    Moderator

    @hnla

    Commendable! all but adding atahowlerhooper to the list that is :)

    Guess I should have seen that list. My only worry with the list and all that work you’ve put in is that it rests on the forum links and posts themselves remaining true, be nice if there were some easy means of bundling stuff into a template zip or some such ‘thing’.

    Right I’ll sidetrack post no more now I’ve vented my fury at atahowlerhooper

    Avatar of IndieConnect
    IndieConnect
    Member

    @indieconnect

    Well- I built the files, and uploaded them. I added the stuff to the CSS inserts. but I still see only toolbar. I have not addressed the tweaking yet, but shouldn’t I be seeing something to tweak?

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    @indieconnect the layout is working in my clean installation of atahualpa without using any configuration in theme options except for the CSS addition because adding style modifications in theme stylesheet does not change anything.

    Did you copy everything I posted in pastebin.com and not just added the few at the bottom of header-buddypress.php or footer-buddypress.php for example? I ask because I’m seeing that your page source code has not changed to how it should be had you used the code I gave you. Know that these two files only affect the BP template pages and not your regular WP pages.

    Avatar of IndieConnect
    IndieConnect
    Member

    @indieconnect

    Sorry to have fallen off the earth for a couple of days. I had a talk with my beloved hosting guy. I copied him Hugo’s comments and asked him if this could be the cause of other challenges we have been having with the site (not related to BuddyPress). He said Hugo was spot on. (Its ok Hugo, you can dance now…)

    If the horse is dead, dismount. I took it to the boss. I am researching new themes. Thank you for the guidance to make our website the best it can be. And thank you Mercime for not giving up until all rock were turned.

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

You must be logged in to reply to this topic.