Changes between Version 6 and Version 7 of BadgeDoc


Ignore:
Timestamp:
Sep 18, 2014, 10:08:25 AM (10 years ago)
Author:
davea
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BadgeDoc

    v6 v7  
     1[[PageOutline]]
    12= Badges =
    23
     
    9899you can assign badges based on per-app total credit.
    99100A script for doing that is in '''html/ops/badge_assign_custom.php'''.
     101
     102== Badge display ==
     103
     104You can control the display of badges on your project's web site
     105by defining the following constants in your '''html/project/project.inc''':
     106{{{
     107define('BADGE_HEIGHT_SMALL', 20);
     108define('BADGE_HEIGHT_MEDIUM', 24);
     109define('BADGE_HEIGHT_LARGE', 56);
     110}}}
     111
     112These define the height of badge images in different contexts:
     113 BADGE_HEIGHT_SMALL:: Forums.
     114 BADGE_HEIGHT_MEDIUM:: Tabular lists (e.g. top user list).
     115 BADGE_HEIGHT_LARGE:: User and team pages.
     116
     117If you set any of these to zero, badges will not be shown in that context.
     118The default values are those given above.