Monthly Content

Discussion in 'Customization & add-ons' started by samk, Sep 4, 2008.

  1. samk

    samk New Member

    Joined:
    Sep 4, 2008
    Messages:
    1
    Hi,
    Im having some trouble with building my site at the moment and was wondering if anyone could help?

    Its a membership site where each month customers get new content, which i have sorted out with incremental plugin so even if someone signs up 5 months after launch they will only see the first month.

    The problem i have is that when the user logs in they are redirected to the members homepage, i want to set this page up so that one section will show a paragraph of what they will get next month - but obviously this cant be static because members could be on different stages of their membership.

    So is there anything I can do to show customers that are in their first month what month2 contains and customers in their second month what month3 contains?
  2. jimjwright

    jimjwright New Member

    Joined:
    Sep 12, 2007
    Messages:
    162
    Hello,

    You could create a new db table as follows:

    id, int(11), auto-increment
    description, text

    Where you would create a db entry for each month's description. Then based on members "added" field in amember_member db table and the current date calculate the right index to pull description from above defined table to display for next month's coming attractions.

    Jimmy

Share This Page