Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Problem with theming, not creating same results.


  • kristopherlouie
    Member

    @kristopherlouie

    I apologize in advance if my search abilities have failed and this thread has indeed been already made.

    So before anything…

    1. Which version of WordPress are you running? 3.3.2
    2. Did you install WordPress as a directory or subdomain install? Directory
    3. If a directory install, is it in root or in a subdirectory? subdirectory
    4. Did you upgrade from a previous version of WordPress? If so, from which version? 3.3.1
    5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting. Yes
    6. Which version of BP are you running? 1.5.5
    7. Did you upgraded from a previous version of BP? If so, from which version? N/A
    8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones? Simple Local Avatar, bbPress, BuddyPress Template Pack
    9. Are you using the standard BuddyPress themes or customized themes? Customized
    10. Have you modified the core files in any way? No
    11. Do you have any custom functions in bp-custom.php? No
    12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in? Installed bbPress via buddypress
    13. Please provide a list of any errors in your server’s log files. N/A
    14. Which company provides your hosting? thiswebhost.com

    I am in the process of integrating buddypress into my current theme which was built off the toolbox framework/theme. For the most part, everything is coming along swimmingly with the exception of a few minor bugs.

    Here’s the website: http://bigassmonsters.com/wp/

    Here’s the pastebin for the Activity index.php: http://pastebin.com/Mti5WHeU

    What’s happening is a discrepancy on some of the activity pages, and I imagine the other buddypress-related pages too I just haven’t found them out yet. An example would be…

    http://bigassmonsters.com/wp/activity/

    vs

    http://bigassmonsters.com/wp/members/kristopher/activity/23

    The ending of the output isn’t being completely processed in the later, resulting in the footer to be stuck in the wrong div/container.

    For the life of me, I can’t seem to get it sorted out. What am I missing?

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

  • @mercime
    Keymaster

    @mercime

    Open up your custom theme’s header.php, copy all, paste all at pastebin.com, click submit, post the generated URI here. Do the same for your theme’s page.php, index.php, sidebar.php and footer.php. and we’ll take a look at it.


    kristopherlouie
    Member

    @kristopherlouie

    @mercime here you go…

    page.php http://pastebin.com/SMtEKWCJ
    header.php http://pastebin.com/7FPEKL2D
    index.php http://pastebin.com/P0vx5cta
    footer.php http://pastebin.com/suyUEvDf
    sidebar.php http://pastebin.com/8Pg4zcc9

    Thanks for checking this out


    @mercime
    Keymaster

    @mercime

    @kristopherlouie before I do anything, you have a closing “ at the beginning and ending of your footer.php file – not kosher. Please confirm if issue is corrected with the removal of “ at the top of the footer.php file.


    kristopherlouie
    Member

    @kristopherlouie

    Ah, thanks for that, quite embarrassed haha. It’s been edited but the problem still persists.


    @mercime
    Keymaster

    @mercime

    @kristopherlouie You’d need to use the first option, i.e., change 16 template files within the 6 BP folders transferred to your custom theme folder in server during the compatibility process.

    If you’ve previously changed any of the BP template files in your theme folder, replace all of them for a clean slate by deleting the 6 BP folders in server – /activity, /blogs, /forums, /groups, /members, and /registration – then re-run Appearance > BP Compatibility.

    Download the 6 clean BP folders to your computer hard drive.

    A. At the top of each of those 16 template files I linked to above, replace
    `

    `

    with
    `

    <article id="post-” >

    `

    Then, in each of 16 files, you’d like to change the BP Templates’ page title’s header tag from `

    ` or `

    ..

    ` to `

    // Titles Of Respective BP Page Templates //

    ` and move it above `

    `, just watch out when you do this in the /activity/index.php page.

    Save files.


    @mercime
    Keymaster

    @mercime

    B. At the bottom of the same 16 files, replace:
    `

    `

    with the following (except for registration/register.php):
    `

    `

    with the following for registration/register.php:
    `

    jQuery(document).ready( function() {
    if ( jQuery(‘div#blog-details’).length && !jQuery(‘div#blog-details’).hasClass(‘show’) )
    jQuery(‘div#blog-details’).toggle();
    jQuery( ‘input#signup_with_blog’ ).click( function() {
    jQuery(‘div#blog-details’).fadeOut().toggle();
    });
    });

    `

    Save files.

    C. Upload the 6 BP folders containing the 16 files you’ve just revised to your server wp-content/themes/yourcustomthemefolder/

    D. Check out the style modifications made in BP Twenty Ten for reference especially with removing the bullets and bringing in the extended width of the BP elements – https://codex.buddypress.org/theme-development/theme-dev-bp-template-pack-walkthrough-twenty-ten-bp-1-5/3/ – and copy these over to your theme’s stylesheet and adjust as needed.


    kristopherlouie
    Member

    @kristopherlouie

    Just finished going through this and the problem still persists, the page structure just has the sidebar in all of them it seems.

    The problem I am trying to address is this page: http://bigassmonsters.com/wp/members/kristopher/activity/23

    When we go into the exact “entry” the footer breaks, something is making it so that the ending of the PHP function won’t produce the closing ‘s


    @mercime
    Keymaster

    @mercime

    @kristopherlouie You didn’t implement the revisions I posted above since I don’t see the following in the source code at all
    `

    <article id="post-” >

    `
    and the corresponding closing divs/article with get_sidebar

    kristopherlouie
    Member

    @kristopherlouie

    I have implemented the revisions. For some reason -that- page is not using the source code.

    If you look at the other buddypress pages, they reflect the changes…

    http://bigassmonsters.com/wp/members/ and http://bigassmonsters.com/wp/activity/


    kristopherlouie
    Member

    @kristopherlouie

    So here’s what I discovered, poking through the members folder and trying to correlate the code from that page.

    There’s a file “permalinks.php” which is what that page reflects. Entered the missing bits of code and presto.

    Thank you for contributing @mercime

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Resolved] Problem with theming, not creating same results.’ is closed to new replies.
Skip to toolbar