Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Old 05-14-2010, 10:25 PM Referring system
Novice Talker

Posts: 6
Name: Andrey
Trades: 0
I need to create a site where people can only register under a referral link. After they register, they will have their own referral link and every time someone registers under theirs link, the counter goes up one.


Is there already a script that can do this? Or do I have to create this from scratch? How hard is it to create something like this?
Cheeters is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 05-15-2010, 08:19 AM Re: Referring system
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,384
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
It's so simple probably nobody has ever bothered publishing such a script.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 05-15-2010, 02:26 PM Re: Referring system
Novice Talker

Posts: 9
Trades: 0
This is easy as pie. Do you currently have a membership system? I'll take it upon myself to add this switch in for you if you want help on it.

If you know anything about PHP here's the concept you'll follow for two scenarios.

1. Already have a membership system.
- Add a database table called affiliates
- The table needs to have atleast two columns (aff_id, aff_code)
- Upon processing registration check to see if registration_code ='s any of the aff_codes.
2. A brand new membership system
- Create a database called whatever you want it to be
- Add atleast two rows. users and affiliates
- Add whatever information in the users table user_id, user_pass, user_referrer, etc
- Add whatever information in the affiliates table you want, but have atleast aff_id, and aff_code
- aff_id would be the locator
- aff_code would be the referrer code
- Find a tutorial on basic membership systems (Unless you know PHP) - And then when processing the form, do as before and if registration_code ='s any of the aff_codes - then add aff_id as the user_referrer

Hope this a good pointer in the right direction.
DrewDown is offline
Reply With Quote
View Public Profile
 
Old 05-16-2010, 02:30 PM Re: Referring system
nayes84's Avatar
Extreme Talker

Latest Blog Post:
Difference between ASP And JSP
Posts: 232
Name: John
Location: Tokyo
Trades: 0
no need to build it from scratch when there is really good ready made one.


check this one it is for free and has many features.
http://www.elitius.com/product.html
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

if(I'm("Helpful")) Add_Talkupation("nayes84");
nayes84 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Referring system
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.21163 seconds with 12 queries