[Resolved] Can’t create layout for bbPress user profile
This thread is resolved. Here is a description of the problem and solution.
Problem:
The issue here is that the user wanted to to use our Layouts plugin to create a custom layout for the BBpress user profile page.
Solution:
Unfortunately this isn't possible as BBpress doesn't uses a page template to do its profile pages but rather has its own internal template that is loaded when the page is visited. So we are not able to customize this page with our Toolset plugins.
This support ticket is created 6 years, 10 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
I'm using Toolset (inluding layouts) together with bbpress. Unfortunately it's not possible to display the forum user profiles. There is no obvous way to assign a layout. When asked to create a layout in the frontent (see screenshot), an error message appears saying 'invalid parameters' (see screenshot 2).
User profile url: /forums/users/myuser/
After clicking 'Create a new layout for' (type name is missing here because it doesn't seem to be a type) it navigates to:
where the error message 'invalid parameters' is displayed (second screenshot).
What's the proper way to get the forum user profile output like in the wp-types forum? Ideally I'd like to enhance that view to allow general profile editing actions, so the general wordpress user profile and forum specific details can be seen in one page.
the Toolset support forum seems to use some clone version of bbPress, so the exact same thing should be fixed here (as long as this site is built using Toolset layouts at all?)
Our forum is a highly customized version of bb forums so our developers might have created even a custom bb template. I'm not too familiar with the forum plugin's templating so once I'm able to login i'll be able to say what the issue is.
So the issue here is that you're not able to set a layout for the user's profile page but rather this needs to be customized using php.
However the main issue as to the theme asking you to assign a layout is because the theme doesn't seem to have a default option if Layouts or Views can't set a template.
I'll be reporting this to our development team so that this can be improved, I'll report to you any news on this.
So the first issue is that our Toolset Starter theme is meant to work with our Layouts and Views plugin, so if you're working with this theme and the plugins then its assumed that you will be fully customizing the site.
I would recommend using a theme that doesn't force the use of Layouts or Views once its active. As expressed before the BB forums templates are hardcoded and we can't adjust them using our Views or Layouts plugin, hence why the profile page isn't showing up because its expecting a template from views or layouts.
Essentially if you want to style the profile pages it would need to be hardcoded.
thanks for your reply. So is there a way to override the 'enforcing the use of Layouts or Views once its active' for a specific page? A filter/hook or function override, that would help.