Forum Replies Created
Just seen your response:
>To be honnest I haven’t a regular licence for this theme so I cannot expect technical support.
And we are limited in the help we can offer on premium themes sadly.
Those look to be modified files, not the copies from the BP core plugin, the cover-image-header.php file appears to be missing some elements necessary.
Again as my earlier comment have you asked this question of the themes authors, you need to as we can’t really support third party custom work, if they find that there is indeed an issue with the core implementation then we’ll definitely look into it.
Also you could look to test things by ensuring you are running a copy of the files taken from the core bp-templates/bp-legacy/buddypress/members/single/ directory.
Have you asked this premium themes authors/developers about this issue?
While there may be an issue we haven’t spotted, setting up to try and reproduce is somewhat time consuming so it would be good to have acknowledgement from the themes devs that this isn’t an issue that needs dealing with in this theme rather than with BP core implementation.
Can we be clear what
theme/buddypress/css/refers to is this a reference to the core BP plugin or is this a BP ready theme that you are running a child theme from?
Cover image styles are loaded as ’embedded’ ( styles written to the head of a document within style tags) styles so not a mystery
In a help thread you are meant really to attempt to describe a problem, not simply post a SC.
If you want to know whether this is theme related then you activate one of the default WP twenty* themes and establish whether the issue still exists.
@hastig While it is genuinely appreciated that you are trying to help people, some of what you are describing as template files is a little confused and will mislead people into thinking they have to use the advanced taxonomy template hierarchy which isn’t necessarily the case.
I’d urge you check our codex pages again to best understand how overloading files works.
The stackoverflow page would be better removed or at least edited to better reflect how the BP template hierarchy works.
Closing php tags shouldn’t be necessary, WP instructs not to close out files in this way. If you’re having issues they must lie with the custom templates?
I would ignore the “warning” and move on, the form ‘action’ attribute is not explicitly set as required, browsers will work without it being set and return the existing url; personally I prefer it set but…
I would take care in running validation routines over WP code, you’ll almost certainly receive a lot of warnings from various areas and given most sites are built on a structure of modular third party code, it will be next to impossible to get 100% clean results.
What’s the issue you’re having?
You should have control of your templates now and can modify as you need; the master WP template that would be used is generally page.php copy that to /buddypress/ and rename to buddypress.php to have control of this top level template.
You have third party plugins at work here and one of those is causing the problem, ID the plugins, attempt to isolate the culprit ad report to plugin author.
Explain in detail! Exactly what file, copied from where to where and in what directory structure is it housed in the new theme location – there is no one index.php for BP and all files, if we’re talking theme compatibility, are NOT standalone template files despite the implication in naming i.e ‘index.php’ but are themselves just partials that get injected into the WP template API via the title & content tags, check the BP template hierarchy guides.
@jblevins1991 Please check through the BP codex documentation we provide a few guides there that set out how BP templating is structured and how to overload the files to a theme or child theme, this is your first port of call for information thereafter if you still have questions not covered in our guides do ask back here.
If you are taking this topic to a private channel, then this topic will be closed. Please remember that public forums are intended for open topics where the help may benefit others, also the referenced issue is a third party plugin, not BuddyPress the correct avenue of help would be the plugins WP support forum normally.
@ldesherl I think it might help if you could leave that link above switched to a WP default theme and with all plugins deactivated, just while you’re seeking help for this issue, as things stand I see no sight of BuddyPress or bbPress running, and the theme is a custom one with a lot of plugins running. Buddypress should default to using a series of pages that it will create, your ‘Activity’ example is named with a custom title, you also seem to have a lot of trashed pages as the members page slug has ‘-7’ added suggesting 6 other copies of a page named ‘members’ try deleting those.
…but I just feel like the codex should not be so freaking skimpy and weak.
Then please help to make it better! As mentioned BP is a voluntary project representing many many hours of freely given time by the core dev team and various contributors. The codex is something that takes a massive amount of time to organize and update, myself and mercime have given a lot of our time, over the last two years to trying to update and better organize the codex, help is always welcome though and aspects like the codex are only as good as the time the wider community are willing to put in.
You can do anything more or less with a little styling.
Just remove the left margin on .activity-comments, but observe how that affects them in all screens and taget specifically, the body element generally carries useful classes to use.
@jblevins1991 You need to explain exactly what you have attempted so that we may understand where things are going wrong, so you need to show exact steps and directories and files created / copied over.
Assuming you have setup WP and BP correctly and have a vanilla instance of BP running under a theme of your choice then:
You create a dir or folder in your themes root e.g /buddypress/ if you want to modify the main activity screen then create /buddypress/activity/ and copy index.php from the plugins bp-legacy dir to this new directory, add some text somewhere in that file so you can see if BP is using that file rather than the version located in bp-legacy.
In our guide the salient issue of what templates and where is covered in this paragraph:
Therefore, you can modify any bp theme compatibility template by copying it over from:
/my-theme/community/ or /my-theme/buddypress/
N.B. Inside the subfolder ‘community’ you must preserve the path structure/folders that exist in the BP original /buddypress/ folder so /activity/ must be created to hold index.php or any of the other activity templates.
If you are using a WP theme or theme that is subject to updates you must create a child theme of that theme and do all work in that, this avoids you losing any changes in a theme – guides for creating WP child themes are available on the WP codex.
@joost-abrahams buddypress.css is patched to resolve the issue and should be included in 2.4.1, thanks again for highlighting and testing issue.
It was amusing but when working on twentythirteen I came to realise that once the header was replaced with something better, it actually was a simple and very effective theme especially for BP and I actually came to prefer it over the subsequent twentysomething themes.
@joost-abrahams >2014 only exist on group pages, members pages no issues
Thanks for the testing, I’ll be adding a patch for BP styles later.
As r-a-y says we’ll get a patch together for 2.4.1
A Great job well done Imath!
This is an announcement post please report any issues in the forums.
Is this definitely related to BuddyPress, if not we can’t really help!
If mentioning plugins then please name them so we know what you are referring to.
At this stage with the level of detail you are providing we are not going to be able to help further.
If you need help then describe the situation in detail; BP versions, WP versions, and any plugins by name and action that are active and that relate to the issue.