Seeing only incremental content paid for so far...

Discussion in 'Integration' started by benedict, Jun 22, 2011.

  1. benedict

    benedict New Member

    Joined:
    Jun 10, 2011
    Messages:
    11
    I have set up Incremental Content Plugin.

    On the Product URL I have put on all the lessons names with links on that page. As I am using a dripfeed method, they only have access to some of the files. The only way that they can find out is by clicking on the link. If they are allowed access to that file then they are taken to it. If they are not allowed access to it yet they are taken to a screen telling them that "Access to this Membership Area is not allowed...".

    Ideally I would like only the lessons that they are allowed access to so far to appear on the page. Is there a way of doing that?
  2. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    How are you displaying the links?
    On a page you created or an amember link?

    Did you use the php code suggested?

    David
  3. benedict

    benedict New Member

    Joined:
    Jun 10, 2011
    Messages:
    11
    Hi David,

    Your colleague helped me out and gave me the link: /amember/plugins/protect/incremental_content/index.php?product_id=1
    with the 1 replaced by my real product id. That worked great and provided the customer with only the folders that he/she has access to.

    The only problem now is that when the customer clicks on the link, it opens up the folder with the index of programs within that folder instead of opening the html file/page with the video. It's not as attractive for customers, and a lot of them wouldn't know which file to open. Is there a way to set it up so that it opens the file instead of the folder?

    Best Regards,
    Benedict
  4. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Create index.html file within that folder.
  5. benedict

    benedict New Member

    Joined:
    Jun 10, 2011
    Messages:
    11
    Ah great! Thank you Alexander! I've renamed the video index.html and it takes it directly to it when I click on the link. Wonderful! :D

    Referring back to /amember/plugins/protect/incremental_content/index.php?product_id=1 page:

    I don't know if I want to keep "Incremental Content" at the top. Which part of the code do I need to delete?

    The other thing is that the videos that they will have access to are divided into separate projects. Is it possible that they are faced on this page with the projects, which they then click and they are taken through to the subfolder with all the relevant video links?

    Also, is it possible to organise the links vertically rather than horizontally, and what do I need to change in the file to achieve this?

    Thank you for your help with this. :)

    Best Regards,
    Benedict
  6. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Sure this is possible to modify template this way. Contact us in helpdesk we will help.

Share This Page