Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 951 through 975 (of 3,962 total)
  • @hnla

    Participant

    (‘content’, ‘page’) refers to a file content-page.php the contents of that file replace the template call so was simply suggesting you open that file and copy contents directly to it’s parent minus any undue comments at top of file, then we are only having t study one file & can see all the code.

    @hnla

    Participant

    Checking that pastebin link to see what you’ve done does show the while loop in place and it
    looks like it ought to be ok so there may be issues elsewhere.

    Just for safety copy the page.php file and rename it buddypress.php, revert your page.php to as it was. BP will use buddypress.php if it finds it. In buddypress.php replace the get_template_part call for content-page with the actual content in that file so your buddypress.php contains all the code it needs in one place and repost it to pastebin – this is chiefly so people can see all the code.

    @hnla

    Participant

    Spaces don’t exist they were never allowed, it was only Windows/MS that ballsed up the protocols to allow them. Never ever have spaces in file names or folder names stick to strict Unix conventions.

    @hnla

    Participant

    This should have dealt with quite a few versions back so something may have crept back in. If you can ensure this isn’t some odd plugin issue and that this definitely wasn’t happening in 1.6 please open a ticket on http://buddypress.trac.wordpress.org using your site credentials.

    I will just add though that a quick test on a local install running trunk does NOT show any issue like this, so check carefully it isn’t plugin issue also scan through trac to see if there was a recent ticket and fix put in place.

    @hnla

    Participant

    You’ll need to read up on CSS ‘Specificity’ or selector ‘weight’

    briefly CSS dscribes a Cascade of rules, if you have a stylesheet stating:

    body {background: blue;}

    then one after stating:

    body {background: red;}

    The later wins out background is red.

    however add ‘html into the selector set of the first:
    html body {background: blue;}

    And it will hold true, you have been more specific also you have weighted the value of you selectors (all selectors, classes, id’s have a numeric value which is added together to arrive at a single value that if higher than another dictates the higher is to be used.)

    A selector is the identifier that tells the properties in the ruleset which elements they should be applied to. always preceding the first ‘{‘ white space in-between selectors is also a selector named ‘descendent’ it signifies that the last selector (on the right) has the other selectors as parents or ancestral elements i.e it’s nested in those.

    @hnla

    Participant

    @mareksgregs

    And that’s about it. Nothing happened.

    That needs to be qualified. What exactly didn’t happen or more precisely what did you expect to happen?

    When you create a child of bp-default or any child for that matter you inherit the parents functions.php as well as templates this means in the case of bp-default the CSS and JS are all included/enqueued so you do not need to do an @import and in reality the path for that import would fail as that’s not correct.

    If you’re looking for style changes then you will probably need to ensure you’re styles or ruleset selectors have a higher weight( more selectors in the selector set ) than the BP ones which will load later overwriting yours if using exact same selectors.

    @hnla

    Participant

    Yep you can’t really copy bp-default theme index.php to a theme compat file. Your buddypress.php needs to be page.php complete with the WP loop (perhaps copying 2012 not a good choice as it calls a separate file for the WP loop) With a buddypress.php file complete with WP loop you’ll then need to replicate in it your themes essential parts that grab the site header and footer as seen in your themes page.php and any html markup that your theme uses.

    This may be something you need to approach the theme author about, explain you’re trying to use BuddyPress but that you need a page.php with a structure that both supports the theme and uses a standard WP loop, or use pastebin to copy the contents of your themes page.php to and someone may be able to suggest how to modify.

    But support for third party themes is going to be somewhat limited as it’s not the primary purpose of the forum.

    @hnla

    Participant

    Automatically? Not that I’m aware of, there used to be some tool for managing and moving users but lost track of what that was called.

    This might be the sort of question @mercime may be able to shed more light on.

    @hnla

    Participant

    Well your theme is running in BP theme compatibility mode as your loading the legacy stylesheet. Blank pages might mean your themes page.php which BP uses isn’t written in a way that BP can use, try copying page.php from twentytwelve to your theme and renaming it buddypress.php and see if that works to display BP screens, it won’t be the solution but might point to the issue and from there you might be able to further customize that copy with parts your theme may need.

    @hnla

    Participant

    Yes it’s normal, in effect the network is the primary point of install and has – if you like the master list of users so admin is listed there as super_admin.

    @hnla

    Participant

    You primarily had a permalinks issue (not sure to whom I’m addressing that remark though) when you see ‘index.php’ in the url it tends to indicate a almost pretty permalinks setup found with windows or iirc Zues server, check the WP codex for further information, BP does require permalinks are in operation.

    https://www.google.co.uk/search?q=zues+servers+and+permalinks

    @hnla

    Participant

    @imath @chouf1 that’s a really interesting idea, think it’s a very useful tool, might be experimental but seems pretty well conceived and executed.

    @hnla

    Participant

    Depends on what exactly you’ve done/tried. Detail your process thus far so people can get an idea of what might have gone wrong. At the moment you haven’t given anything to go on.

    @hnla

    Participant

    However reviewing @aces link and post suggests that would be a likely cause, it’s troublesome the adminbar and the spacing it requires due to it’s out of flow nature and login/logout, view or not view, states.

    @hnla

    Participant

    Theme? and in this instance your probably going to need to provide a link to the site.

    However if you are using a custom theme test by disabling it and testing in bp-default or twentytwelve if issue not present then it’s theme related or perhaps plugin related but then same thing applies in disabling any not necessary to see if they are the cause.

    @hnla

    Participant

    Without a little more information and perhaps a link people will just be making wild stabs in the dark as to what’s wrong. Likely this is theme related but I’m guessing 🙂

    There’s a sticky on posting guidelines that will let you know what sort of information helps receive help.

    In reply to: Basic Page Template

    @hnla

    Participant

    You can create a template to override BP theme compat use of page.php i.e buddypress.php located in your themes ‘buddypress’ or ‘community’ folder, in that if you wanted to further manage things you could use conditional functions for various BP views.

    Please check the BP codex as the above is explained in a guide or two, look under ‘user’ or ‘1.7’ in the codex.

    @hnla

    Participant

    How have you got members following posts or pages, that isn’t a normal default BP action. If you have a plugin providing extended functionality that allows this then you need to provide that information as without it it’s not possible to provide suggestions. Either way this sounds like a job for a developer I doubt a simple answer can be given to tell you how to achieve this.

    @hnla

    Participant

    Thanks @bphelp.

    Closing this thread and any further that are re-opened @placementmantra

    In reply to: BuddyPress Spam

    @hnla

    Participant

    @placementmantra Please stop posting this repeated post immediately. You have now posted approx twelve times to old ‘Spam’ threads in as many minutes virtually. Open A new post or search and ‘Read’ some for methods of dealing with spam issues.

    Now closing this old thread as a read only.

    @hnla

    Participant

    this may be utterly unhelpful but can you not set or define the constants rather than remove all those avatar constants?

    e.g as long as you run a earlier priority you can define the constants before BP sets them and checking if a constant is defined but running late enough in functions.php that bp_is_my_profile() is set.

    
    function user_profile(){
      if( bp_is_user_profile() ) {
       define( BP_AVATAR_THUMB_WIDTH, '130');
      }
    }
    add_action('bp_init', 'user_profile', 2);
    

    But I might be barking mad!?

    @hnla

    Participant

    Edit the template then and remove the markup. Also turn off activity posting on blogs & forums in bp settings.

    @hnla

    Participant

    Something getting messed up, looks to be possibly a translation error? My local test doesn’t show same issue, if you explore further and can establish it’s a bug open a trac ticket.

    @hnla

    Participant

    Document title tag ? I would suggest that perhaps you have a plugin affecting things? I have showing:
    ‘Activity Streams Directory | BP 1.7 – mozi ff’

    @hnla

    Participant

    @knromaine This isn’t really a question regarding BuddyPress, this ‘page’ isn’t a buddypress’ page it’s a WP page which is using the WP reading settings to set it as the page to use for your index or frontpage, this will have the effect of removing the default view WP provides of the primary posts loop display from your frontpage (so a further page is required that says where wp shows blog post loops) and also removes or changes the buddypress default frontpage view of showing the Activity stream. What is intended to be shown on this new page we can’t say that is dependent on what your theme provides and as such it’s to the theme authors that you ought to address further questions on this aspect of your site.

Viewing 25 replies - 951 through 975 (of 3,962 total)
Skip to toolbar