Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Can’t Align Theme’s PHP to Work for BP – Wikeasi Theme


  • Scott G.
    Participant

    @sgodar

    Pretty simple, straight forward question…

    I already tried to get help from the woothemes support forum – there response was “get help from buddy press.” I’m using Wikeasi theme and I want to integrate Buddy Press, but I can’t for the life of me figure out HOW-TO ALIGN/EDIT my themes page.php to integrate BP seamlessly.

    I’m not the best with PHP (obviously) or I’d be able to figure it out. “Pay attention to your theme’s DIV tags.”

    Someone please lend a helping hand… Once I SEE how one page should be edited/formatted, I should be good to go, but I can’t figure out there my theme’s php should begin/end/begin to fit in the Buddy Press codex.

    My page.php can be downloaded here on an old domain: http://test.madadmedia.com/bp/

    Any help would be greatly appreciated!

    Thanks,

    Scott G.

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

  • @mercime
    Participant

    @mercime

    == there response was “get help from buddypress.” ==
    what service, ouch.

    @sgodar I need more information. Open up Wikeasi theme’s header.php file, copy code, paste code in pastebin.com, click submit and post the generated pastebin.com URI here. Do the same for Wikeasi’s footer.php, sidebar.php, index.php and page.php


    Scott G.
    Participant

    @sgodar

    Woothemes.com Support Forum & it’s not like the themes are ten bucks… They’ve actually been really crappy.

    +++ Thanks for the super quick response! Got everything in Pastebin:

    Index.php
    http://pastebin.com/Lx7qC6ir

    Page.php
    http://pastebin.com/FL95y5WS

    Header.php
    http://pastebin.com/uhXCCj7z

    Sidebar.php
    http://pastebin.com/VCJAHnyD

    Footer.php
    http://pastebin.com/zBbwU8T3


    @mercime
    Participant

    @mercime

    Based on the HTML structure of your theme, you’d need to use the first option, i.e., change 16 template files within the 6 BP folders transferred to your Wikiasi 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
    `<?php
    get_header();
    global $woo_options;
    ?>

    <?php
    get_template_part( ‘includes/advanced-search-form’ );
    get_template_part( ‘includes/filter-bar’ );
    ?>

    <!–
    google_ad_client = “ca-pub-0044915326038182”;
    /* Leader board 728 x 90 */
    google_ad_slot = “6866417018”;
    google_ad_width = 728;
    google_ad_height = 90;
    //–>

    <article >

    `

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

    ` or `

    ..

    ` to `

    the Respecitve BP page Titles

    ` and move it above `

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

    Save files.


    @mercime
    Participant

    @mercime

    Note: `</script`& grt; above should be “

    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/wikiasi/

    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 then adjust as needed.


    Scott G.
    Participant

    @sgodar

    @mercime

    The code looks GREAT! I would have NEVER figured this out alone! I do have a problem however… Is there a way to completely UNINSTALL and REINSTALL all components of BuddyPress and BuddyPress Template Pack?!

    I keep getting a 404 Page Not Found Error for EVERY BuddyPress link I click on at the top main menu… I for the life of me cannot figure out what I’m doing wrong!!


    Scott G.
    Participant

    @sgodar

    “””
    The following active BuddyPress Components do not have associated WordPress Pages: Activity Streams, Discussion Forums, User Groups, Members, Activate, Register. Repair
    “”””


    @mercime
    Participant

    @mercime

    == Is there a way to completely UNINSTALL and REINSTALL all components of BuddyPress and BuddyPress Template Pack?! ==

    To uninstall template pack, you can delete the BP template folders in your theme’s folder, then deactivate template pack plugin.

    To uninstall BuddyPress – https://codex.buddypress.org/buddypress-site-administration/deleting-buddypress/

    == I keep getting a 404 Page Not Found Error for EVERY BuddyPress link I click on at the top main menu ==

    Mod_rewrite must be enabled in your server for “pretty permalinks” required by BuddyPress. Go to Settings > Permalinks and set it to something other than default.

    == The following active BuddyPress Components do not have associated WordPress Pages: Activity Streams, Discussion Forums, User Groups, Members, Activate, Register. Repair ==

    Go to dashboard menu BuddyPress > Pages. You need to associate BP components with Pages. https://codex.buddypress.org/getting-started/configure-buddypress-components/#bp-pages

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] Can’t Align Theme’s PHP to Work for BP – Wikeasi Theme’ is closed to new replies.
Skip to toolbar