Flux cp referral registration code

meruem

New member
Messages
52
Points
0
Is it possible for example. Every person to register on my control panel will enter a "code"? The code is from the one who recruited her/him on my server.

 
Is it possible for example. Every person to register on my control panel will enter a "code"? The code is from the one who recruited her/him on my server.
Yes that's possible. I've seen this system before, referral system for fluxcp but it's not free.

 
Yes that's possible. I've seen this system before, referral system for fluxcp but it's not free.
Yeah Ive seen it. It cost $25. Do I have an alternative method with my idea above?
Maybe ingame or something? 

 
Yeah Ive seen it. It cost $25. Do I have an alternative method with my idea above?
Maybe ingame or something? 
There are referral scripts before lurking here or in rathena that can be used in game.

If the script stores values thru SQL, you can code your own add on to integrate it with fluxcp

 
There are referral scripts before lurking here or in rathena that can be used in game.

If the script stores values thru SQL, you can code your own add on to integrate it with fluxcp
It was too much for me to handle as of the moment. Im just starting learning. 
Even the terms youve said intimidated me. 😂

 
It was too much for me to handle as of the moment. Im just starting learning. 
Even the terms youve said intimidated me. 😂
That's alright, take small steps and learn. :D  Even me is still learning from time to time.

Learn how the scripts and codes works and you can do it as well.

If you're gonna do it yourself, try looking on PVP scripts and addons. See how pvp sql stores in scripts and retrieves values thru addons.

 
i would like to share some idea, you can somehow.
1. add column at login table `referral` default to 0
2. pass variable $referral at registration in flux. like /?module=account&action=create&referral=2001154

if(isset($_SESSION['referral'])){
$referral = $_SESSION['referral'];
} else {
$referral = 0;
}

// Woohoo! Register ;)
$result = $server->loginServer->register($username, $password, $confirm, $email, $gender, $birthdate, $referral, $code);


3. save that extra field referral if there is.
4. use script to manage your controls.

 
better create a separate table for it so that it will not affect the main tables...should be easy but it takes time...

 
We have this FluxCP Addons ( Referral System) with point system

Regards,

ROServices

 
Back
Top