Now DL MOD each first day of the month sets the highest transfer for user form group to whom he/she belongs to.
It will be much better if the user gets the amount of transfer from default group, which is set in users_table.
So there will be change in class_dlmod.php from
Code: Alles auswählen
$sql = 'SELECT max(g.group_dl_auto_traffic) AS max_traffic FROM ' . GROUPS_TABLE . ' g, ' . USER_GROUP_TABLE . ' ug
WHERE g.group_id = ug.group_id
AND ug.user_id = ' . $this->user_id . '
AND ug.user_pending <> ' . true;Code: Alles auswählen
$sql = 'SELECT g.group_dl_auto_traffic AS max_traffic FROM ' . GROUPS_TABLE . ' g, ' . USERS_TABLE . ' u
WHERE g.group_id = u.group_id
AND u.user_id = ' . $this->user_id;