incremental content - need help!

Discussion in 'Setting-up protection' started by holly, Dec 2, 2008.

  1. holly

    holly New Member

    Joined:
    Aug 22, 2006
    Messages:
    18
    I've installed the integrated content plugin, and it works fine. However, I can't figure out how to customize my members' experience.

    Here's what I want to do...

    I have one recurring membership, where I want to make new content available on a monthly basis.

    Once members join, I want them to log into a "members.html page" where links to the content will be included in the nav bar (INSTEAD of to the amember members page or the incremental content page).

    I want the content links in the nav bar to be the links to the incremental content... with JUST live links to the content they have access to now, and dead links to content they'll have access to in the future.

    Is there an easy way to do this?
  2. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    You can show available links, but not dead ones using the amember session variables for the incremental content.

    PHP:
    <?php
    session_start
    ();
    if (
    $_SESSION['_amember_links'])
    {
    echo 
    "<ul>";
    foreach (
    $_SESSION['_amember_links'] as $link_id => $link)
    {
    echo 
    "<li><a href=\"".$link['link_url']."\">".$link['link_title']."</a></li>";
    }
    echo 
    "</ul>";
    }
    ?>
    David

Share This Page