Jump to content
  • 0
Sign in to follow this  
meruem

Flux cp referral registration code

Question

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.

Share this post


Link to post
Share on other sites

7 answers to this question

Recommended Posts

  • 0
21 minutes ago, meruem said:

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.

Share this post


Link to post
Share on other sites
  • 0
1 minute ago, Samuel said:

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? 

Share this post


Link to post
Share on other sites
  • 0
Just now, meruem said:

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

Share this post


Link to post
Share on other sites
  • 0
Just now, Samuel said:

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. 😂

 

Share this post


Link to post
Share on other sites
  • 0
Just now, meruem said:

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.

Share this post


Link to post
Share on other sites
  • 0

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.

Share this post


Link to post
Share on other sites
  • 0

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

 

Regards,

ROServices

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.