Skip to:
Content
Pages
Categories
Search
Top
Bottom

overwrite form-user-register.php message


  • haddly
    Participant

    @haddly

    Hey,
    I have my own plugin that i add snippets to occasionally.
    I want to add my own registration message to the forum, but i assume that with every bbpress update, it will get overwritten if i change it in the form-user-register.php file directly.
    can you tell me how to overwrite the message please with an additional function?
    thx

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

  • Robin W
    Moderator

    @robin-w

    create a directory on your theme called ‘bbpress’
    ie wp-content/themes/%your-theme-name%/bbpress

    where %your-theme-name% is the name of your theme

    find
    wp-content/plugins/bbpress/templates/default/bbpress/form-user-register.php
    Make a copy of this file, and put in in the directory called bbpress that you created above, so you end up with
    wp-content/themes/%your-theme-name%/bbpress/form-user-register.php
    bbPress will now use this template instead of the original
    and you can amend this file.


    haddly
    Participant

    @haddly

    Hi, thanks for the quick response.
    I also want to change the message in German.
    but i have two files:
    one is wp-content/plugins/bbpress/languages/bbpress-de_DE.po
    and one is wp-content/languages/plugins/bbpress-de_DE-formal.po

    I have tried adding a dir after bbpress in my theme i.e. mytheme/bbpress/languages/bbpress-de_DE.po
    and then changing the translation in this .po file, but this hasnt worked.
    Any ideas?


    haddly
    Participant

    @haddly

    Hey, any ideas on the last question?

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Skip to toolbar