Plugin Directory

Changeset 553485


Ignore:
Timestamp:
06/05/2012 06:09:43 PM (14 years ago)
Author:
GuidePress
Message:
 
Location:
guidepress/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • guidepress/trunk/guidepress.php

    r540535 r553485  
    55Description: The GuidePress plugin puts WordPress video tutorials right into the the WP dashboard! It's a handy companion for new and seasoned WP users.
    66Author: GuidePress
    7 Version: 0.1.3
     7Version: 0.1.4
    88Author URI: http://guidepress.net/
    99
  • guidepress/trunk/js/gp-common.js

    r529529 r553485  
    8787        $('#subscribe-dialog').prepend('<div class="error"><p>Your account couldn\'t be verified!</p></div>');
    8888      } else {
    89         $('#subscribe-dialog').prepend('<div class="updated"><p>Your account was successfully verified!</p></div>');
     89        // data
     90        var data = {action: 'client_api', username: jQuery('#username_dlg').val(), password: jQuery('#password_dlg').val()};
     91        // ajax call to update video library
     92        jQuery.post(ajaxurl, data, function(response) {
     93          $('#subscribe-dialog').prepend('<div class="updated"><p>Your account was successfully verified!</p></div>');
     94          if (!response) {
     95            alert('Bad AJAX response. Please reload the page.');
     96          } else {
     97            var json_response = jQuery.parseJSON(response);
     98            jQuery('.updated', '#subscribe-dialog').append('<p>Your GuidePress video library has been updated!</p>');
     99            if (json_response.errors_number > 0) {
     100              jQuery('.updated', '#subscribe-dialog').append('<p>There were some errors while updating your GuidePress video library</p>');
     101              jQuery('.updated', '#subscribe-dialog').html('<br/><b>Errors:</b> ' + json_response.errors);
     102            }
     103          } // if
     104        }); // jQuery.post
    90105      } // if
    91106    }); // jQuery.post
     107   
    92108    return false;
    93109  });
     
    286302        alert('Bad AJAX response. Please reload the page.');
    287303      } else {
    288         console.log(response);
    289304        var json_response = jQuery.parseJSON(response);
    290305        jQuery('#cgp-update-message').hide();
     
    325340  $('#subscribe-dialog').dialog({
    326341      autoOpen: false,
    327       height: 350,
     342      height: 400,
    328343      width: 500,
    329344      dialogClass: 'wp-dialog',
  • guidepress/trunk/readme.txt

    r540535 r553485  
    33Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=3MX23YDX9XU3Y
    44Tags: guidepress, tutorials, video tutorials, screencasts, help videos, help, learn, training, training videos, instructions
    5 Requires at least: 3.3.1
    6 Tested up to: 3.3.1
    7 Stable tag: 0.1.3
     5License: GPLv2 or later
     6Requires at least: 3.3
     7Tested up to: 3.3.2
     8Stable tag: 0.1.4
    89
    9 The GuidePress plugin puts WordPress videos tutorials right to the WP dashboard! It's a handy companion for new and seasoned WP users.
     10The GuidePress plugin puts WordPress videos tutorials right into the WP dashboard! It's a handy companion for new and seasoned WP users.
    1011
    1112== Description ==
     
    1819You'll need a subscription to use this plugin. Simply create a [free GuidePress account](http://guidepress.net/wp-login.php?action=register "GuidePress Registration Screen") and you'll automatically get a lifetime free subscription.
    1920
    20 We also offer a [Premium subscription](http://guidepress.net/pricing/ "GuidePress Premium Subscription").
    21 
    22 **Note:** We only have a small number of video at the moment. But we'll be adding more in the coming weeks.
     21We will soon be offering a [Premium subscription](http://guidepress.net/pricing/ "GuidePress Premium Subscription").
    2322
    2423
    2524Main features include:
    2625
     26* There are **over 30 video tutorials** available to watch.
    2727* Watch video tutorials without leaving the WordPress dashboard
    2828* Videos are discretely placed inside a "video tutorials" dropdown tab
     
    7474== Changelog ==
    7575
     76= 0.1.4 =
     77* 30/05/12
     78* Added functionality for updating video library immediately after user verification.
     79
    7680= 0.1.3 =
    7781* 06/05/12
Note: See TracChangeset for help on using the changeset viewer.