Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 1,601 through 1,625 (of 3,962 total)
  • @hnla

    Participant

    Yep it just represents an insertion point in a file, marker points throughout a theme template file where ‘stuff’ may be added.

    @hnla

    Participant

    The users need to login to kick that count into accurate life.

    In reply to: Avatar sizing

    @hnla

    Participant

    You need to explain what page you are referring to, avatars are displayed across many pages and most can have their size passed through as args.

    Asking people to login to your site isn’t really going to help.

    You can define constants that BP will use as crop sizes but will also re-size existing avatars, results will vary though depending on original size.

    In bp-custon.php (create file if not existing in ‘plugins’ folde) add:
    `
    define( ‘BP_AVATAR_THUMB_HEIGHT’, 150 );
    define( ‘BP_AVATAR_THUMB_WIDTH’, 150 );
    define( ‘BP_AVATAR_FULL_HEIGHT’, 250 );
    define( ‘BP_AVATAR_FULL_WIDTH’, 260 );
    `
    depending on which type you want to resize.

    If you want finer control then you need to id the page in question and someone can tell you how to modify.

    @hnla

    Participant

    But we won’t trot out the tired cliché “always read the docs” ;)

    @hnla

    Participant

    @sobuddy

    You still have an outstanding reply to respond to – help was given and solution provided for your previous issue with your theme please check that thread and mark it as resolved if issue corrected now before moving on to a new question about your theme header.

    https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/all-the-texts-are-turned-white-in-buddypress-default-theme-in-ie/

    @hnla

    Participant

    you could do things the hard way, using PHP which has no real ‘method’ to get the last item in an array or loop, instead you have to cobble bits together depending on the type of array and it’s a lot more painful.

    @hnla

    Participant

    Use CSS??!! :) psuedo class :last-child

    @hnla

    Participant

    The best approach is to create a child theme, this is actually extremely simple, however it does require a number of steps.
    1. You need to create a new folder under/in /wp-content/themes/

    2. In that folder you need to create a blank file called style.css

    3. in that file you add :
    `
    /*
    Theme Name: my theme name
    Theme URI: http://buddypress.org
    Description: a description – non essential.
    Version: 1.0
    License: GNU General Public License
    License URI: license.txt
    Author: yourself
    Author URI: ?your site
    Template: bp-default
    Tags: buddypress, two-columns, fixed-width, whatever other keywords are applicable
    */
    `
    To do this you will need some form of access to your site server either FTP or via your Cpanel/plesk file manager to create folders /files.

    Once you have that done then it’s simply a matter of going to ‘themes’ in the dashboard where you’ll be able to select your new theme.

    At this stage as you only have a style.css file BP uses all of the default BP theme files including it’s own styles so activating your new theme will cause no apparent change – good! However you now have the ability to use style.css to add CSS properties/ rulesets that will be read after the BP ones and thus overwrite what may already have been set.

    Using the WP editor under ‘appearence’ you should be able to select your child themes style.css and simply add the line:

    body {font-size: 100%;}

    or:

    body {font: 100%/1.4 arial, ‘another font’, sans-serif’}

    If the above is too awkward to accomplish then you will probably have to settle for editing the bp-default stylesheet directly and changing the ’12px’ on the body rule for ‘100%’ but those changes would be lost in any upgrades and have to be re-done.

    @hnla

    Participant

    Hadn’t realised, also Ray said he might work on it so be interesting to run it and see where it’s up to.

    @hnla

    Participant

    thought the issue was how the data is recorded i,e not possible to cross reference to an activity – this is an interesting one to have a look at though as being able to easily look at data and produce stats would be good.

    @hnla

    Participant

    > +1 to making global.js less dependent on theme markup. It would be nice to be able to run riot on a > new theme and not have to worry about removing any of the default markup.

    Download global.js from the repo trunk it should run on 1.5 and 1.6 will drop pretty soon, then you can experiment with what you can change, classes and ID’s are sacrosanct but element selectors have been removed and jQuery elements removed which traverse the dom based on structure rather than tokens.

    @hnla

    Participant

    hmm yes but that doesn’t correct the issue and you shouldn’t need to do that really, the point is that the file global.js handles this and if it isn’t one needs to look to where it’s been broken. We’ve endeavoured to reduce the need to keep the structure intact in global.js for 1.6 which should make life easier for developers.

    I’m concerned with this though as I use that revised global.js file as I’m deving on 1.6 and shouldn’t be seeing this issue so it needs tracking down.

    @hnla

    Participant

    Been having the same issue – in my case working up a custom set of files and the most likely reason is that I’ve upset the markup structure/class tokens . Despite spending a little time recently going through the default bp global.js file to reduce dependency on markup (this won’t be of benefit until 1.6) you do have to be very careful to respect the markup structure in activity stream and it’s various classes as the necessary JS depends and expects certain elements to exist.

    So check and compare your entry.php template in activity so see if you have left out any classes or changes markup.

    @hnla

    Participant

    As Boone says it would be well received – in fact it ought to be a core ability after all we’re saying we want to be able to query the dB and produce varying result sets based on data available.

    @hnla

    Participant

    not really understanding the question – group creator is admin of group users can be made moderators both ought to be able to invite to groups, but install the plugin as it has backend options that may help.

    @hnla

    Participant

    BP does not set font correctly to a percentage it sets the body font to 12px – far too small for comfort – and then proceeds to set further fixed pixel widths so sadly it’s not very easy to get a smooth font size change over a layout.

    You can change the body font declaration in a child theme stylesheet re-set it to 100% to allow your browsers font-size to be the standard baseline size the site displays fonts from however this won’t really help the fact that there are fixed width font sizes throughout the layout styles but in terms of posts and pages these don’t have font sizes set iirc so changing the body font to 100% should give you a font size on these elements equal to your browser default font size – normally 16px – equally if this is for your purposes only all browsers allow for either text re-sizing or zoom re-sizing of a site which perhaps is a method you could be using.

    @hnla

    Participant

    The reason you are having problems is due to mal-formed markup, if markup is broken then rendering engines have to make best guesses at how to render a DOM that makes sense to it and then try and apply what CSS properties it can .

    Your immediate problem – the white text – is due to your header elements being unclosed. You have two unclosed elements in the <div id=”header”> block this means that the parser has to guess at what makes sense and it sees the last unclosed div and then takes the closing header tag and applies it to that last child div, the result is that #header is still actually open any properties it has are inherited if that’s their aspect to all further elements until the parser can find a suitable closing div thus the rule color: #fff; applied to #header is filtering through.

    Finish off the two inner divs in #header with correct closing tags and the colour for the majority of body text will return to bp-default body colour.

    @hnla

    Participant

    Ah :) glad you resolved the issue though. for the record you almost never need to hard code urls WP/BP provide functions for fetching domain paths, urls; you should be ale to see examples in various template files.

    @hnla

    Participant

    Hard to say exactly, doubt it was an issue resolved by re-installing BP though – switching themes can be an issue or at least de-activating BP then trying to go straight to the frontend without first ensuring a WP theme is enabled will cause white screen – but your scenario doesn’t suggest that was process involved as you talk about components- what sounds more likely is that you had a BP plugin/s running that don’t correctly check for BP loaded before they try and run.

    You should be able to check if a plugin is at fault by leaving BP deactivated and in turn activating BP plugins to see whether one causes an issue of the type you describe.

    @hnla

    Participant

    > Once you have built up friend connections you will be able to invite others to your group

    And have you built up any friend connections?

    You may find installing the estimable plugin ‘Invite Anyone’ useful it will allow you to send group invites from all users list or to send join up invitations to others via email from your account screens.

    In reply to: search buddypress.org

    @hnla

    Participant

    The issue with site searches is known and will be addressed, in the meantime the best approach is to use google to search the site.

    @hnla

    Participant

    As always first instruction is to activate the BP default theme and see if the button still doesn’t work to determine if it’s your custom theme causing the issue, likewise plugins might also be causing a conflict so if possible disable all that are not vital.

    @hnla

    Participant

    Not enough detail to be able to help you with.

    You will need to provide a link so someone can actually see what’s happening.

    @hnla

    Participant

    No you don’t lose data, members / users are a WP table anyway and any BP data amassed isn’t deleted however DO take a DB backup before doing anything, ever, at any time, regardless of the ‘thing’ being done.

    And you will need to go through the upgrade wizard – isn’t there a message notification in the dashboard that you must do this?

    In reply to: Theme Compatibility

    @hnla

    Participant

    Then those themes are disrupting BP’s Ajax functionality – why exactly is difficult to say it’s a little too generic to say a few themes there could be various reasons, troubleshooting what’s happening requires loading the theme and working that out, as for guides I doubt there is any thing that specific, someone will need to work out the issues, the fix then post that to the codex.

Viewing 25 replies - 1,601 through 1,625 (of 3,962 total)
Skip to toolbar