Changes between Version 3 and Version 4 of PerAppCredit


Ignore:
Timestamp:
Aug 18, 2014, 1:48:08 PM (10 years ago)
Author:
davea
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PerAppCredit

    v3 v4  
    2121{{{
    2222$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)),
    2525);
    2626}}}
     27
     28'''name''' is what's shown on web pages.
     29'''short_name''' is optional, and is used to form badge names (see below).
    2730
    2831To display per-app credit on your web site
     
    4548The [DbDump db_dump] program writes per-app credit in two files
    4649'''user_work.gz''' and '''team_work.gz''' in your html/stats directory.
     50
     51== Granting badges based on per-app credit ==
     52
     53The script '''html/ops/badge_assign_custom.php''' grants badges based
     54on subproject credit totals.
     55See its comments for instructions.