[glotpress-updates] [GlotPress] #336: Gamification System - Badges

GlotPress noreply at wordpress.org
Tue Jun 17 11:50:58 UTC 2014


#336: Gamification System - Badges
---------------------------+-----------------------------
  Reporter:  Secretmapper  |      Owner:  Secretmapper
      Type:  enhancement   |     Status:  assigned
  Priority:  normal        |  Milestone:  Awaiting Review
 Component:  General       |    Version:
Resolution:                |   Keywords:
---------------------------+-----------------------------
Changes (by Secretmapper):

 * owner:   => Secretmapper
 * status:  new => assigned


Comment:

 Screenshot of Current Build:
 [[Image(http://puu.sh/9xmNf/089ae47f3b.png)]]

 So basically the badges are placed next to the settings, and works well
 with the profile project shortcut patch. UI-wise the profile project's
 stats charts might work better placed on the right.

 '''One problem''' currently though is placement of the badges data
 (definition of data):


 {{{
 $badge_data = array();
                 $badge_data[0] = array(
                         'img' => 'flat_medal2.png',
                         'desc' => '10+ Approved Translations'
                 );
                 $badge_data[1] = array(
                         'img' => 'flat_medal3.png',
                         'desc' => '50+ Approved Translations'
                 );
 }}}

 Basically it's just one big variable. WP_options is a good table candidate
 but it doesn't exist on GP only installations.

 Could work by just hardcoding it to the HTML, so the template basically
 contains the data. Need feedback on that.

 Assets are public domain, placeholders, though they look good enough for
 production.

--
Ticket URL: <https://glotpress.trac.wordpress.org/ticket/336#comment:1>
GlotPress <https://glotpress.trac.wordpress.org>
Easy comin', easy goin'


More information about the glotpress-updates mailing list