Changeset 983351
- Timestamp:
- 09/07/2014 12:21:42 AM (12 years ago)
- Location:
- captain-up/trunk
- Files:
-
- 3 edited
-
README.md (modified) (2 diffs)
-
captainup.php (modified) (10 diffs)
-
readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
captain-up/trunk/README.md
r916013 r983351 73 73 74 74 ###### 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 76 Yes. When users visit your site from mobile and tablet devices they will see Captain Up in a in a device-optimized version. 76 77 77 78 ###### I got more Questions! … … 94 95 95 96 ## 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 96 104 97 105 ###### 2.0.1 -
captain-up/trunk/captainup.php
r916013 r983351 4 4 Plugin URI: http://www.captainup.com 5 5 Description: 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. 16 Version: 2.0.2 7 7 Author: Captain Up Team 8 8 License: GPL2 9 9 */ 10 10 11 // Admin menu 12 // -------------------------------------------- 13 11 // WordPress Admin Menu 12 // -------------------------------------------------------------------------------- 14 13 function cptup_settings() { 15 14 … … 121 120 echo "<div id='update' class='updated'>". 122 121 "<p>Captain Up has been <em>disabled</em>. If any problem ". 123 "occur ed or you have any questions, ".122 "occurred or you have any questions, ". 124 123 "<a href='mailto:team@captainup.com'>". 125 124 "contact our support team</a></p></div>\n"; … … 297 296 } 298 297 299 /* Add Admin Panel CSS and JS Files 300 * -------------------------------------------*/ 298 299 // Add Admin Panel CSS and JS Files 300 // ------------------------------------------------------------------------------ 301 301 function cptup_settings_files($page) { 302 302 // I swear to god this is what Wordpress Codex suggests to do … … 309 309 } 310 310 311 / *Setup Admin Panel Resources312 * -------------------------------------------*/ 311 // Setup Admin Panel Resources 312 // ------------------------------------------------------------------------------- 313 313 function cptup_config() { 314 314 // Add Captain Up to the Menu … … 326 326 327 327 328 / *Add the Captain Up Script to the Site329 * -------------------------------------------*/ 328 // Add the Captain Up Script to the Site 329 // ------------------------------------------------------------------------------- 330 330 331 331 // cptup_print() initializes the Captain Up script, … … 403 403 } 404 404 405 // Given a page path, checks if this page path matched a path406 // the user specified under disabled_paths.407 405 408 406 // Given the current `$page_path`, `is_in_path_list` goes over the paths … … 461 459 462 460 463 / *Widgets464 * ---------------------------------------*/ 461 // Widgets 462 // --------------------------------------------------------------------------- 465 463 466 464 // Enqueue scripts to handle editing the Widgets options in … … 521 519 $height = esc_attr($instance['height']); 522 520 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'; 527 525 528 526 ?> … … 598 596 599 597 600 / *Shortcodes601 * -----------------------------------*/ 598 // Shortcodes 599 // ------------------------------------------------------------------------------- 602 600 603 601 // Leaderboard Widget Shortcode … … 657 655 658 656 659 /* WordPress Comments Integration 660 * ----------------------------------------------------------------*/ 657 // WordPress Comments Integration 658 // ----------------------------------------------------------------------------- 659 // 661 660 // The flow for detecting a new wordpress comment and sending 662 661 // to Captain Up goes like this: First, we add an action hook to -
captain-up/trunk/readme.txt
r916013 r983351 3 3 Tags: game-mechanics,captainup,gamification,engagement,comments,widget,plugin,twitter,facebook,google 4 4 Requires at least: 3.0.1 5 Tested up to: 3.9.15 Tested up to: 4.0.0 6 6 Stable tag: trunk 7 7 License: GPLv2 or later … … 18 18 You 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/). 19 19 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. 21 21 22 22 **Features**: … … 93 93 94 94 = Do I need to create an account? = 95 95 96 Yes. In order for the plugin to work you need to [sign up to Captain Up](http://captainup.com/). It's completely free. 96 97 97 98 = Is JavaScript required? = 99 98 100 Yes. Captain Up will not work if JavaScript is disabled. 99 101 100 102 = 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 104 Yes. When users visit your site from mobile and tablet devices they will see Captain Up in a in a device-optimized version. 102 105 103 106 = I got more Questions! = … … 119 122 == Changelog == 120 123 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 121 131 = 2.0.1 = 122 132
Note: See TracChangeset
for help on using the changeset viewer.