Plugin Directory

Changeset 983351


Ignore:
Timestamp:
09/07/2014 12:21:42 AM (12 years ago)
Author:
cptup
Message:

version 2.0.2

Location:
captain-up/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • captain-up/trunk/README.md

    r916013 r983351  
    7373
    7474###### Does Captain Up work on mobile and tablet versions of my site?
    75 Not yet. When users visit your site from mobile phones or from tablets Captain Up will not appear.
     75
     76Yes. When users visit your site from mobile and tablet devices they will see Captain Up in a in a device-optimized version.
    7677
    7778###### I got more Questions!
     
    9495
    9596## Changelog
     97
     98###### 2.0.2
     99
     100* Support for mobile and tablet devices
     101* Support for WordPress 4.0
     102* Added an app icon
     103* Small code modifications
    96104
    97105###### 2.0.1
  • captain-up/trunk/captainup.php

    r916013 r983351  
    44Plugin URI: http://www.captainup.com
    55Description: Add Game Mechanics to your site and increase your engagement and retention. 2 minutes install: Simply add your free Captain Up API Key and you are good to go. The plugin also adds widgets you can use to show leaderboards and activities within your site.
    6 Version: 2.0.1
     6Version: 2.0.2
    77Author: Captain Up Team
    88License: GPL2
    99*/
    1010
    11 // Admin menu
    12 // --------------------------------------------
    13 
     11// WordPress Admin Menu
     12// --------------------------------------------------------------------------------
    1413function cptup_settings() {
    1514
     
    121120            echo "<div id='update' class='updated'>".
    122121                "<p>Captain Up has been <em>disabled</em>. If any problem ".
    123                 "occured or you have any questions, ".
     122                "occurred or you have any questions, ".
    124123                "<a href='mailto:team@captainup.com'>".
    125124                "contact our support team</a></p></div>\n";
     
    297296}
    298297
    299 /* Add Admin Panel CSS and JS Files
    300  * -------------------------------------------*/
     298
     299// Add Admin Panel CSS and JS Files
     300// ------------------------------------------------------------------------------
    301301function cptup_settings_files($page) {
    302302    // I swear to god this is what Wordpress Codex suggests to do
     
    309309}
    310310
    311 /* Setup Admin Panel Resources
    312  * -------------------------------------------*/
     311// Setup Admin Panel Resources
     312// -------------------------------------------------------------------------------
    313313function cptup_config() {
    314314    // Add Captain Up to the Menu
     
    326326
    327327
    328 /* Add the Captain Up Script to the Site
    329  * -------------------------------------------*/
     328// Add the Captain Up Script to the Site
     329// -------------------------------------------------------------------------------
    330330
    331331// cptup_print() initializes the Captain Up script,
     
    403403}
    404404
    405 // Given a page path, checks if this page path matched a path
    406 // the user specified under disabled_paths.
    407405
    408406// Given the current `$page_path`, `is_in_path_list` goes over the paths
     
    461459
    462460
    463 /* Widgets
    464  * ---------------------------------------*/
     461// Widgets
     462// ---------------------------------------------------------------------------
    465463
    466464// Enqueue scripts to handle editing the Widgets options in
     
    521519        $height = esc_attr($instance['height']);
    522520
    523         if (!$type) $type = 'leaderboard';
    524         if (!$css) $css = 'height: 300px; margin-top: 20px;';
    525         if (!$height) $height = '350';
    526         if (!$default_leaderboard) $default_leaderboard = 'monthly_ranking';
     521        if (!isset($type)) $type = 'leaderboard';
     522        if (!isset($css)) $css = 'height: 300px; margin-top: 20px;';
     523        if (!isset($height)) $height = '350';
     524        if (!isset($default_leaderboard)) $default_leaderboard = 'monthly_ranking';
    527525       
    528526        ?>
     
    598596
    599597
    600 /* Shortcodes
    601  * -----------------------------------*/
     598// Shortcodes
     599// -------------------------------------------------------------------------------
    602600
    603601// Leaderboard Widget Shortcode
     
    657655
    658656
    659 /* WordPress Comments Integration
    660  * ----------------------------------------------------------------*/
     657// WordPress Comments Integration
     658// -----------------------------------------------------------------------------
     659//
    661660// The flow for detecting a new wordpress comment and sending
    662661// to Captain Up goes like this: First, we add an action hook to
  • captain-up/trunk/readme.txt

    r916013 r983351  
    33Tags: game-mechanics,captainup,gamification,engagement,comments,widget,plugin,twitter,facebook,google
    44Requires at least: 3.0.1
    5 Tested up to: 3.9.1
     5Tested up to: 4.0.0
    66Stable tag: trunk
    77License: GPLv2 or later
     
    1818You will need to associate your WordPress site with a free Captain Up account. If you don't have one yet - [sign up now](http://captainup.com/).
    1919
    20 **NEW**: Brand new design. Support for custom actions. Ability to choose on which pages of the site Captain Up will appear on. Two new level and badge sets to select from. Localization support for over 18 languages. Support for native WordPress comments.
     20**NEW**: Support for mobile and tablet devices. A new badge pack to select from. Brand new design. Support for custom actions. Ability to choose on which pages of the site Captain Up will appear on. Localization support for over 18 languages. Support for native WordPress comments.
    2121
    2222**Features**:
     
    9393
    9494= Do I need to create an account? =
     95
    9596Yes. In order for the plugin to work you need to [sign up to Captain Up](http://captainup.com/). It's completely free.
    9697
    9798= Is JavaScript required? =
     99
    98100Yes. Captain Up will not work if JavaScript is disabled.
    99101
    100102= Does Captain Up work on mobile and tablet versions of my site? =
    101 Not yet. When users visit your site from mobile phones or from tablets Captain Up will not appear.
     103
     104Yes. When users visit your site from mobile and tablet devices they will see Captain Up in a in a device-optimized version.
    102105
    103106= I got more Questions! =
     
    119122== Changelog ==
    120123
     124= 2.0.2 =
     125
     126* Support for mobile and tablet devices
     127* Support for WordPress 4.0
     128* Added an app icon
     129* Small code modifications
     130
    121131= 2.0.1 =
    122132
Note: See TracChangeset for help on using the changeset viewer.