Home Forums Newsletter Plugin Support Get user variables on custom template page

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #14622
    Alex
    Participant

    Hi,

    In my blog I have a custom page that needs to get some subscriber variables like the name. How can I get them?

    Thanks!

    #14625
    Stefano
    Keymaster

    Hi, a subscriber is not a logged in user, so even if the current visitor has subscribed is not always possible to recognize him. Can you explain me better which page you need so I can try to find a solution to your need?

    Thank you, Stefano.

    #14626
    Alex
    Participant

    I’m using the content lock feature and I would like to get some variables inside the protected content like so:

    [ newsletter_lock]
    Hi {name}, your are seeing this content because you are subscribed to our newsletter. Be sure to keep it that way, or you will not be able to see it anymore…
    [ /newsletter_lock]

    Is this possible?

    I must say that the register feature is not enabled on my blog…

    Thanks!

    #14630
    Stefano
    Keymaster

    Hi, no actually is not possible without a bit of coding. I’ll check if that feature can be easily enabled, probably it is, since in the content locking context the subscriber is known.

    #14632
    Alex
    Participant

    ok! Thanks!

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.