# Restrictions on login\_required.welcome\_message

**URL:** https://meta.discourse.org/t/restrictions-on-login-required-welcome-message/42423
**Category:** Support
**Created:** [12 april 2016 om 04:46 UTC](https://meta.discourse.org/t/restrictions-on-login-required-welcome-message/42423 "2016-04-12T04:46:52Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Bluedevil](https://avatars.discourse-cdn.com/v4/letter/b/6bbea6/32.png) [@Bluedevil](https://meta.discourse.org/u/Bluedevil)
#### Post date: [12 april 2016 om 04:46 UTC](https://meta.discourse.org/t/restrictions-on-login-required-welcome-message/42423/1 "2016-04-12T04:46:52Z")

</div>

I’d like to create a more substantial message for users that visit our private forum’s login page.

Ideally, I’d like to embed a YouTube trailer for our gaming community, but the YouTube embed doesn’t seem to work pasted in this space (either as a direct link using the lazyYT plugin or with an iFrame).

What is permitted in the “Text Content” fields? Are there some hard limits on the styling it accepts that are similar to the restrictions on topics? Why do active account plugins not work on the page generated automatically (i.e., [forum.squadfubar.com/login](http://forum.squadfubar.com/login)) for visitors accessing our domain?

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [12 april 2016 om 05:56 UTC](https://meta.discourse.org/t/restrictions-on-login-required-welcome-message/42423/2 "2016-04-12T05:56:19Z")

</div>

I don’t know what you mean by login _page_.

But if you mean the Create Account modal there is a plugin outlet in it that might work.

I put a div in it and made the div 400x600 px to see what it would look like.  
With some clever CSS you might be able to be bang into something acceptable.

 ![](https://global.discourse-cdn.com/meta/original/3X/c/2/c2a2784cbd6c3b467f801449bec6114ce1576ca8.gif)

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [12 april 2016 om 06:19 UTC](https://meta.discourse.org/t/restrictions-on-login-required-welcome-message/42423/3 "2016-04-12T06:19:32Z")

</div>

No he means the login required landing page for a private site.

---

<div class="post-metadata">

### Author: ![Bluedevil](https://avatars.discourse-cdn.com/v4/letter/b/6bbea6/32.png) [@Bluedevil](https://meta.discourse.org/u/Bluedevil)
#### Post date: [13 april 2016 om 01:59 UTC](https://meta.discourse.org/t/restrictions-on-login-required-welcome-message/42423/4 "2016-04-13T01:59:54Z")

</div>

Yes @codinghorror is correct. I mean whatever is generated if you, for instance, [visited our forum right now](http://forum.squadfubar.com/).

You’d see a slightly modified text that I customized by editing “login\_welcome.welcome\_message”.

I’d like our landing page to feature our community’s YouTube trailer video.

Unfortunately, the plugin for lazyYT that automatically renders YouTube links into video in topics doesn’t work on this page, no matter what elements you customize the welcome message with.

I’m afraid @Mittineague I don’t know what a modal is, but the limitation seems not the be the CSS (some limited amounts do work) but rather that the welcome message doesn’t use plugins at all when rendering the customized text?

For the moment it’s all a bit beyond my understanding of how things get generated on the site.

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [13 april 2016 om 02:29 UTC](https://meta.discourse.org/t/restrictions-on-login-required-welcome-message/42423/5 "2016-04-13T02:29:08Z")

</div>

> [@Bluedevil](#):
>
> the welcome message doesn’t use plugins at all when rendering the customized text?

Hmmm. I’ve never seen that page. but then my localhost isn’t “private” and I’m usually logged in as one account or another.

It looks like that page is using static.hbs which does indeed have a plugin outlet

```hbs
<div class='container'>
  <div class='contents clearfix body-page'>
    {{plugin-outlet "above-static"}}
    {{{model.html}}}

    {{#if showSignupButton}}
      {{d-button action="showCreateAccount" class="btn-primary sign-up-button" label="sign_up"}}
    {{/if}}

    {{#if showLoginButton}}
      {{d-button action="showLogin" class="btn-primary login-button" icon="user" label="log_in"}}
    {{/if}}
  </div>
</div>

```

Other static pages do use that template - FAQ, TOS etc.  
So care would need to be taken to specifically target the login page.

---

<div class="post-metadata">

### Author: ![Martin\_Cole](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/martin_cole/32/109025_2.png) [@Martin\_Cole](https://meta.discourse.org/u/Martin_Cole)
#### Post date: [3 oktober 2018 om 05:39 UTC](https://meta.discourse.org/t/restrictions-on-login-required-welcome-message/42423/6 "2018-10-03T05:39:34Z")

</div>

Hi  
I have just had exactly that developed. Take a look here  
[https://forum.learningtotrade.com/login](https://forum.learningtotrade.com/login)  
You can set background image and a youtube video

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [3 oktober 2018 om 06:51 UTC](https://meta.discourse.org/t/restrictions-on-login-required-welcome-message/42423/7 "2018-10-03T06:51:07Z")

</div>

> [@Martin\_Cole](#):
>
> Hi  
> I have just had exactly that developed. Take a look here  
> [https://forum.learningtotrade.com/login](https://forum.learningtotrade.com/login)  
> You can set background image and a youtube video

@Angus has just shared more information on how to implement this here:

> [@Welcome page for private sites](https://meta.discourse.org/t/welcome-page-for-private-sites/98591):
>
> Repo: [GitHub - angusmcleod/discourse-welcome-page](https://github.com/angusmcleod/discourse-welcome-page) This theme lets you set a background image and a welcome youtube video for the login / signup page on a private Discourse. @Martin_Cole a new member of our meta community, sponsored the development of this theme for [Learning to Trade forum](https://forum.learningtotrade.com). The theme has 5 settings. It uses the same “lazy loading” that Discourse uses to load youtube videos in posts. Here’s an example:

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [17 juni 2021 om 06:18 UTC](https://meta.discourse.org/t/restrictions-on-login-required-welcome-message/42423/8 "2021-06-17T06:18:22Z")

</div>


