Skip to:
Content
Pages
Categories
Search
Top
Bottom

Theme Compatibility – Sidebar under content – The Secret World theme

  • @blinkybill01

    Participant

    After Googling the issue of sidebars being under the content when using the BP Theme Compatibilty, the pages I found were outdated for the most recent BuddyPress.

    I’ve applied the BP Theme Compatibility plugin and done the necessary steps, except for changing the layout. I’m stumped.

    The plugin’s instruction page asks the user to do this:

    “If BuddyPress pages are not aligned correctly, then you may need to modify some of the templates to match your theme’s HTML structure. The best way to do this is to access your theme’s files, via FTP, at:

    /home/site/public_html/wp-content/themes/secrets/

    Open up the page.php file (if this does not exist, use index.php). Make note of the HTML template structure of the file, specifically the

    tags that surround the content and sidebar.

    You will need to change the HTML structure in the BuddyPress templates that you copied into your theme to match the structure in your page.php or index.php file.”

    Well, I’ve opened my page.php and have no idea what to do on the pages like activity/index.php/

    This is the contents of my page.php:

    `EDIT – hello there. please post page template codes at pastebin.com. the code for the file posted here is already included in theme zip file provided by OP. — mercime`

    Is this method outdated? Being that my index.php page shows this:

    `

    `

    insead of this:

    `

    `

    I’ve been trying to figure out this for hours. Can’t wrap my brain around it. :/

    Any help would be appreciated. Thanks!

Viewing 11 replies - 1 through 11 (of 11 total)
  • @karmatosed

    Moderator

    It’s a little hard to follow but my suggestion would be to follow the template pack instructions and not dip into two tutorials which unless I’m mistaken you are a little. The guide to the template pack also is just a guide there are so many ways of doing it theme wise that your theme may be structured differently.

    If you are still having issues a good help may be to let us know what theme are you using and maybe a link so we can see the issue (if that is possible) for ourselves?

    You should be fine with the last method as you say if that appears in your index.php. I do have one question on that though – did that appear after you did steps in template pack? If it was always there perhaps your theme is designed for BuddyPress anyway and won’t need the template pack? You only need it if your theme doesn’t support BuddyPress.

    @blinkybill01

    Participant

    @karmatosed, the issue is that, for me at least, the template pack instructions are too vague. It basically says that if you have issues with alignment, to look at your themes page.php and your activity/index.php (and all other buddypress created indexes) and figure it out.

    The template pack instructions give you a second option: copy and rename your themes header.php, footer.php, and sidebar.php to header-buddypress.php, footer-buddypress.php, and sidebar-buddypress.php.

    Well, then what? There are no files in buddypress to replace a header-buddypress.php. The instructions just end and don’t give the average user any idea of what needs to be replaced and where. Granted, every theme is different, but they don’t even give you a general idea. Just a vague description of a solution.

    The theme I’m using, and it’s subject to change, is called “The Secret World” and is located here. http://l3cdn.funcom.com/tsw/download/wordpress-template.zip

    I tried editing what I thought the template pack asked to do wut it didn’t work. I tried other methods posted that worked for others. None worked. I’m not sure where to go.

    A link to a live-test site I’m tinkering with is http://forcedreality.net/members

    Thanks for looking into it.

    @blinkybill01

    Participant

    Has anyone been able to give this a look?

    @mercime

    Participant

    @blinkybill01 99% of the time, it’s different instructions for different themes because of the variety of HTML structures/template tags..

    == The theme I’m using, and it’s subject to change, is called “The Secret World” ==

    Are you going to change your theme or shall we proceed with the compatibility process?

    @blinkybill01

    Participant

    @mercime, I plan on using this theme for at least a year. I tend to switch themes every 10-12 months.

    It would be more than appreciated if you could guide me. Thanks! :)

    @mercime

    Participant

    @blinkybill01 there’s a get_sidebar call in index.php and none in page.php, Did you want a/another sidebar in your BP template pages? Better yet, could you create a new Page called Test and link it here so I can see what’s up with your theme’s pages?

    @blinkybill01

    Participant

    @mercime, I found something interesting…

    So I created a page called “test”. While I was creating the page, I noticed in the Page Attributes that there are three options: Default Template, BuddyPress – Activity Directory, and Sidebar Template.

    When I saved as Activity Directory, the page showed up like my members page with the sidebar under the content. When I saved as Sidebar Template, the sidebar showed up correctly like it does on the homepage. When I tried to save as Default Template, I got a 406 error.

    Is my thinking wrong that when BuddyPress created the members pages, it saved them as Default Template as it had no way of knowing that there were options for the page saves?

    The even more strange part is when I go into the BuddyPress created Members Page, I can save as Sidebar Template and BuddyPress – Activity Directory, but no matter what it’s saved at, it doesn’t change. The looks of the design stays the same. (Also, I think that the “default template” is just the Activity Directory template.)

    So, I have no clue on what to do. I can’t seem to save/change the Page Attributes of the BuddyPress created pages.

    Also, I’ve noticed that with the most recent WordPress update, I’ve been getting more and more 406 errors. Is this something I should contact my hosting company about?

    Thanks.

    Links for reference:
    http://forcedreality.net/test/ – page saved as Sidebar Template
    http://forcedreality.net/test2/ – page saved as BuddyPress – Activity Directory
    http://forcedreality.net/members/ – BuddyPress created page, maunally edited to save as Sidebar Template, which isn’t working.

    @mercime

    Participant

    == I can’t seem to save/change the Page Attributes of the BuddyPress created pages. ==

    It’s because you can’t do that at this time @blinkybill01.
    BP pages are using the BP template files transferred during the compatibility process, the very same files we’re going to revise here.

    == Also, I’ve noticed that with the most recent WordPress update, I’ve been getting more and more 406 errors. Is this something I should contact my hosting company about? ==

    Haven’t encountered those errors yet. Yes, you should contact your webhost since 406 errors are usually related to suhosin security extension or Apache mod_security and the like.

    @mercime

    Participant

    code updated and posted at http://wp.me/p1I84P-3F

    @blinkybill01

    Participant

    @mercime

    I deleted the 6 folders, as I edited some files previously, then went into Appearance>BP Compatibility. I didn’t see an option to re-run it. There was an option to reset it so I clicked it but it brought me back to step 3 and the folders were not recreated.

    Should I uninstall the plugin then reinstall it?

    @mercime

    Participant

    == I didn’t see an option to re-run it. ==

    If you’ve deleted the six BP folders from thesecretworld theme folder in wp-content/themes/thesecretworld/ , when you go to Appearance > BP Compatibility, you should see “Making Your Theme BuddyPress Compatible” page (Step One) where the button “Move Template Files” could be clicked on to re-run the process.

    If it isn’t happening for you, download copy of bp-default theme to your hard drive then open up the six BP folders mentioned above and make the revisions posted. After you’ve done with all revisions, manually upload via (s)FTP/FileManager/etc. the six folders from the bp-default theme as listed above. Make sure BP Template Pack is activated,

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Theme Compatibility – Sidebar under content – The Secret World theme’ is closed to new replies.
Skip to toolbar