• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Znote acc maker - premium 30 days for new account

Verrine

Member
Joined
Mar 2, 2016
Messages
117
Reaction score
7
Hi!
I want give premium days at the beggining for every new player, can i do it in znote for example every new accont have 60 premium days and when it ends player need to buy it in game or in znote
Can it be done? if Yes how?
 
https://github.com/Znote/ZnoteAAC/blob/master/register.php#L113

PHP:
$register_data = array(
  'name' => $_POST['username'],
  'password' => $_POST['password'],
  'email' => $_POST['email'],
  'created' => time(),
  'ip' => ip2long(getIP()),
  'flag' => $_POST['flag'],
  'premdays' => '30' /* Add this line */
);

or add in config.php
PHP:
$config['free_premdays'] = '30';
and then in register.php
PHP:
$register_data = array(
  'name' => $_POST['username'],
  'password' => $_POST['password'],
  'email' => $_POST['email'],
  'created' => time(),
  'ip' => ip2long(getIP()),
  'flag' => $_POST['flag'],
  'premdays' => $config['free_premdays'] /* Add this line */
);

it should work
 
Last edited:
https://github.com/Znote/ZnoteAAC/blob/master/register.php#L113

PHP:
$register_data = array(
  'name' => $_POST['username'],
  'password' => $_POST['password'],
  'email' => $_POST['email'],
  'created' => time(),
  'ip' => ip2long(getIP()),
  'flag' => $_POST['flag'],
  'premdays' => '30' /* Add this line */
);

or add in config.php
PHP:
$config['free_premdays'] = '30';
and then in register.php
PHP:
$register_data = array(
  'name' => $_POST['username'],
  'password' => $_POST['password'],
  'email' => $_POST['email'],
  'created' => time(),
  'ip' => ip2long(getIP()),
  'flag' => $_POST['flag'],
  'premdays' => $config['free_premdays'] /* Add this line */
);

it should work
second one with config doesn't work but the first one yes, it works ;) thanks!
 
Back
Top