Skip to:
Content
Pages
Categories
Search
Top
Bottom

Buddypress registration

  • @camfriends

    Participant

    Hello i currently want to edit the text
    Check Your Email To Activate Your Account!

    You have successfully created your account! Please log in using the username and password you have just created.

    i have changed this in /plugins/buddypress/bp-themes/bp-default/registration/register.php

    <h2><?php _e( ‘Registration complete you’re all done!’, ‘buddypress’ ); ?></h2>

    <?php do_action( ‘template_notices’ ); ?>
    <?php do_action( ‘bp_before_registration_confirmed’ ); ?>

    <?php if ( bp_registration_needs_activation() ) : ?>
    <p><?php _e( ‘You have successfully created your account! To begin chatting you will need to download our client.’, ‘buddypress’ ); ?></p>
    <?php else : ?>
    <p><?php _e( ‘You have successfully created your account! Please log in using the username and password you have just created.’, ‘buddypress’ ); ?></p>
    <?php endif; ?>

    but does not seem to change anything any help would be appreciated.

Viewing 5 replies - 1 through 5 (of 5 total)
  • @hnla

    Participant

    As said all too often never ever edit any files in core!

    There is a template hierarchy that allows for overloading of files to a child theme for safely editing. You need to check through the Codex Documentation please, read up on the process of creating child themes, on the theme compatibility layer and it’s templates and how to modify.

    You don’t explain what process you are following in terms of themes, activated the older bp-default theme in appearance > themes, or activated another theme, as you say those edits didn’t take affect it suggests that in fact bp-default theme is not in use and that actually you are running under theme compatibility in which case using a different set of template files, but reading those guides in the codex will give you a better understanding of how BP deals with templates.

    As for changing labels ther is also a language file guide explaining how to edit the language files to produce a new version with the labels you require.

    @martinbeaulne

    Participant

    I have the same question as Ben.

    I know we shouldn’t modify core files. I know there are .po and .mo files for translations. But creating an entire .mo file for only one ( 1 ) more translation is overkill ( since poedit doesn’t let you just “add” an entry to an existing .po file ). ( http://stackoverflow.com/questions/7680021/how-to-add-a-new-string-to-a-po-file-w-a-po-editor )

    I have a third-party theme, and I’ve copied the buddypress folder in it. In members/ there is an “activate.php” file where I changed some text.

    But the “Check Your Email To Activate Your Account!” is not in activate.php, nor register.php, nor anywhere else.

    So, the question is simple: where is located the string “Check Your Email To Activate Your Account!” ?

    ( Let me guess something else: there is no translation in the official translation files for this specific string, maybe, because it just isn’t in the registration php files ? )

    I think that’s what Ben wanted too.

    @martinbeaulne

    Participant

    No one knows where this string is located ( in which file ? ) ?

    @guillaumes

    Participant

    Same problem… did you find a solution ?

    @mercime

    Participant

    closing this old topic guillaumes, as you have resolved this issue at https://buddypress.org/support/topic/change-text-after-user-registration/

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Buddypress registration’ is closed to new replies.
Skip to toolbar