rofflox (@rofflox)

Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thank you John for this thread.

    I’m currently working on the bbpress-plugin integration for my own themes. One point which is really annoying:

    If I add theme-support for bbpress, the plugin only looks for bbpress-templates inside my theme folder. If i haven’t any template files stored there, no fallback is implemented and therefore nothing is displayed.

    Wouldn’t it be nice, if bbpress looks first on the child-theme for its specific template-files, second at the parent-theme and last takes the builtin template-files from bbpress-twentyten theme?

    The drawback with the currently implementet solution is, that I have to copy every template-file over in my own theme. Regardless of the fact, that I only want to alter one specific template-file. Same goes for a specific css stylesheet.

    I looked at the sourcecode and it seems that i can hook into the filter “bbp_get_theme_compat” and simply de/register a new ‘bbpress-style’ stylesheet. But I think I’m not the only one which is looking for a solution inside bbpress-core.

    If I missed something, do not hesitate to correct me.

    Thanks

    Roman

    Thank you John for this thread.

    I’m currently working on the bbpress-plugin integration for my own themes. One point which is really annoying:

    If I add theme-support for bbpress, the plugin only looks for bbpress-templates inside my theme folder. If i haven’t any template files stored there, no fallback is implemented and therefore nothing is displayed.

    Wouldn’t it be nice, if bbpress looks first on the child-theme for its specific template-files, second at the parent-theme and last takes the builtin template-files from bbpress-twentyten theme?

    The drawback with the currently implementet solution is, that I have to copy every template-file over in my own theme. Regardless of the fact, that I only want to alter one specific template-file. Same goes for a specific css stylesheet.

    I looked at the sourcecode and it seems that i can hook into the filter “bbp_get_theme_compat” and simply de/register a new ‘bbpress-style’ stylesheet. But I think I’m not the only one which is looking for a solution inside bbpress-core.

    If I missed something, do not hesitate to correct me.

    Thanks

    Roman

    Figured it out. It seems that the shortcode [bbp-forum-index] points to the default templates. If I manually select the page-template on the edit page screen, everything works as expected.

    Thanks for the great work so far.

    As a theme author, I’m currently testing the integration of the different templates inside my own themes.

    Can you give me a hint where i can overwrite the existing template files and if it’s possible to store these specific templates in a own sub-directory? E.g.

    my-theme/
    my-theme/style.css
    my-theme/index.php
    my-theme/[...]
    my-theme/bbpress/
    my-theme/bbpress/single-forum.php
    my-theme/bbpress/[...]

    I’ve copied the template files from your “bbp-twentyten” theme to my own theme and added add_theme_support('bbpress') to the functions.php. The forum is working with the shortcode [bbp-forum-index], but the new templates aren’t loaded.

Viewing 4 replies - 1 through 4 (of 4 total)