How can I add a banner asking new users to register

I was going through the Monzo Community without logging in and I was shown this banner:

How can I add this to another Discourse based community as an admin?

2 Likes

Hey @Aswathy_Nambiar, welcome to Meta :wave:

The banner in your post is a built-in feature in Discourse. So, you don’t need to make any changes.

That banner will not show up immediately to all users who are not logged in. It follows this logic.

  1. the user must have a total reading time of at least 2 minutes
  2. the user must view more than two topics on your site

Once those conditions are met, the user will see that banner.

3 Likes

I think it’s automatic if you leave this ticked:

enable signup cta

Show a notice to returning anonymous users prompting them to sign up for an account.

2 Likes

Thanks @Johani!
What about the communication displayed in the banner? Is that automatic as well? Can I customise that?

2 Likes

Sure, there are two sections here that you can customize.

The intro text

js.signup_cta.intro

and the body of the message

js.signup_cta.value_prop

You can customize both of those if you go to

your.site.com/admin/customize/site_texts

and search for those keys.

7 Likes