-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
60 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,4 +47,24 @@ CREDIT_SYSTEM_LONG_RENTAL_FEE=5 | |
#credit needed to temporarily increase limit, applicable only when $limits["increase"]>0 | ||
CREDIT_SYSTEM_LIMIT_INCREASE_FEE=10 | ||
#credit deduction for rule violations (applied by admins) | ||
CREDIT_SYSTEM_VIOLATION_FEE=5 | ||
CREDIT_SYSTEM_VIOLATION_FEE=5 | ||
|
||
#notification email for notifications such as notes etc., blank if notifications not required | ||
[email protected] | ||
#0 - do not watch stack | ||
#1 - notify if other than the top of the stack bike is rented from a stand (independent from forcestack) | ||
WATCHES_STACK=1 | ||
#in hours (bike rented for more than X h) | ||
WATCHES_LONG_RENTAL=24 | ||
#in hours (high number of rentals by one person in a short time) | ||
WATCHES_TIME_TOO_MANY=1 | ||
#if userlimit+numbertooomany reached in timetoomany, then notify | ||
WATCHES_NUMBER_TOO_MANY=1 | ||
#in minutes (rental changes from free to paid after this time and $credit["rent"] is deducted) | ||
WATCHES_FREE_TIME=30 | ||
#in minutes (uses flat price $credit["rent"] every $watches["flatpricecycle"] minutes after first paid period, i.e. $watches["freetime"]*2) | ||
WATCHES_FLAT_PRICE_CYCLE=60 | ||
#in minutes (doubles the rental price $credit["rent"] every $watches["doublepricecycle"] minutes after first paid period, i.e. $watches["freetime"]*2) | ||
WATCHES_DOUBLE_PRICE_CYCLE=60 | ||
#number of cycles after doubling of rental price $credit["rent"] is capped and stays flat (but reached cycle multiplier still applies) | ||
WATCHES_DOUBLE_PRICE_CYCLE_CAP=3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,15 +12,6 @@ | |
$systemrules="http://example.com/rules.htm"; // system rules / help URL | ||
|
||
$forcestack=0; // 0 = allow renting any bike at stand, 1 = allow renting last bicycle returned only (top of stack) | ||
$watches["email"]="[email protected]"; // notification email for notifications such as notes etc., blank if notifications not required | ||
$watches["stack"]=1; // 0 - do not watch stack, 1 - notify if other than the top of the stack bike is rented from a stand (independent from forcestack) | ||
$watches["longrental"]=24; // in hours (bike rented for more than X h) | ||
$watches["timetoomany"]=1; // in hours (high number of rentals by one person in a short time) | ||
$watches["numbertoomany"]=1; // if userlimit+numbertooomany reached in timetoomany, then notify | ||
$watches["freetime"]=30; // in minutes (rental changes from free to paid after this time and $credit["rent"] is deducted) | ||
$watches["flatpricecycle"]=60; // in minutes (uses flat price $credit["rent"] every $watches["flatpricecycle"] minutes after first paid period, i.e. $watches["freetime"]*2) | ||
$watches["doublepricecycle"]=60; // in minutes (doubles the rental price $credit["rent"] every $watches["doublepricecycle"] minutes after first paid period, i.e. $watches["freetime"]*2) | ||
$watches["doublepricecyclecap"]=3; // number of cycles after doubling of rental price $credit["rent"] is capped and stays flat (but reached cycle multiplier still applies) | ||
|
||
$limits["registration"]=0; // number of bikes user can rent after he registered: 0 = no bike, 1 = 1 bike etc. | ||
$limits["increase"]=0; // allow more bike rentals in addition to user limit: 0 = not allowed, otherwise: temporary limit increase - number of bikes | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters