Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New Coder
    Join Date
    May 2010
    Posts
    28
    Thanks
    2
    Thanked 0 Times in 0 Posts

    How to create a user subscription system

    Does anyone have any tutorials for a user subscription system?

    Like, if a user contributes X, they get to see extra pages etc?

    Thank you.

  • #2
    Regular Coder
    Join Date
    Jul 2003
    Posts
    262
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Preemo, this is a vague request. Is this going to plug into some other software, like a forum, blog, or other user based system? Do you already have a database set up for your registered users? Are you using sessions on your site now?

    More information will be needed to provide help...

  • #3
    New Coder
    Join Date
    May 2010
    Posts
    28
    Thanks
    2
    Thanked 0 Times in 0 Posts
    I'll be using this http://footiefanatics.co.uk/user/index.php registration system.

    I just wanted to know if there was a way to implement it into my current system?

  • #4
    Super Moderator
    Join Date
    Feb 2009
    Location
    England
    Posts
    539
    Thanks
    8
    Thanked 63 Times in 54 Posts
    There's a discussion about it: http://ideas.mybb.com/idea/2-pronged...upgrade-member

    Implementing such a thing would be a big job though.
    lamped.co.uk :: Design, Development & Hosting
    marcgray.co.uk :: Technical blog

  • #5
    Regular Coder
    Join Date
    Jul 2003
    Posts
    262
    Thanks
    1
    Thanked 0 Times in 0 Posts
    I'm assuming the link you provided is your current system/site.

    I've worked with a couple of non-profit groups that were managing paid and unpaid users, though it had nothing to do with forum access. Here are a few thoughts that may be useful to you.

    - If you use a service such as Paypal web payments, force the user to sign in first, make payment, then return them to a "payment complete" page on your site that will update your database. You can make use of their user id if you know where to find it in the session.

    - You'll probably want to create a new table to handle your membership status including the user id and an effective date.

    - Decide how you're going to expire them. An effective date is a simple way, but you need to query the database for every user at least once per session. Using CRON to automate a script to expire members is another option, run once per day to check all members.

    - You might consider using user groups (if your forum supports them) as a way to manage which forums paid members have access to. This is simple, but will require some level of automation to add/remove users from the paid user group.


    Any time you're setting up a system where multiple pieces need to shake hands... it's a lot of work. This shouldn't be too difficult, but not exactly a quick and easy job.
    Last edited by mothra; 12-01-2010 at 08:54 PM.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •