Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'theme'

Viewing 25 results - 20,926 through 20,950 (of 31,072 total)
  • Author
    Search Results
  • #97558
    Brian Bowman
    Participant

    I’m running BP 1.2.6 – and I’ve found a few threads – namely that the changes in that ver are affecting things like avatar images and double “Frienship Request” buttons (among others). This seems to be on a theme-by-theme basis. You’ll need to get an update of your theme which should fix the problems….. Im using some from WPMUDev.com and they expect to have the theme updates out shortly.

    #97548
    thelandman
    Participant

    @Annoyed, What theme are you using? Do you have a link I could take a look at. Often the problem is that a theme or plugin includes a different version of jquery to the that comes with WordPress. You could load jquery from google. Put this code at the top of your functions.php (in your theme folder)

    `function my_init_method() {
    wp_deregister_script( ‘jquery’ );
    wp_register_script( ‘jquery’, ‘http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js’);
    }

    add_action(‘init’, ‘my_init_method’);`

    #97537
    Paul Wong-Gibbs
    Keymaster

    I’ll have a try and see what it looks like. I think it’d work but we’d have to keep the “posted at” timestamp more visible like it is on blog comments at the moment.

    #97532

    In reply to: CSS for member page

    thelandman
    Participant

    You can use xprofile fields to specify certain CSS values in the users profile. Then you can retrieve the field value in the profile and modify the profile CSS with jquery. Its a bit of a work around but it works for me. Here’s an example:

    1. Create an xprofile field and name it ‘Profile Background’
    2. Edit your profile in buddypress and insert ‘#000000’
    3. Go to wp-content/themes/yourtheme/members/single/member-header.php
    4. On the 2nd line, just after “ paste the following code:
    `
    $(“#wrapper”).css(“background-color”, “”);
    `

    This will modify the profile background color according to what ever value you put in ‘Profile Background’

    This is just off the top of my head, I’ll check how I’ve done it once I’m home this evening. I will be writing a plugin for this. The only drawback is the user needs javascript enabled other wise its pointless.

    #97528
    modemlooper
    Moderator

    just go into header.php and add a link to the image that you want to use. You’ll see h1 logo and you could put it there or before but you’ll have to fix it via css to make it look right.

    #97527
    p3aul
    Participant

    Surely some can answer this question?

    techguy
    Participant

    I guess the other weird part is that in the 2 changes where it was moved to those configuration settings, it changes from 2 different sizes (25×25 and 60×60) to one size (BP_AVATAR_THUMB_WIDTH BP_AVATAR_THUMB_HEIGHT).

    I’m not really complaining about the change and I certainly could have tried this before the release and seen the potential problem. I just wonder if this is the best long term strategy. Seems like it will break a number of themes like it did my child theme. I can modify my child theme no problem, but others might not be as lucky.

    Are there any other places that these avatar settings are used? Anyone know of any other places? I know the initial resizing would use them, but with them being square it’s not that big of an issue.

    Michael Eisenwasser
    Participant

    You’ll still have the problem that the dropdown for the “Visit” menu at the upper right doesn’t have room, because the dropdown incorrectly aligns to the right side of the screen. Just scoot it over a bit to the left to make room…

    * html #wp-admin-bar ul li.align-right {
    right: 140px;
    }

    Michael Eisenwasser
    Participant

    Using this will completely fix the admin-bar in IE6, even when using fluid width.

    body {
    position: relative;
    }
    * html #wp-admin-bar {
    position: absolute;
    }
    * html #wp-admin-bar .padder {
    width: 100% !important;
    }

    #97521
    Boone Gorges
    Keymaster

    Check out the template file `register.php`, located in `buddypress/bp-themes/bp-default/registration/register.php`. You have a couple possible strategies:

    1) Copy register.php to your child theme and add hidden inputs directly in the markup
    2) Hook to one of the many do_actions littered through the code to add your fields. Eg
    `function bbg_add_reg_field() {
    echo ”;
    }
    add_action( ‘bp_before_registration_submit_buttons’, ‘bbg_add_reg_field’ );`

    Then you’ll have to catch the data being sent. I recommend doing something like this
    `function bbg_grab_reg_data() {
    if ( isset( $_POST ) ) {
    // do something with the custom data
    }
    }
    add_action( ‘bp_complete_signup’, ‘bbg_grab_reg_data’ );`

    #97515
    modemlooper
    Moderator

    I want to add my 2 cents on this. Can we get the default comments to mimic the activity stream?

    #97514
    modemlooper
    Moderator

    guess i better upgrade to trunk

    #97513
    paulhastings0
    Participant

    And I assume you’re using the BuddyPress Default theme?

    #97508
    Paul Wong-Gibbs
    Keymaster

    @modemlooper, if I create a custom link item to “example.com/activity”, and then click on that link, it loads the correct page and applies the ‘current-menu-item’ class to the li element. I’m testing this on BP trunk and WP 3.0.1.

    If I put a Page into my menu, it gives it the class ‘current_page_item’ as it recognises it is part of the WordPress object hierarchy.

    #97507
    Paul Wong-Gibbs
    Keymaster

    @modemlooper Components in BP 1.3 will exists as Pages in WordPress. The Pages will be created as part of a new Setup procedure.

    #97505
    paulhastings0
    Participant
    #97502
    liveview
    Member

    ah, I expected it would do like default.css and just override with my changes.

    Fixed now, many thanks

    #97501
    Hugo Ashmore
    Participant

    You’re pulling in the original one, if you made changes in a copy then they won’t be applied.

    path is :
    _inc/css/

    if you copied the default structure to a child theme.

    #97500
    liveview
    Member

    id doesn’t seem like the adminbar.css in my theme folder is overriding the default tho

    #97499
    liveview
    Member

    ../../plugins/buddypress/bp-themes/bp-default/_inc/css/adminbar.css is my @import url

    #97497
    Hugo Ashmore
    Participant

    Are you sure your @import paths are correct, are you actually calling the right adminbar.css? There are only a few rulesets that will govern these dimensions, Firebug is a extension for Firefox that will allow you to observe which rulesets are applied to an element when you hover the element in the viewport.

    #97496
    liveview
    Member

    here is a screenshot (site is in maintenance mode, so link is no help :p) http://liveview.no/demo.jpg

    #97495
    liveview
    Member

    I have copied the entire default.css into the style.css in my custom theme and reworked it pretty heavily.

    I have also made a mirror of _inc/css/adminbar.css in my theme folder and set all the width attributes to 100% in this, no change.

    #97494
    Hugo Ashmore
    Participant

    Then have you adjusted the min/max widths in adminbar.css?

    #97493
    Hugo Ashmore
    Participant

    try, rather than using !important, removing/ changing the offending ruleset in default. If you have copied default over to your child theme you are better of removing / adjusting styles in it than overriding. If you drop back to using default theme it will pick up the original styles.

Viewing 25 results - 20,926 through 20,950 (of 31,072 total)
Skip to toolbar