Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] BuddyPress and Sports Mag Theme

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

    @mercime

    @wizza
    - URL of theme demo as there’s more than one sports magazine theme
    - Do post the codes for the header.php, footer.php and index.php files as well

    Avatar of Wizza
    Wizza
    Participant

    @wizza

    My apologies:

    Header and Footer are included in above post.

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

    Demo: http://magazine3.com/sportsmag/demo/

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    @wizza Based on the structure of your theme, you need to change 16 template files within the 6 BP folders transferred to your sportsmag theme folder in server during the compatibility process.

    If you’ve previously changed any of the BP template files in your theme folder in server, replace all of them for a clean slate by deleting the 6 BP folders – /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
    `

    `

    Then, in each of 16 files, you’d like to make sure that the BP Templates’ page title’s header which have`

    .// title

    ` are changed to `

    // Titles Of Respective BP Page Templates //

    ` and move to just above `

    ` Watch out when you do this in the /activity/index.php page.

    Save files.

    Avatar of @mercime
    @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/sportsmag/

    D. Copy the style modifications made in BP Twenty Ten at http://codex.buddypress.org/theme-development/theme-dev-bp-template-pack-walkthrough-twenty-ten-bp-1-5/3/ and paste to your theme’s stylesheet. Adjust to taste.

    Avatar of Wizza
    Wizza
    Participant

    @wizza

    It has worked.. wish it could be full width but it’ll do.

    Thank you

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    @wizza to make it full width, you just have to change the lower bottom of the files to
    `

    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();
    });
    });

    `
    for the registration page and remove the ` … ` for all other templates.

    If that doesn’t work, add another `` just before “

    Avatar of Wizza
    Wizza
    Participant

    @wizza

    I can’t work out what to do with the stylesheet. I’ve added the extra bits to style.css in sports mag theme and twenty ten theme and its still the same and messy…

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    It works for all we’ve helped out with template pack, some with minor tweaks. Need to see. Site URL? Or just need to clear cache.

    Avatar of Wizza
    Wizza
    Participant

    @wizza

    Warning: NSFW
    http://www.lad-mag.com

    Edit – you have to add NotSafeForWork warning for your site or else people can get into trouble at work!
    Mercime

    Avatar of Wizza
    Wizza
    Participant

    @wizza

    Sorry, I didn’t realize. Apologies.

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    I don’t see the style mods from Twenty Ten in your stylesheet http://lad-mag.com/wp-content/themes/sportsmag-single-pro/style.css

    Also, do change code in Members directory to that with sidebar so I can correct code for full-width as needed.

    Avatar of Wizza
    Wizza
    Participant

    @wizza

    As you can see, the style is wrong. When you enter your details upon registration you can’t see all of your writing. Also, it won’t go full width it has just removed the sidebar.

    Avatar of Wizza
    Wizza
    Participant

    @wizza

    Sorry, if you look again it’s now in there and still not working.

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    Post the full-width template code in pastebin.com so I can double-check code

    Avatar of Wizza
    Wizza
    Participant

    @wizza

    http://pastebin.com/nCDC3fxc is full page.

    Any idea about the style?

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

You must be logged in to reply to this topic.