Web Design and Development Forums

Paid Membership Access - how?

This is a discussion on "Paid Membership Access - how?" within the PHP Forum section. This forum, and the thread "Paid Membership Access - how? are both part of the Program Your Website category.


Go Back   Webforumz.com > Program Your Website > PHP Forum

Welcome to Webforumz.com.
Register Now Register now!

Reply
 
LinkBack Thread Tools Rate Thread
Old Apr 29th, 2008, 22:11   #1 (permalink)
Junior Member
 
Join Date: Jul 2005
Location: Lethbridge, Alberta
Posts: 17
Paid Membership Access - how?

I'm looking to create a paid 'membership access' section of a website. I know how to create a "members" section of a website so that any access to pages within a certain folder will require the viewer to enter a username/password which will grant them access for the time they are on that website.

But that would be just a set of pre-set credentials. How do you do it when the member has to pay for that membership?

I can set it up so we can take payment and information from the user, but how do I take a username and password? I can have them create that prior to the purchase I'm thinking.

And than depending on the type of membership that they purchase (monthly, annually, bi-annually) how will I get it so that their account will expire at the end of their term?

I know this may be a little work to get going, but it is required and soon!

I am working in a PHP\MYSQL environment.

Thanks,
Josh
joshlindem is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Apr 30th, 2008, 18:15   #2 (permalink)
Lead Administrator
 
saltedm8's Avatar
 
Join Date: Nov 2005
Location: Always About
Age: 27
Posts: 1,062
Blog Entries: 1
Send a message via MSN to saltedm8
Re: Paid Membership Access - how?

look into cms systems, i would suggest http://www.joomla.org , they have loads to plugins to choose from, you can usually find what you want, - it is a complicated system to learn, but once you do, there are virtually limitless possibilities that are easily executable
__________________
recipebite.co.uk - its a working progress...

Last edited by saltedm8; Apr 30th, 2008 at 18:22.
saltedm8 is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old May 1st, 2008, 21:01   #3 (permalink)
Junior Member
 
Join Date: Feb 2008
Location: Michigan
Posts: 23
Re: Paid Membership Access - how?

Seems to be there's got to be a php script out there that gets this functionality by working with a standard .htaccess authentication method. So, when the user pays some code is triggered that adds the username and password to the file. When a user's time is up or revoked or whatever, that line is deleted from the file.
awatson is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old May 1st, 2008, 21:46   #4 (permalink)
Nerdy Moderator
 
CloudedVision's Avatar
 
Join Date: Feb 2008
Location: In My Own Little World
Age: 14
Posts: 520
Blog Entries: 4
Re: Paid Membership Access - how?

Quote:
Originally Posted by awatson View Post
Seems to be there's got to be a php script out there that gets this functionality by working with a standard .htaccess authentication method. So, when the user pays some code is triggered that adds the username and password to the file. When a user's time is up or revoked or whatever, that line is deleted from the file.
I think it would more be a database system and not use .htaccess. .htaccess authentication is mainly only used for systems that only have a few users, such as administration tools.

One of these might work: http://www.hotscripts.com/PHP/Script...ion/index.html

with a little bit of editing im sure you can add a payment gateway into there.
__________________
Take it easy

Other Road Design

WebForumz Moderator: HTML | Javascript | PHP
CloudedVision is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old May 2nd, 2008, 07:08   #5 (permalink)
 
Join Date: Apr 2007
Location: Scotland, UK
Age: 15
Posts: 1,750
Send a message via MSN to Marc Send a message via Skype™ to Marc
Re: Paid Membership Access - how?

If you have got a basic user database, and login system... you can easily add a column to your database called "userlevel" - this will be a number.

Then at the top of the page that you only want them to see, just a simple if() statement is required to see if the user matches that number.

If you need any further assistance in doing this, say.

Cheers
Marc
__________________
I'm back!!!!
Marc is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old May 8th, 2008, 17:09   #6 (permalink)
Reputable Member
 
Join Date: Oct 2007
Location: Liverpool
Age: 29
Posts: 193
Re: Paid Membership Access - how?

Why not just use seperate database tables for each member type? Use a tempory database for member signing up, once you have recieved confimation they have paid the fee just transfer them from the tempory database into the relevent one!

I use this method & created a back end to manage it and all is well
longstand is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old May 8th, 2008, 17:49   #7 (permalink)
 
Join Date: Apr 2007
Location: Scotland, UK
Age: 15
Posts: 1,750
Send a message via MSN to Marc Send a message via Skype™ to Marc
Re: Paid Membership Access - how?

Quote:
Originally Posted by longstand View Post
Why not just use seperate database tables for each member type? Use a tempory database for member signing up, once you have recieved confimation they have paid the fee just transfer them from the tempory database into the relevent one!

I use this method & created a back end to manage it and all is well

More work
__________________
I'm back!!!!
Marc is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Buying membership...? jonesy E-Commerce and Business 1 Mar 12th, 2008 07:34
Membership Manager. Advanced Membership Manager and Web Site Protector BonnieClash Free Web Site Critique 14 Nov 5th, 2007 07:52
membership activation nate2099 Webforumz Cafe 6 Oct 11th, 2007 00:09
ASP Multi users Access to Microsoft Access ish ASP Forum 0 Apr 26th, 2007 20:05
membership and reviews onlinegamesplayer MSSQL & Access 0 Dec 3rd, 2006 13:05



Latest Updates

All Points SEO Security Advisory - CHECK YOUR SITE NOW!

Creative Coding :: February 2008

Webforumz is sponsored by: WESH UK Web Hosting
All times are GMT. The time now is 19:19.

Sleep Study Scoring :: Free Bet :: Website Templates :: Online Betting :: Bookmakers :: Funny Quotes :: Internet Recruitment Software :: Microsoft CRM Experts :: Online Casino :: Decorated Christmas Trees :: Midwife Forums :: Football Betting :: Ecommerce Software :: Web Hosting :: Football Stats :: Dry Cleaning Collection :: xtreme wales - extreme clothing :: Apuestas :: Sharepoint Consultants :: Website Optimisation :: Office Clearance London :: Sharepoint Experts :: Sports Betting :: Casino :: Website Templates :: Web Design Development India :: Online Gambling

Powered by: vBulletin Version 3.7, Copyright ©2000 - 2008, Jelsoft Enterprises Limited.
© 2003-2008 Webforumz.com : All Rights Reserved
Search Engine Friendly URLs by vBSEO 3.2.0 RC6


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59