Display a msg. for members w/ specific subscription

Discussion in 'Customization & add-ons' started by amy swift, Feb 21, 2009.

  1. amy swift

    amy swift New Member

    Joined:
    Jan 31, 2009
    Messages:
    4
    This should be possible, but I don't know how!

    What I want to do is display a message on a page only if a member has a specific subscription. I imagine there would be an 'if' statement that I can use for this.

    Any help?

    Thanks!
  2. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    Is this in the members page or an outside php page?
    In the member.html page:

    {foreach from=$products item=p}
    {if $p.product_id eq "1"}
    what you want to say.
    {/if}
    {/foreach}

    David
  3. amy swift

    amy swift New Member

    Joined:
    Jan 31, 2009
    Messages:
    4
    Actually I want to put it in an outside php page.

Share This Page