Forum Replies Created
-
In reply to: [Resolved] BuddyPress and Constructor theme
Oh and you ought really to ask this question of the theme authors, as they are the ones that have diverged from the norm so are best placed to understand or know how they have and how that has been done and suggest an approach you can take. They just need to know that BP attempts to use the standard WP templates and the content loop replaced with BP content.
Failing all the above you may need to fall back on the older method of overloading BP templates into your child and ensuring the markup matches to the themes markup.
You may like to look through the codex to see if the constructor theme has been template packed by Mercime.
In reply to: [Resolved] BuddyPress and Constructor themeand what is in this file:
// load one of layout pages (layouts/*.php) based on settings
get_constructor_layout(‘page’);This is going to be a problem with these frameworks that break with the normal WP methods for their own approach to templating and where users are going to have to figure out how to deal with this.
You could try creating a file named buddypress.php in your theme root and in that file copy the contents of what ever is in layouts/page.php but that file may also not be standard.
In reply to: 1.7 can’t see buddy press layouts in my themeBP in theme compat mode uses standard WP files /templates that should exist in your theme, how you locate them depends on your level of access but they should be in the theme root.
The file asked for by Paul is page.php but if you haven’t got that file BP will look for and use in order single.php, index.php
This isn’t about the pages created in the backend those are just ephemeral pages they need to use an actual template file.
In reply to: [Resolved] BuddyPress and Constructor themeThis is a problem with your theme.
BP theme compatibility is designed to automagically use standards WP templates if certain custom ones aren’t found, assuming you haven’t created any custom files in your theme BP is looking for these files in this order:
page.php
single.php
index.php
If you theme does not have these or use one in a standard manner then you may well get a screwy layout, but it’s going to be very hard to tell you what is going on with a third party theme like this.
Looking at BP pages I can see straight away something not quite right as there is a distinct lack of WP/BP body classes that I would expect to see.
You’re going to need to look those standard files above, determine which is being used by BP components in theme compat mode then try and work out what your framework is using to generate your general page.php page views i.e what file is used when you create a WP ‘page’.
In reply to: 1.7 can’t see buddy press layouts in my themeRe-read what Paul wrote, carefully, he says what file.
You will need to copy / paste the contents of the file to pastebin so we can study it.
There clearly are going to be themes that have issues , and given that BP theme compatibility is tested to work pretty well with standard constructed themes that follow WP conventions this is a theme issue but it will help if we can identify what it is about certain themes that throws things out then it might be possible to provide a workaround or at the least some form of documented guidance to working around certain theme problems.
Not sure at what point you’re running the check but simply dumping is_page(‘activity’) out in the header.php of a bp enabled theme only returns true when on activity page.
Not sure about your example of comma separated items didn’t think that worked although you can pass an array.
Maybe you need to do an if( is_home() && bp_is_current_component(‘activity’) )
Why does is_page(‘activity’) not work? You could try testing for bp_is_current_component(‘activity’) though?
In reply to: [Resolved] buddypress.css not working properly?but once I add the buddypress.css file from /bp-legacy/css/ to /mytheme/css/ it breaks buddypress styles completely.
You may need to explain what your process in more detail. Adding /css/buddypress.css to both 2012 and a child theme based on 2012 works as expected.
In reply to: Custom Menus Confusion?Yes you need to address issues like that to WP, BP is just a plugin running on WP and has zero influence on that aspect of things.
Well as has been made clear on so many threads on this sort of requirement it aint part of BP core so BP and this forum can’t really be a lot of help.
The concerns you note above are all to do with third party plugins, you have roughly two options, fix those that are broken, approach the plugin author with request for features/commission additional work be done.
Other than that little more can be said.
In reply to: Help Needed Please – Complete NewbieThey don’t post. By default new registered users are given the role ‘Subscriber’ which does not grant posting capabilities. look at the WP settings there you can choose what role a newly registered user receives.
More importantly than being able to see the plugin listed is whether BP is running correctly?
The plugin – activated as ‘network’ – is listed in plugins list on the network admin dashboard.
In reply to: Custom Menus Confusion?Explain to what you are referring.
In reply to: Limit locations displayed in members directoryBP doesn’t have any details about member locations by default so you must have a third party plugin activated? In which case you need to address your question to the plugin author.
In reply to: Child Theme Function PHPcool 🙂
In reply to: Child Theme Function PHPThe important part is:
Template: bp-default
Tags: buddypress
Other than that it’s hard to say based on supplied info what is wrong.
In reply to: Child Theme Function PHPis the child theme actually working period? Have you tested that it is actually working?
You should set up WP fully first checking all aspects of a standard WP install work correctly, when that checks out proceed to activating BP and doing so with the default theme initially to establish BP is set up correctly and working fully only them move on to activating a third party theme.
In reply to: Having a problem with theme compatibilitysearched the forums to solve my problem
But did you check through the codex where there is extensive documentation to help guide you through the template re-factoring required in step 3 of the process?.
It would be much better if you could stop the template pack process, remove any files moved to your child theme and instead install the BP beta release of 1.7 along with it’s theme compatibility layer which will be a lot easier to cope with as that will just require you adjusting styling where necessary.
Well that function returns true or false so probably easiest way to use it is as a check on whether or not to enqueue a stylesheet specifically for media queries below 320px or something like that, but then again you could simply use a media query in the first place and add any full width rules under it.
In reply to: Child Theme Function PHPFunctions files are not overridden, they are both read in a parent / child relationship so your unique functions written in your child themes functions file are read first then anything in the parent. As for losing changes why would you ? You shouldn’t lose anything in your child theme functions file it will not be wiped out with updates.
In reply to: Create private membership site with BuddyPress@billgates82 you should always start a new post rather than tack onto an existing one that may seem to cover the same issue.
As in the post above yours consider looking at the S2 member plugin.
In reply to: This Forum Losing Recent Topics ???There were a lot of spam posts that had to be dealt with this morining, it’s possible your post got inadvertently moved along with them, apologies, having it looked into and restored if possible.
Open up the relevant index file and remove the get_sidebar() and adjust the styles for that page view’s content based on whatever body class is available that refers to this page.
Other than that you need to be a little more specific about what you’re actually doing.
In reply to: No Save or Next Option in Installation Wizardare there themes for BP
Try looking in the WP theme page – BP has always had a default theme it couldn’t function without it.