Download the Cumulative Bonus module for free
The bonus is issued 1 time in 12 hours.
The bonus is issued in silver to the account for purchases.
The bonus amount increases by 20 silver with each receipt. The maximum bonus amount is 1000 silver. If you have not received a bonus for more than 24 hours, then it is discounted to 20 silver. Now the amount of your bonus is 60
Detailed installation:
1. upload the file to the pages/account folder
2. in the file.htaccess find :
RewriteRule ^account/bonus(/?)+$ index.php?menu=account&sel=bonus [L]
and add below
RewriteRule ^account/cumulative(/?)+$ index.php?menu=account&sel=cumulative [L]
3.in the file inc/_user_menu.php find
Daily Bonus
add below
Cumulative Bonus
3. in the file pages/_account.php find
case “bonus”: include(“pages/account/_bonus.php “); break; // Daily bonus
add below
case “cumulative”: include(“pages/account/_cumulative.php “); break; // Cumulative Bonus
4. make a request
CREATE TABLE IF NOT EXISTS `db_nakop_bonus` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user` varchar(10) CHARACTER SET utf8 NOT NULL,
`user_id` int(11) NOT NULL DEFAULT ‘0’,
`sum` double NOT NULL DEFAULT ’20’,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=cp1251;
CREATE TABLE IF NOT EXISTS `db_nak_bonus` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user` varchar(10) CHARACTER SET utf8 NOT NULL,
`user_id` int(11) NOT NULL DEFAULT ‘0’,
`sum` double NOT NULL DEFAULT ‘0’,
`date_add` int(11) NOT NULL DEFAULT ‘0’,
`date_del` int(11) NOT NULL DEFAULT ‘0’,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=cp1251;