Home Forums Newsletter Plugin Support Using subscriber-data in (php-)templates, is there an API/class one can use?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #16558
    Ivo Vandeberg
    Participant

    Hi everybody,

    I’d like to integrate subscriber-data in the template files. – Like the e-mail address, the ip-address and the date when the subsciber has subscribed. – I know about the “replacement tags” but they don’t (seem to) work when used in the template files. I could go fishing around in the database myself, but I was wondering whether there’s an API/class/object that’s available for accessing the subscriber’s data.
    I also had a look at the section “Newsletter Internals”. It says that that section is for “members”. I created an account but that doesn’t appear to be enough. Is that section only accessible after you buy the premium extensions?

    Thanks in advance for your reply!

    #16577
    Stefano
    Keymaster

    Try to declare a global $user; and use this object. It should work.

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