Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

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

  • Wendy Cockcroft
    Member

    @wendy-cockcroft

    Thanks again, Hugo.

    Okay, I copied and pasted the code you gave me into the functions.php file and got the header errors again with and without
    `<?php
    if ( !function_exists( ‘bp_dtheme_enqueue_styles’ ) ) :
    function bp_dtheme_enqueue_styles() {}
    endif;
    ?>`

    Since this isn’t going to get resolved I’m going to junk BuddyPress and look for an alternative. It’s too difficult to work with. Sorry for wasting your time.


    Wendy Cockcroft
    Member

    @wendy-cockcroft

    Mercime, I’ve got the willingness to learn new skills but I need to receive clear instructions. To date, I’ve had instructions that have not worked when I put them into practice. It doesn’t help when I’m receiving them in terms that I don’t understand. If you want to lock out noobs, please say so and I’ll go elsewhere.

    I’m not asking for much. Again, all I want is to be able to insert a logo of my choice at the dimensions I specify without it repeating. I’d also like to make my child theme work as expected without either locking me out or preventing new registrations.

    To date, the instructions I’ve received here on the forum have not facilitated that. When I thought the problem was resolved I marked the thread resolved. A day or so later, I got header errors and couldn’t get into the site until you (correctly) told me that my child theme was the problem and I’d have to rename it. Which I’ve done. And I’m grateful to be able to get back in. Thank you.

    Now I need to know if it’s possible at all to make a BuddyPress child theme that works properly with a header image of my choice or am I stuck with the massive dimensions specified by the default theme?

    If so, please tell me, in terms I understand, how to do it.


    Wendy Cockcroft
    Member

    @wendy-cockcroft

    Thanks, Hugo, but this is what the problem is; I want to do a thing I never have a problem with anywhere except with BuddyPress and it’s a simple thing I want to do.

    Since I understood precisely ZERO amount of your post I can’t do anything with that information. This is the problem with BuddyPress: if you’re not a coder, you’re screwed.

    Is it not possible at all to give me instructions I can understand or provide me with code I can copy and paste into the appropriate files? The advice I took was from this website. I followed them to the letter. I copied and pasted the code. The website is a disaster.

    What I need is either clear instructions that I understand and can immediately implement or code that I can copy and paste. I also need to be told *where* the code needs to go and whether or not anything else needs to be in that particular file. I’m a noob. I know that. But I’m a noob that wants to learn and I can’t learn when I’m a) confused and b) frustrated.

    I have either received a) half of the instructions I needed to do this or b) the wrong instructions from the beginning.

    What I need is all the instructions, and they need to be correct, or I’ll have to look for another solution because BuddyPress is not the one for me or the website I’m working on.


    Wendy Cockcroft
    Member

    @wendy-cockcroft

    Thanks, Mercime. After that, what can I do to fix whatever is causing the problems? So far I’ve found BuddyPress to be a profoundly frustrating experience because the instructions for customizing the theme are too vague to follow correctly.

    All I want to do is add a header banner that doesn’t repeat and make sure the registration page works as intended. How can I do that? When I followed the instructions given me, I ended up with a mess.

    I’ve had to revert to the default for now. Is it really that hard to a) add a new header image at 401 x 80px and set it to *not* repeat?


    Wendy Cockcroft
    Member

    @wendy-cockcroft

    A little help, please? I followed all the instructions, now I can’t even log in!


    Wendy Cockcroft
    Member

    @wendy-cockcroft

    JOY!! All I had to do was add

    background-repeat: no-repeat; to the #header tag. Job done.

    Thanks, Hugo. Sorry for making such a fuss but this was driving me mad.

    Marking this as solved. :D


    Wendy Cockcroft
    Member

    @wendy-cockcroft

    Sorry, Hugo, I need to know *exactly* what this is supposed to look like. Putting this in

    `<?php
    if ( !function_exists( ‘bp_dtheme_enqueue_styles’ ) ) :
    function bp_dtheme_enqueue_styles() {}
    endif;
    ?>

    function bp_dtheme_setup() {
    global $bp;

    // Load the AJAX functions for the theme
    require( TEMPLATEPATH . ‘/_inc/ajax.php’ );

    // This theme styles the visual editor with editor-style.css to match the theme style.
    add_editor_style();

    // This theme uses post thumbnails
    add_theme_support( ‘post-thumbnails’ );

    // Add default posts and comments RSS feed links to head
    add_theme_support( ‘automatic-feed-links’ );

    // Add responsive layout support to bp-default without forcing child
    // themes to inherit it if they don’t want to
    add_theme_support( ‘bp-default-responsive’ );

    // This theme uses wp_nav_menu() in one location.
    register_nav_menus( array(
    ‘primary’ => __( ‘Primary Navigation’, ‘buddypress’ ),
    ) );

    // This theme allows users to set a custom background
    add_custom_background( ‘bp_dtheme_custom_background_style’ );

    // Add custom header support if allowed
    if ( !defined( ‘BP_DTHEME_DISABLE_CUSTOM_HEADER’ ) ) {
    define( ‘HEADER_TEXTCOLOR’, ‘FFFFFF’ );

    // The height and width of your custom header. You can hook into the theme’s own filters to change these values.
    // Add a filter to bp_dtheme_header_image_width and bp_dtheme_header_image_height to change these values.
    define( ‘HEADER_IMAGE_WIDTH’, apply_filters( ‘bp_dtheme_header_image_width’, 401 ) );
    define( ‘HEADER_IMAGE_HEIGHT’, apply_filters( ‘bp_dtheme_header_image_height’, 80 ) );

    // We’ll be using post thumbnails for custom header images on posts and pages. We want them to be 1250 pixels wide by 133 pixels tall.
    // Larger images will be auto-cropped to fit, smaller ones will be ignored.
    set_post_thumbnail_size( HEADER_IMAGE_WIDTH, HEADER_IMAGE_HEIGHT, true );

    // Add a way for the custom header to be styled in the admin panel that controls custom headers.
    add_custom_image_header( ‘bp_dtheme_header_style’, ‘bp_dtheme_admin_header_style’ );
    }`

    makes it worse, not better, because the code shows up above the header.

    Here’s the CSS:

    http://snazzymob.com/wp-content/themes/Snazzy/style.css

    I don’t care how stupid I look to you as long as the end result is that I’m given the correct information. That means providing me with the actual code in the actual way it’s supposed to be entered in the functions.php file.

    This is what is there now:

    `<?php
    if ( !function_exists( ‘bp_dtheme_enqueue_styles’ ) ) :
    function bp_dtheme_enqueue_styles() {}
    endif;
    ?>`

    There’s got to be a way to stop the header image repeating.


    Wendy Cockcroft
    Member

    @wendy-cockcroft

    Hello? How do you stop it repeating?


    Wendy Cockcroft
    Member

    @wendy-cockcroft

    Ah, that’s where it is. Thank you, Hugo, it’s not immediately apparent.

    Edit: how do you stop it repeating? I changed the code and the CSS says not to repeat it. Why is this not working?

    // Add a filter to bp_dtheme_header_image_width and bp_dtheme_header_image_height to change these values.
    define( ‘HEADER_IMAGE_WIDTH’, apply_filters( ‘bp_dtheme_header_image_width’, 401 ) );
    define( ‘HEADER_IMAGE_HEIGHT’, apply_filters( ‘bp_dtheme_header_image_height’, 80 ) );


    Wendy Cockcroft
    Member

    @wendy-cockcroft

    What code do I need to change? I’ve broken it a few times by messing with it so I have to be careful. If you could just tell me what the *exact* piece of code is, I’ll be able to stop banging my head off the desk.

    There’s nothing that indicates it either way in the functions.php file. That’s why I came here.

    Changing #headerimg doesn’t work.


    Wendy Cockcroft
    Member

    @wendy-cockcroft


    Wendy Cockcroft
    Member

    @wendy-cockcroft

    It was the theme. Don’t use iTheme2 with BuddyPress. It won’t work.

    Thanks, Hugo. I really am grateful for your help.


    Wendy Cockcroft
    Member

    @wendy-cockcroft

    I’ve got a white page of doom at the moment. I’m going to pull the whole thing down and reinstall is using the BuddyPress theme. I really appreciate your help, Hugo. Bear with me. I’ll let you know if this works because I’ll know if it’s the theme or something else.


    Wendy Cockcroft
    Member

    @wendy-cockcroft

    Yes I have.

    I’ve screwed up somehow, but how?


    Wendy Cockcroft
    Member

    @wendy-cockcroft

    I actually can’t register as anything and I’ve already uninstalled and reinstalled.

Viewing 15 replies - 1 through 15 (of 15 total)
Skip to toolbar