Hidden Phrases: (Customer Communities standard) Login / Registration pages

  • 5 February 2019
  • 42 replies
  • 2793 views

Userlevel 2
Badge +3
  • Gainsight Employee: ACE
  • 882 replies

Some text strings on the community cannot be edited with our live-edit tool, e.g. when you can only see a text string when you are not logged-in. In these cases, you will have to add the phrase manually. For this you will need to know the codes so you can add it via the Control environment in Control → Customization → Phrases.

In this topic you can find the details to change the phrases on your login & registration pages.
 

Note: This only applies to the standard Customer Communities login / registration, not login via SSO!


How to change a text

  1. Navigate to Control → Customization → Phrases.
  2. Click Add phrase
  3. Add Module and Key in the details panel (see list of modules and keys below)
  4. Provide Translations in the Translations panel
  5. Click Save changes, your new phrase should be applied

 

The login page

 


1. Title
Module: Common
Key: login.detail.title

2. Description*
Module: Common
Key: login.detail.descriptionWithRegistrationLink 

*Add the variable {registrationLink} to the description to include a “Create account” link

Create account link
Module: Common
Key: common.loginBox.register

3. Username or Email
Module: Common
Key: loginBox.usernameOrEmail

4. Password
Important: Changing this will also change the phrase on the registration page
Module: Common
Key: loginBox.password

5. Remember me
Module: Common
Key: loginBox.rememberData

6. "Log in" button
Module: common.loginBox.login
Key: Login

7. Forgot password?
Module: common.loginBox.forgotPassword
Key: Forgot password?

 

Login page error messages

 

Invalid username/password:
Module: Common
Key: validation.login.invalid

 

The registration page

 

99bd92b4-0fb4-4832-beed-75ad3246bbef.png


1. Title
Module: Common
Key: registration.detail.title


2. Description*
Module: Common
Key: registration.detail.descriptionWithLoginLink

*Add the variable {loginLink} to the description to include a “Login” link

Login link
Module: Common
Key: registration.detail.loginLink

3. Username
Module: Common
Key: loginBox.username

4. Email Address
Module: Common
Key: loginBox.emailaddress

5. Password
Important: Changing this will also change the phrase on the login page
Module: Common
Key: loginBox.password

6. I accept the terms & conditions*
Module: Common
Key: loginBox.terms
*Will automatically be replaced by the system with your platform terms url

7. Register button
Module: Common
Key: loginBox.register.button

 

Registration page error messages

 

48377713-b968-400e-8a84-db43ff4c23c1.jpg


Please accept the terms of use
Module: Forum
Key: Forum condition not accepted

E-mail address is required
Module: common.models.user
Key: email_required

You haven't entered user profile field*
Module: Common
Key: validation.genericProfileField.required
*This error is being displayed when a mandatory custom profile field has not been entered by the user. The text is using a variable to name the custom profile field that this error is about.

 

f8a2fbb6-4556-49f2-8e72-bbb99580c2a2.jpg


The username needs to have at least 3 characters and not more then 30 characters.
Module: Forum
Key: The username needs to have at least 3 characters and not more then 30 characters.

E-mail address is invalid
Module: Forum
Key: E-mailaddress is invalid

A minimum of 6 characters is required
Module: Forum
Key: Password need to contain at least 6 characters

 

We cannot process your registration. Please contact the moderator
Module: Common
Key: registration.spam_prevention.error

 

Your username appears to be a phone number. Please try another username.
Module: Forum
Key: validation.username.is.phone.number

 

Your username contains restricted text. Please try another username.
Module: Forum
Key: validation.username.restricted.text

 

Private community registration page:

 

1.Let’s get started:
Module: Common
Key: privateState.register.title

 

2.Use the activation code…
Module: Common
Key: common.visibility.unlockregistration.description

3.Do you already have an account
Module: Common
Key: privateState.register.alreadyhaveaccount

 

4.Login link
Module: Common
Key: common.visibility.private.link.login

5.Activation code
Module: Common
Key: Activationcode

 

Phrases for custom profile fields: 

1.(Private)
Module: Common
Key: profilefield.visibility.private.label

2.Tooltip text
Module: Common
Key: profilefield.visibility.private.description

 

UPDATE: 

An easier way to change login and register pages is now available. While logged in as an admin you can change the phrases as you normally do by going to the following URLs

Login Page: your-community/member/login?live_edit=1

Registration Page: your-community/member/register?live_edit=1

*Note: the registration page does not work for private communities that use a registration code.

 


42 replies

Hi @lfabbro, no trouble! Try this phrase instead:

 

Module: Forum

Key: Username or e-mail

Translation: whatever you wish!

Hello! Is there a way to add images or a logo to this page to customise it a bit more? 

I am trying to bring back the link to the Community Terms here. What am I doing wrong?

 

@ryanne.perry you need to add the HTML markup. For example:

By checking this box and creating your profile, you agree to our <a href="#">Bynder Community Terms</a>

Where “#” should be the URL to your T&Cs

As always, thank you for your support @Scott Baldwin 😀

Userlevel 1
Badge

Is someone able to let me know which phrase I should use (and perhaps just confirm all syntax) to edit the placeholder text that’s placed in the ‘create a topic’ modal text box under ‘title’?

 

@matt enbar I reckon you’ll know this one…!

 

*edit*: I’m not sure what I was thinking but I’m able to edit this phrase on the front end. 

 

What I do need help with is editing the placeholder text within the body of the topic in the ‘create a topic’ modal text box under ‘Description’

@timcavey 


Your text will go under “singular”

Userlevel 1
Badge

Awesome thanks @Scott Baldwin - I think I finally understand how to add phrases now. 

 

One follow up question: how to input a blank placeholder?

@timcavey I’ve just used a non-breaking space when I want a blank value (there may be a better way), that is this code:

&nbsp;

 

Hi hi! This is very helpful 🙂 Is there a way to remove the Log in link from this banner? We are making our users start from scratch with the registration process this can be confusing. Thank you! 

 

Userlevel 2
Badge +3

Thanks for sharing this, happy to help you further. This actually is an interesting one, be aware that the description text (Do you already have an account?) and the hyperlink itself are two different phrases. For completion:

 

The description text itself is using:

Module: Common

Key: privateState.register.alreadyhaveaccount

The hyperlink itself is using:

Module: Common 

Key: common.visibility.private.link.login

 

For you, it probably will be the easiest to hide this phrase by entering the following:

&nbsp;

This will basically replace it with an empty value.

 

Maybe this overview can help you or others as well:

 

Hi @Julian ! Thank you so much, it worked like a charm ⭐️

Hi! Is this page still working? Registration Page: your-community/member/register?live_edit=1

I’m able to access the login page, but the registration page is taking me to a page for Forum error 403

Thank you!

I seem to be having trouble changing the ‘Password’ field to ‘Choose a password’ on the registration page. Anything look obvious here as to what I might be doing wrong?

 

 

Userlevel 2
Badge +3

I think you made a small copy-paste error here: 

You have copied the description / title of the Module into the field as well (“Module: “). So the platform does not find the phrase. You only have to add “Common” under the [Module] field:

 

Edit: I fixed that for you already in your community, btw. ;)

 

While we are speaking about this, here a super easy way to update the phrases on the login / registration page:

Even while logged in, you can go to the dedicated registration / login pages and activate the phrases mode there. Simply adjust these urls and edit the phrases directly on the page:

https://your-url.com/member/register?live_edit=1

https://your-url.com/member/login?live_edit=1

Hope this helps! :) 

Super thanks @Julian !

Hello

how can I add message under the Login button like in this example? I tried following phrase but doesn't change anything:

7. Forgot password?
Module: common.loginBox.forgotPassword
Key: Forgot password?

 

 

Reply