Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Required template files


  • Luke Mackenzie
    Participant

    @lukemack

    I’ve taken a look at https://codex.buddypress.org/themes/theme-compatibility-1-7/template-hierarchy/ but don’t see any mention of templates for activation and registration.

    I’m building a theme from scratch using roots which has the templates:

    • index.php
    • 404.php
    • base.php (this is a theme wrapper which injects header, footer etc)
    • single.php
    • page.php

    In the WP dashboard I see the error:

    The following active BuddyPress Components do not have associated WordPress Pages: Activate, Register. Repair

    Where can I find some more info on required theme templates and how to create a registration / activation template?

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

  • Luke Mackenzie
    Participant

    @lukemack

    I tried copying the registration subfolder from the bp-default theme but these don’t appear in the dropdowns at the repair link in the error message


    danbp
    Participant

    @danbp

    The following active BuddyPress Components do not have associated WordPress Pages: Activate, Register. Repair

    means that you haven’t installed correctly this 2 BP’s component pages. Read here to understand how this works:

    Configure BuddyPress

    BP 2.x is compliant with almost any theme. bp-default theme is no more used and only there for backwards compatibility.

    Templates are in bp-templates/bp-legacy/buddypress/


    Luke Mackenzie
    Participant

    @lukemack

    Thanks for your reply. I’m a bit confused. bp-templates directory contains bp-legacy and bp-themes/bp-default. I would expect one of those to be no longer used, probably the one marked legacy?

    Do I need to create new pages via the admin dashboard or new template files for the missing components? Or both?

    At the above link it states

    Pages are automatically generated for the BuddyPress components

    . This didn’t happen when I enabled the Buddypress plugin.


    danbp
    Participant

    @danbp

    Activation and registration are WordPress dependant and are not only “BP components”. These pages may not be created automatically, depending your WP settings… But according to the error message, you have now to create them.

    I understand that you are a bit confused, as you’re in a discovery phase of BuddyPress.
    But you should also understand that i can’t explain step by step the whole Codex (WP & BP!).

    I guess you have to read the doc very attentively. Searching the forum or simply reading some topics will also help you to understand how all this is working.

    Install first correctly WP and BP and use one of the Twenty theme, the time for you to learn a bit more. Once you’re comfortable with WP & BP, start your theme development.


    Luke Mackenzie
    Participant

    @lukemack

    Thanks again for your reply. For others with the same issue and to answer my question, you need to create the missing pages via the admin dashboard and then select those new pages in Settings -> Buddypress -> Pages tab -> Registration section


    @mercime
    Participant

    @mercime

    @lukemack this codex article explains it https://codex.buddypress.org/getting-started/register-and-activation-pages/

    Marking this as resolved.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] Required template files’ is closed to new replies.
Skip to toolbar