Ghost subscribers (members?) in v3

After installing my ghost instance, making ssl work out, etc, I noticed that the {{subscribe_form}} is not working after updating to ghost v3.
I successfully reproduced this problem in my local machine with the latest ghost-cli and a new installation. (with my theme)

If someone wants, I can share the online url so you guys can see it happening.

How to reproduce:
Install the latest ghost-cli version, create a folder, and with your terminal in the folder:
ghost install local
The install finished and then I uploaded my theme and the problem still happened.

ghost doctor output:

✔ Checking system Node.js version
ℹ Ensuring user is not logged in as ghost user [skipped]
ℹ Checking if logged in user is directory owner [skipped]
✔ Checking current folder permissions
Instance is currently running
ℹ Validating config [skipped]
✔ Checking memory availability
✔ Checking binary dependencies

ghost --version output:

Ghost-CLI version: 1.13.1
Ghost version: 3.1.0 (at ~/Development/projects/savemeteacher)

my .hbs file that worked correctly in ghost v2:

<div class="subscribe">
    <div class="subscribe__half subscribe__half--email">
        <h3 class="subscribe__title">
            NEWSLETTER
        </h3>

        <p class="subscribe__description">
            Receba novidades e dicas em primeira mão
        </p>

        {{
            subscribe_form
            placeholder="Email"
            button_class="subscribe__button"
        }}
    </div>
</div>

I want to know if this is a bug in my theme or in the latest ghost,
I’m willing to (try to) create a PR solving this problem, if needed.

Thanks!

As far as I’m aware, the subscribe_form helper was dropped in 3.0 as part of the deprecation of subscribers

Oh, sorry. I didn’t notice that. I thought that subscribe_form was still a thing in v3.

Is there any way to display a “members form” in the new ghost?

I couldnt find it in the docs :confused:

Update:
Actually, the documentation says that it still exists in v3 :thinking:

1 Like

I’m guessing the docs are out of date :grimacing:

Docs for extending the members form are her :slight_smile:

2 Likes