Skip to:
Content
Pages
Categories
Search
Top
Bottom

New BuddyPress 1.2 default theme

Viewing 19 replies - 76 through 94 (of 94 total)
  • @mercime

    Participant

    My bad. Nix the above re feedback on the 1.2 trunk bp-default theme. It was the egghead attempting to create a child theme while still full of eggnog :-9 Placed one question mark too many in some conditional tags – really thought there were only one apiece. Happy New Year!

    @nzde

    Participant

    Hi All

    Is anyone getting this kind of fatal error when activating the new default theme?

    Fatal error: Call to undefined function bp_is_member() in /home/axiomat/public_html/wp-content/themes/bp-default/header.php on line 47

    Many thanks

    Richard

    @xevo

    Participant

    @nzde: The error is saying that one of the buddypress functions can’t be found. You sure you activated buddypress in the admin panel?

    @nzde

    Participant

    Thanks Xevo, but yes it is active. Can’t figure this one out. Have deactivated, reactivated etc to no avail…

    @apeatling

    Keymaster

    You can’t run the new theme on 1.1.3, it must be the trunk, and the latest trunk.

    @nzde

    Participant

    Ah, I see. Was wondering whether that might have been it. Thanks Andy. Guess I should wait until the next BuddyPress release then. Thanks.

    @takeo

    Participant

    Andy… please don’t use CSS shortcuts in the 1.2 default theme. It makes overriding a little more difficult / messy if one chooses to use the 1.2 default theme as a parent. For instance… the 1.2 default theme uses a shortcut for background instead of using background-image:

    #header {background: url( ../images/default_header.jpg);}

    Say I want my header to have a background color and no image. This override won’t work:

    #header {background: #f76d16;}

    Nor will this:

    header {background-color: #f76d16; background-image: none;}

    One is forced instead to use the !important declaration so that using the color shortcut can override the image shortcut:

    #header {background: #f76d16 !important;}

    This works… but the important declaration makes me a little queazy. LOL.

    @mercime

    Participant

    #header { background: #f76d16 none; }

    where “none” will equate to no background image in the child theme; it overrides

    url(../images/default_header.jpg);} in parent theme. Works across all browsers.

    @takeo

    Participant

    Riiiiiiiiiiiiight. Why didn’t I think of that. I’ve never thought of using simple “none” as a shortcut. Thanks. Sorry Andy.

    @takeo

    Participant

    Actually… I just tried that. Doesn’t work.

    @mercime

    Participant

    Hi David. Works for me in all BP child themes. I presume you cleared cache/cookies and are targetting the correct selector , so

    :

    1. If there is !important after the background image url in parent theme, add it in your declaration in child theme – none !important

    2. an alternative: create blank 1×1.gif file and use that for your background url(images/1×1.gif) to override parent theme

    @takeo

    Participant

    Nope. Doesn’t work in Safari / Chrome. There is no “important” in the parent. I know I could make a blank gif… but I’m not sure that’s any less ugly. Anyway… that’s cool. I’ll just use “important!” in the child.

    @apeatling

    Keymaster

    The header CSS is from the WordPress custom header API. It will only show if you select a custom header image in the backend.

    @takeo

    Participant

    Thanks Andy. I did not know that. There appears to be no way to use just a color instead of an image though. Although I suppose a single color GIF would be pretty tiny.

    In any case, I find that in general it can be a little tricky to override styles when shortcut declarations are used. If all font settings are set in a single declaration but I only want to override the size… I have to redeclare everything in short form using the “font” property. Certainly not a big deal by any means. In fact, it’s a pretty miniscule. Practically a non-issue. It only came up because I was having a hard time trying to change my header. Didn’t know about the custom header setting.

    @apeatling

    Keymaster

    wp-admin > Appearance > Custom Header – there is an entire interface for it, including text color changes.

    @mercime

    Participant

    @David Lewis – sorry about that, didn’t notice that there was a new custom header with options page in the trunk bp-default theme because I customized the header in my child theme :-)

    @takeo

    Participant

    @Andy. Yes. Thank you. I was just pointing out that there is no option to use just a background color and no image. You’d have to use an image that was a solid color. Which is fine.

    @mercime

    Participant

    WPMU 2.9 trunk, BP 12 trunk, internal bbPress intstall

    .

    1. In Forum – Group Forum Topic – Edit Topic

    I can edit Topic Title, Content but nowhere to add/delete Tags of any topic. Just noticed it now that Tag edit was not available when I needed to add some tags to a forum post. Checking BP 1.1 beta folder, I now see I lost that functionality way back when i moved from external bbPress to internal forum in 1.1 beta

    – Will form for editing tags be brought into Edit Topic Page in stable 1.2?

    In the meantime, I have copied the edit.php from bp-default/groups/single/forum/ to my child theme and added the template tag to edit tags.

    2. Groups Directory page shows “There were no groups found.” when there are groups in this install.

    – Possibly because bp-default theme is still in construction?

    Groups Directory page in child theme of bp-sn-parent is showing up the Groups listed in that page.

    Thank you.

    @nonegiven

    Participant

    Just downloaded and installed 1.2 release and I get the same error message as above.

    Fatal error: Call to undefined function bp_is_front_page() in /usr/home/example/public_html/wp-content/themes/bp-default/header.php on line 47

    Nothing shows. Only the blue header and the error message.

    Try all the obvious.

Viewing 19 replies - 76 through 94 (of 94 total)
  • The topic ‘New BuddyPress 1.2 default theme’ is closed to new replies.
Skip to toolbar