# A flyout to prompt new users to register?

**URL:** https://meta.discourse.org/t/a-flyout-to-prompt-new-users-to-register/33197
**Category:** Support
**Created:** [Septembre 14, 2015, 12:28 UTC](https://meta.discourse.org/t/a-flyout-to-prompt-new-users-to-register/33197 "2015-09-14T00:28:58Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![charleswalter](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/charleswalter/32/116433_2.png) [@charleswalter](https://meta.discourse.org/u/charleswalter)
#### Post date: [Septembre 14, 2015, 12:28 UTC](https://meta.discourse.org/t/a-flyout-to-prompt-new-users-to-register/33197/1 "2015-09-14T00:28:58Z")

</div>

Has anyone added a flyout on their site to drive new users to register? I’d want to make sure that we only show it if the user is not logged in. I assume there’s some JS value we can try to query on for that purrpose?

@cpradio, I like how this was done on [sitepoint.com](http://sitepoint.com)

 ![](https://global.discourse-cdn.com/meta/original/3X/3/1/3118acfb20ed2d8ca90149ed6c9a4119f477ead8.png)

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [Septembre 14, 2015, 12:43 UTC](https://meta.discourse.org/t/a-flyout-to-prompt-new-users-to-register/33197/2 "2015-09-14T00:43:16Z")

</div>

ping @santouras, can you provide any insight?

---

<div class="post-metadata">

### Author: ![santouras](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/santouras/32/108421_2.png) [@santouras](https://meta.discourse.org/u/santouras)
#### Post date: [Septembre 14, 2015, 1:03 UTC](https://meta.discourse.org/t/a-flyout-to-prompt-new-users-to-register/33197/3 "2015-09-14T01:03:28Z")

</div>

this was done on our site using some JS that gets served from a 3rd party ad partner. It’s basic scroll height detection then some animation. I’m not too much for JS myself so I can’t provide too many specifics other than that sorry!

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [Septembre 14, 2015, 1:51 UTC](https://meta.discourse.org/t/a-flyout-to-prompt-new-users-to-register/33197/4 "2015-09-14T01:51:06Z")

</div>

What about this? 😛

> [@Signup call-to-action when you read for a while](https://meta.discourse.org/t/signup-call-to-action-when-you-read-for-a-while/32228/):
>
> When people browse around reading topics anonymously, they aren’t getting their read time saved to the server, and their visits don’t count for promotion. But most importantly, the last read position doesn’t get saved, so they don’t enter where they left off. I want to let these people know what they’re missing out on. When logged in as anon, instead of throwing out post read time data, save it to localStorage. Save visits to localStorage too (one per calendar day). On the second visit if rea…

> ![](https://global.discourse-cdn.com/meta/original/3X/e/9/e9793c972a6c729bba2b2cf4ec914f9815d1678e.png)

---

<div class="post-metadata">

### Author: ![charleswalter](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/charleswalter/32/116433_2.png) [@charleswalter](https://meta.discourse.org/u/charleswalter)
#### Post date: [Septembre 14, 2015, 12:35 UTC](https://meta.discourse.org/t/a-flyout-to-prompt-new-users-to-register/33197/5 "2015-09-14T12:35:25Z")

</div>

Very cool @riking. Very excited about that!

I am also thinking about first time users who land on a topic page from a search engine or Facebook. We had over 4000 new users to the site yesterday, but only 11 registrations.

I think a simple flyout for these users would be helpful to welcome them. Perhaps I take them to a particular topic instead of directly to registration. Speaking of which, I’m not sure how I would link to. Some JS function I imagine.

I was just thinking I would add the code as part of the HTML header.

---

<div class="post-metadata">

### Author: ![charleswalter](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/charleswalter/32/116433_2.png) [@charleswalter](https://meta.discourse.org/u/charleswalter)
#### Post date: [Septembre 18, 2015, 7:38 UTC](https://meta.discourse.org/t/a-flyout-to-prompt-new-users-to-register/33197/6 "2015-09-18T19:38:59Z")

</div>

If someone could provide me a JS check to know if a user was logged in or not, that would be very helpful 😄. And if there were a way to activate the Register overlay via JS.

---

<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: [Septembre 18, 2015, 7:54 UTC](https://meta.discourse.org/t/a-flyout-to-prompt-new-users-to-register/33197/7 "2015-09-18T19:54:56Z")

</div>

Here’s what the final version of this looks like that will ship in Discourse 1.4

 ![](https://global.discourse-cdn.com/meta/original/3X/f/8/f8e11c7a8173773917f566ecad43c689d6585d89.png)

The only requirements are minimum read time (5 mins) and minimum topics entered (3). You can turn these requirements way down in site settings if you want it to show more often to more anonymous users.

Thanks again to @riking for putting this together as 100% his idea, it is a fantastic addition.

---

<div class="post-metadata">

### Author: ![charleswalter](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/charleswalter/32/116433_2.png) [@charleswalter](https://meta.discourse.org/u/charleswalter)
#### Post date: [Septembre 18, 2015, 8:19 UTC](https://meta.discourse.org/t/a-flyout-to-prompt-new-users-to-register/33197/8 "2015-09-18T20:19:48Z")

</div>

Awesome! Can I preview the Spanish? or have someone from my team provide it?

If I turn it down to 0 and 0, will it show on the topic that a user lands on? 😄

Small comment, but the word track : 😯 sounds a bit invasive, as opposed to remember or store. But perhaps that’s too subjective.

Does this show up on any page of the site or only on topics? I think it makes more sense for topics only, as might be out of context on category top level pages.

Still wondering if there’s a way to emulate a Sign Up link via some javascript function / anchor tag. I would like to include them in my welcome topics and perhaps some other places.

---

<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: [Septembre 18, 2015, 8:26 UTC](https://meta.discourse.org/t/a-flyout-to-prompt-new-users-to-register/33197/9 "2015-09-18T20:26:23Z")

</div>

Good idea, I’ll change “track” to remember right now!

You can play with this feature on [http://try.discourse.org](http://try.discourse.org) – enter anonymous mode in your browser and begin reading topics there. Eventually you’ll see this banner at the bottom of every topic, if you read enough (see my description of the site settings above).

Translations are always welcome, see [https://www.transifex.com/discourse/discourse-org/](https://www.transifex.com/discourse/discourse-org/)

---

<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: [Novembre 8, 2018, 3:11 UTC](https://meta.discourse.org/t/a-flyout-to-prompt-new-users-to-register/33197/10 "2018-11-08T03:11:07Z")

</div>



---

<div class="post-metadata">

### Author: ![csandstedt](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/csandstedt/32/170079_2.png) [@csandstedt](https://meta.discourse.org/u/csandstedt)
#### Post date: [Avril 1, 2020, 8:31 UTC](https://meta.discourse.org/t/a-flyout-to-prompt-new-users-to-register/33197/11 "2020-04-01T20:31:43Z")

</div>

> [@codinghorror](#):
>
> Vous pouvez réduire considérablement ces exigences dans les paramètres du site si vous souhaitez qu’elles s’affichent plus souvent pour plus d’utilisateurs anonymes.

Où se trouvent les paramètres pour cette fonctionnalité merveilleuse ? Tout ce que je vois dans nos paramètres est « activer l’appel à l’action d’inscription ».

---

<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: [Avril 1, 2020, 11:14 UTC](https://meta.discourse.org/t/a-flyout-to-prompt-new-users-to-register/33197/12 "2020-04-01T23:14:14Z")

</div>

Je ne me souviens plus si nous avons configuré les paramètres ici, @riking, tu te souviens ? C’est grâce à ton excellent travail que tout cela a commencé !

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [Avril 6, 2020, 6:38 UTC](https://meta.discourse.org/t/a-flyout-to-prompt-new-users-to-register/33197/13 "2020-04-06T18:38:08Z")

</div>

Hmm, non, je ne pense pas que les seuils étaient configurables. Je sais qu’ils ont été modifiés à plusieurs reprises, mais il se peut qu’ils n’aient jamais été déplacés vers les paramètres du site.

---

<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: [Avril 28, 2024, 12:17 UTC](https://meta.discourse.org/t/a-flyout-to-prompt-new-users-to-register/33197/14 "2024-04-28T12:17:31Z")

</div>


