Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 2,876 through 2,900 (of 3,962 total)
  • @hnla

    Participant

    Place it in the root , same as wp-config and ensure it has the same connection details as wp-config

    @hnla

    Participant

    Fair point, consistency is good :)

    @hnla

    Participant

    Cool, yes it was the ‘group’ in bp_get_group_member_id() that foxed me for a while.
    considering both snippets work to the same effect, do you consider one over the other to be preferable?

    @hnla

    Participant

    The reason Mercime asked you to deactivate BP was to establish whether blogs worked with WP, blogs are a feature of WP rather than BP and it’s important before running BP or attempting to troubleshoot issues that it’s established everything is working properly with plain vanilla WP.

    You need to switch to a NON BP theme if you have disabled BP. Select the default twentyten theme or whatever default theme is installed for WP and confirm whether blogs work correctly.

    @hnla

    Participant

    You can’t run BP on a wordpress.com site.

    You would need to install your own copy of WP on your own domain and then install and activate BP.

    @hnla

    Participant

    No they have only just been ALL resolved. The release of, I think, a release candidate should happen any day now.

    @hnla

    Participant

    @netweblogic tbh I find that post unbelievable, it’s not only hijacking but downright rude and spammy, I’ll be deleting it from this thread shortly just so that you know when you look for it.

    @hnla

    Participant

    No BP does not empower user blogs alone , WPMU or as is it now WP Multi Site handles the mutli blog capability so you could have user blogs without the need for BP.

    Essentially BP just sees that multi site is active and provides links to them in user profiles amd directory views and pulls posts into the activity streams.

    @hnla

    Participant

    @hnla

    Participant

    Yep sorry misunderstood or didn’t read carefully enough the mention of ‘group’

    If you haven’t got there yet this works for me on the members view in groups/single/members.php:

    “

    @hnla

    Participant

    Look in your style.css file that will show where default.css is being called from.

    @hnla

    Participant

    Where do you see it?

    look at the default.css look for the ‘body’ ruleset

    <snip>
    `
    @import url( reset.css ); /* Reset browser defaults */

    /* > Global Elements


    */

    body {
    background: #eaeaea url( ../images/background.gif ) top left repeat-x;
    font-size: 12px;
    font-family: Arial, Tahoma, Verdana, sans-serif;
    line-height: 170%;
    color: #555;
    width: 90%; <<<<<<<<<
    min-width: 960px; <<<<<< delete
    max-width: 1250px; <<<<<< delete
    margin: 0 auto;
    padding-top: 0 !important; /* Remove the top padding space for the admin bar in this theme */
    }
    body.activity-permalink {
    min-width: 960px; <<<<< delete both change to width
    max-width: 960px;
    }

    h1, h2, h3, h4, h5, h6 {
    margin: 5px 0 15px 0;
    }

    h1 { font-size: 28px; margin-bottom: 25px; }
    h2 { font-size: 24px; margin-bottom: 20px; }
    h3 { font-size: 20px; }
    h4 { font-size:
    `
    Do all that in a copy of the file in your child theme otherwise the changes will be overwritten when you upgrade BP

    Child theme can simply be a new folder under /themes containing new styles.css and calls to copies of the other BP stylesheets which you’ll modify in stead of the original, the codex/docs has greater detail on this.

    @hnla

    Participant

    Hnla /Hugo answered your question on this original thread:

    https://buddypress.org/community/groups/miscellaneous/forum/topic/header-image-not-fitting-on-site/

    Please be mindful not to tie up resources around the net needlessly :)

    There was no reason not to have continued in the original thread and you should have done.

    @hnla

    Participant

    You have to be a little more liteeral then as to what you have been trying – sorry not wanting to come across too … but do need things explained in coding terms i.e reference actual elements, perhaps show the the snippets of code pertaining to the attempts, is this a child theme? does it work off the BP default styles or is it a unique layout, need some detail to be able to understand what you have tried.

    Oh just checked the site :) strangely familiar! why did you feel the need to ask how to set a fixed width after the very lengthy post I made or did I miss a a question asked in the thread?

    I’ve just changed the width on the body ruleset from width:90%; to width:900px; works for me! I would lose the min/max widths though.

    @hnla

    Participant

    If you state a value then unless it’s zero it must have a unit, 900 what? banana skins, doughnuts, or perhaps px, em, %

    @hnla

    Participant

    No nothing will if you don’t describe a unit!

    @hnla

    Participant

    Shouldn’t need to have to perform a while loop in a members loop, it should be much easier than that
    bp_member_profile_data(‘field=Company Name’)

    if(bp_get_member_profile_data( ‘field=Company Name’ ) == ’special’)

    Something along those lines. Over the last day or two there have been a few posts on the subject of profiles, and all the info one could need is to be read in these so have a scroll back over the last 3 or so pages of posts – in fact one post was about not having to create while loops, an old post but resurfaced.

    In reply to: blog sturcture

    @hnla

    Participant

    You’ll need to create three new custom loops then and feed the category to the loop as a parameter. I would check the WP codex as that will guide you on creating WP loops and feeding parameters to them.

    @hnla

    Participant

    I’ve responded to this in the plugin group. To some extent What you are asking for is already available on the standard BP menu – and at this time I wouldn’t probably advise using the adminbar plugin as it checks for WP 3.0 and then uses the newer menus these new menus have two huge flaws sadly; the first is that they don’t know that pages are children and thus don’t provide the ability to code as drop downs and they also make it hard to remove the parent ul .

    The present BP main menu uses wp_list_pages the code in header.php allows for parameters to be passed, if you set the ‘depth’ paremeter to a value other than zero then it will include child pages but you have to then style those as drop downs if that’s what you require.

    In reply to: Profile types

    @hnla

    Participant

    Adding the required selection options means that each user has to select a given type (a default option should also be considered?)

    This selection will be displayed on the users profile, but what you now have is a means of checking against something specific. The code above would or should allow you to run specific code only if that condition is met so you could run that for each ‘type’ and end it with an ‘else’ clause for perhaps a default body of code to run if the other conditions are not met.

    Where exactly you might place this code is somewhat for you to decide as at this stage we can’t know exactly what portions of a page or profile elements you wish to add unique styling to.

    But have a go at setting it up in a basic fashion and checking for yourself that the theory works i.e set up the new profile radios then perhaps in the profile loop do a simple check to see if you can run the conditional outlined above and simply output a line of text for testing purposes.

    @hnla

    Participant

    @helijussila
    Yes activity is not viewable despite super admin access to hidden groups, I had a feeling I’d seen a ticket on this, and just ran across it again:
    https://trac.buddypress.org/ticket/2602

    So upgrading to 1.2.6 should sort the issue out,

    @hnla

    Participant

    very probably not, so ignore my comments and start to pull that code together and throw it up to the forum if/when you get stuck and we’ll help get it as it’s needed :) P.S probably best to start a new post though?

    @hnla

    Participant

    Yes but the point is that one can’t simply state that they haven’t got sufficient knowledge and use that as a reason that those that do should therefore write the code for them; think about it. We all had to start somewhere and gain that knowledge it wasn’t handed to us.

    If some posts don’t appear to give a complete and rounded solution it’s often that you need to follow the thread through and piece together the info contained in it. If there hasn’t been a response back sometimes that means that one wasn’t warranted as the answer was already provided, sometimes we are just all plum too tired?

    On a voluntary help forum it sadly is never appropriate to expect anything at all of those that give of their experience for free.

    Don’t take this the wrong way i’m just trying to lend a little perspective and to prevent you perhaps saying things that may be interpreted the wrong way :)

    @hnla

    Participant

    Yes you would grant users ‘Contributo’r or ‘Author’ privileges to write on the main blog, what I do is add links for certain user capabilities to the adminbar so there is an easy route to the create new post & pages screens.

    @hnla

    Participant

    To get you started create three new profile fields for users to complete, probably radio button choices, the users will select one of these at signup? make the selection obligatory.

    Now in the members profile loop you will use a simple check to determine which field has been returned or selected by the user and display whatever particular elements you want for that selection.

    The code used here is not the type you want, in a profile loop it’s easier as you can run checks using something like:
    if(bp_get_member_profile_data( ‘field=account type’ ) == ‘special’) :
    ‘ Do stuff based on the type above’;

Viewing 25 replies - 2,876 through 2,900 (of 3,962 total)
Skip to toolbar