Changes between Version 3 and Version 4 of PerAppCredit
- Timestamp:
- Aug 18, 2014, 1:48:08 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PerAppCredit
v3 v4 21 21 {{{ 22 22 $sub_projects = array( 23 array("name" => "Remote Test", " appids" => array(16)),24 array("name" => "Uppercase", " appids" => array(1, 25)),23 array("name" => "Remote Test", "short_name" => "RT", "appids" => array(16)), 24 array("name" => "Uppercase", "short_name" => "UC", "appids" => array(1, 25)), 25 25 ); 26 26 }}} 27 28 '''name''' is what's shown on web pages. 29 '''short_name''' is optional, and is used to form badge names (see below). 27 30 28 31 To display per-app credit on your web site … … 45 48 The [DbDump db_dump] program writes per-app credit in two files 46 49 '''user_work.gz''' and '''team_work.gz''' in your html/stats directory. 50 51 == Granting badges based on per-app credit == 52 53 The script '''html/ops/badge_assign_custom.php''' grants badges based 54 on subproject credit totals. 55 See its comments for instructions.