Posting pages with downloadable materials based on role security

Author Message
aeroskiman

  • Total Posts : 2
  • Reward points : 520
  • Joined: Jun 15 '09
  • Status: offline
Posting pages with downloadable materials based on role security - Tue. Jun 16, '09 7:44 AM ( #1 )
Hello,


We're going to create a membership site with forums, calendar and some other features, i'm not sure i see - or just don't understand how to implement optimally.  Can you please tell me the following:

1. it is possible to create pages (with links on the toolbar) based on role permissions that just have files to download on them

2. is it possible to make these downloadable file pages based available to users based on the amount of time they have been enrolled.
e.g.
Download page 1 is available to a user immediately
Download page 2 is available to a user after 1 month
Download page 3 is available to a user after 2 months

3. is it possible to send users emails notifying them when their the pages from the questions #2 become available

thanks
Samuel

  • Total Posts : 10752
  • Reward points : 85350
  • Joined: May 23 '01
  • Status: offline
Re:Posting pages with downloadable materials based on role security - Tue. Jun 16, '09 10:52 AM ( #2 )
Hi Aeroskiman,

Thanks for your questions and let me answer them one by one:
  1. Yes. You can use our Role Provider to build a page where you can check the role status of the current logged on user (Role.IsUserInRole), and present the interface based on your own logic.
  2. Yes. You can use our Membership Provider to get the MembershipUser.CreationDate for the current logged on user, and do whatever you want based on this value.
  3. Yes, but to do so you will need to build a page to check the membership table (pgd_members) with this logic (not exact code):
    SELECT emails where dateSignup > (today - 30 days or 60 days)
    and you can send emails based on this list of emails.
Let me know if you have other questions.
ASPPlayground.net Developer
aeroskiman

  • Total Posts : 2
  • Reward points : 520
  • Joined: Jun 15 '09
  • Status: offline
Re:Posting pages with downloadable materials based on role security - Tue. Jun 16, '09 10:54 AM ( #3 )
thanks so much for the answers - that is exactly what i wanted to hear

i'm just waiting for a trial download - i verified yesterday, but have not been able to download the trial yet
Samuel

  • Total Posts : 10752
  • Reward points : 85350
  • Joined: May 23 '01
  • Status: offline
Re:Posting pages with downloadable materials based on role security - Tue. Jun 16, '09 11:08 AM ( #4 )
The trial download is right here:

http://www.aspplayground....est-Trial-m397440.aspx

The link to it should have been sent to you in an email. Anyway, just click on the link above to download.
ASPPlayground.net Developer

The admin has set up some restrictions to prevent link (URL) SPAM.
Details...
  Enter the code shown; Click image to refresh.
Post Message Preview
Jump to:

Current active users
There are 0 members and 1 guests.
Icon Legend and Permission
  • New Messages
  • No New Messages
  • Hot Topic w/ New Messages
  • Hot Topic w/o New Messages
  • Locked w/ New Messages
  • Locked w/o New Messages
  • Read Message
  • Post New Thread
  • Reply to message
  • Post New Poll
  • Submit Vote
  • Post reward post
  • Delete my own posts
  • Delete my own threads
  • Rate post

© 2000-2009 ASPPlayground.NET Forum Version 3.6