Anyone know of scripts like this?

Discussion in 'PHP' started by nigeps, Oct 15, 2006.

  1. #1
    Basically, I need a script that will allow me to have two sections to my site, the first being the "free" area, which will have less content, and the "members" area, access will be given after a user has referred 5 or more friends. Does anyone know a script that will allow me to do this, or am I going to have to work it all out myself :p

    Thanks
     
    nigeps, Oct 15, 2006 IP
  2. penagate

    penagate Guest

    Messages:
    277
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Depends. What does your site do?

    If it's like a forum, you could modify the code slightly to promote a user to the privileged user group upon gaining 5 referrals.
     
    penagate, Oct 15, 2006 IP
  3. nigeps

    nigeps Active Member

    Messages:
    274
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    55
    #3
    Nah not like a forum. Basically the site offers pictures for the free members and videos for those that have refered x ammount of people.
     
    nigeps, Oct 16, 2006 IP
  4. ketan9

    ketan9 Active Member

    Messages:
    548
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    58
    #4
    You would be better off coding it yourself because most of the open source scripts are geared towards commonly used applications. So if your site is custom then it would be best to code it up yourself and it is not difficult once you get into it :)
     
    ketan9, Oct 16, 2006 IP
  5. smallbizstartupkit

    smallbizstartupkit Well-Known Member

    Messages:
    163
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    108
    #5
    I agree with ketan9. Personally, I would make a Role Based Access Control menu system which makes tailoring this application very simple. So basically based on the role your user has dictates what pages she sees and/or what menu link she sees. Does that make any sense?

    But what you are proposing is fairly simple but I do not know of any open source solutions that specifically handles this. But with enough searching you may find what you need or maybe someone else can provide some insight. Best of luck!
     
    smallbizstartupkit, Nov 1, 2006 IP