Plugin Directory

Changeset 587679


Ignore:
Timestamp:
08/20/2012 07:03:53 AM (14 years ago)
Author:
srcoley
Message:

Tagging version 1.1 - Made logged in and logged out views appear the same. Now if a user is logged out, they will be asked to log in before being redirected; When a logged out user hovers over the w, the dashboard icon now appears; Fixed image scaling glitches

Location:
teleport
Files:
2 added
4 edited
12 copied

Legend:

Unmodified
Added
Removed
  • teleport/tags/1.1/css/style.css

    r584511 r587679  
    7474    width: 100%;
    7575    height: 100%;
    76     background: url('http://s.wordpress.org/about/images/logos/wordpress-logo-notext-rgb.png') no-repeat center center;
     76    background: url('../images/wordpress.png') no-repeat center center;
    7777    background-size: contain;   
    7878}
     
    8282    height: 100%;
    8383    background: url('../images/dknewmedia.png') no-repeat center center;
    84     background-size: contain;   
     84}
     85
     86#teleporter #teleport_dknewmedia.teleport_dash {
     87    background: url('../images/dash_icon.png') no-repeat center center !important;
    8588}
    8689
     
    100103
    101104#teleporter #teleport_icon_teleporter.teleport_login_icon {
    102     background: url('../images/logout_icon.png') no-repeat center center;
     105    width: 100%;
     106    height: 100%;
    103107}
    104108
  • teleport/tags/1.1/js/script.js

    r584511 r587679  
    4444        });
    4545
    46         $(".teleport_back").on("click", function(e, el){
     46        $(".teleport_back").css("cursor", "pointer").on("click", function(e, el){
    4747            if(teleporter.is('.teleport_open')) {
    4848                window.location = $(this).data('url');
     
    107107                            });
    108108                            overlay.fadeIn(500, function(){
    109                                 var teleport_icon_teleporter = $("#teleport_icon_teleporter");
     109                                /*var teleport_icon_teleporter = $("#teleport_icon_teleporter");
    110110                                if(teleport_icon_teleporter.is('.teleport_login')) {
    111111                                    teleport_icon_teleporter.fadeOut('fast', function() {
    112112                                        $(this).addClass('teleport_login_icon').fadeIn('fast');
    113113                                    });
    114                                 }
     114                                }*/
    115115                            });
    116116                        }
  • teleport/tags/1.1/readme.txt

    r584511 r587679  
    44Requires at least: 2.0.2
    55Tested up to: 3.4.1
    6 Stable tag: 1.0.1
    7 Version: 1.0.1
     6Stable tag: 1.1
     7Version: 1.1
    88License: GPLv2
    99
     
    2222[youtube http://www.youtube.com/watch?v=DF_1xXAPQFc]
    2323
    24 **While Logged Out**
     24If you are logged out, you will be asked to log in before being redirected to the disired location.
    2525
    26 *   w - Redirects to the login page
    27 *   esc - Closes the Teleporter
    28 
    29 **While Logged In**
     26First press "w", then choose from the following:
    3027
    3128*   e - (Edit) Edit current post/page
     
    3330*   s - (Settings) Redirects to the Settings page
    3431*   a - (Archive) Redirects to Posts/Pages/Custom Post Types
    35 *   q - (Quit) Logs the current user out
    36 *   w - Pressing this a second time will close the Teleporter
     32*   q - (Quit) Logs the current user out / Redirects to Log In page
     33*   w - Close Teleporter / Log in
    3734*   esc - Closes the Teleporter
    38 
    3935
    4036== Installation ==
     
    7975* Added assets folder
    8076
     77= 1.1 =
     78
     79* Added navigational buttons and keyboard shortcuts for logged out users
     80
    8181
    8282== Upgrade Notice ==
     
    8989
    9090This patch fixes a pretty huge bug that prevented the usrs from using any forms. Upgrade asap!
     91
     92= 1.1 =
     93This update makes the logged in and out views look the same. If you're not logged in, you will be prompted to do so before being redirected.
  • teleport/tags/1.1/teleport.php

    r584511 r587679  
    44    Plugin URI: http://wordpress.org/extend/plugins/teleport/
    55    Description: Teleport is all about getting around WordPress quickly! It uses keyboard shortcuts to get you to the most important places with just two taps. The intuitive teleporter is arranged exactly like the keyboard shortcuts - the e, d, s, a, and q keys make a 'u' shape around the w key. This matches the layout the teleporter. <strong>To get started:</strong> 1) Activate the plugin. 2) Go to your homepage. 3) Once the page has finished loading, press "w". This will activate the teleporter. To learn more about the teleporter, read the plugin documentation.
    6     Version: 1.0.1
     6    Version: 1.1
    77    Author: Stephen Coley
    88    Author URI: http://dknewmedia.com
     
    109109        // If the user isn't logged in, show the login Teleporter
    110110        } else {
    111 echo '<div id="teleport" data-url="' . wp_login_url($cururl) . '">
     111echo '</p><div id="teleport">
    112112    <div id="teleport_overlay"></div>
    113113    <div id="teleporter">
    114          <div id="teleport_icon_teleporter" class="teleport_login" data-url="' . wp_login_url($cururl) . '"></div>
     114         <div id="teleport_icon_teleporter" class="teleport_front teleport_face teleport_login"></div>
     115         <div id="teleport_dknewmedia" class="teleport_back teleport_face teleport_dash" data-url="' . wp_login_url() . '"></div>
    115116    </div>     
     117    <div id="teleport_first" class="teleport_button">
     118        <div id="teleport_icon_first" class="teleport_icon" data-url="' . wp_login_url(get_bloginfo('wpurl') . '/wp-admin/options-general.php') . '"></div>
     119    </div>
     120    <div id="teleport_second" class="teleport_button">
     121    <div id="teleport_icon_second" class="teleport_icon" data-url="' . wp_login_url(get_bloginfo('wpurl') . '/wp-admin/index.php') . '"></div>
     122    </div>
     123    <div id="teleport_third" class="teleport_button">
     124        <div id="teleport_icon_third" class="teleport_icon" data-url="' . wp_login_url($edit) . '"></div>
     125    </div>
     126    <div id="teleport_fourth" class="teleport_button">
     127        <div id="teleport_icon_fourth" class="teleport_icon" data-url="' . wp_login_url($cururl) . '"></div>
     128    </div>
     129    <div id="teleport_fifth" class="teleport_button">
     130        <div id="teleport_icon_fifth" class="teleport_icon" data-url="' . wp_login_url($archive) . '"></div>
     131    </div>
    116132</div>';
    117133        }
  • teleport/trunk/css/style.css

    r584511 r587679  
    7474    width: 100%;
    7575    height: 100%;
    76     background: url('http://s.wordpress.org/about/images/logos/wordpress-logo-notext-rgb.png') no-repeat center center;
     76    background: url('../images/wordpress.png') no-repeat center center;
    7777    background-size: contain;   
    7878}
     
    8282    height: 100%;
    8383    background: url('../images/dknewmedia.png') no-repeat center center;
    84     background-size: contain;   
     84}
     85
     86#teleporter #teleport_dknewmedia.teleport_dash {
     87    background: url('../images/dash_icon.png') no-repeat center center !important;
    8588}
    8689
     
    100103
    101104#teleporter #teleport_icon_teleporter.teleport_login_icon {
    102     background: url('../images/logout_icon.png') no-repeat center center;
     105    width: 100%;
     106    height: 100%;
    103107}
    104108
  • teleport/trunk/js/script.js

    r584511 r587679  
    4444        });
    4545
    46         $(".teleport_back").on("click", function(e, el){
     46        $(".teleport_back").css("cursor", "pointer").on("click", function(e, el){
    4747            if(teleporter.is('.teleport_open')) {
    4848                window.location = $(this).data('url');
     
    107107                            });
    108108                            overlay.fadeIn(500, function(){
    109                                 var teleport_icon_teleporter = $("#teleport_icon_teleporter");
     109                                /*var teleport_icon_teleporter = $("#teleport_icon_teleporter");
    110110                                if(teleport_icon_teleporter.is('.teleport_login')) {
    111111                                    teleport_icon_teleporter.fadeOut('fast', function() {
    112112                                        $(this).addClass('teleport_login_icon').fadeIn('fast');
    113113                                    });
    114                                 }
     114                                }*/
    115115                            });
    116116                        }
  • teleport/trunk/readme.txt

    r584511 r587679  
    44Requires at least: 2.0.2
    55Tested up to: 3.4.1
    6 Stable tag: 1.0.1
    7 Version: 1.0.1
     6Stable tag: 1.1
     7Version: 1.1
    88License: GPLv2
    99
     
    2222[youtube http://www.youtube.com/watch?v=DF_1xXAPQFc]
    2323
    24 **While Logged Out**
     24If you are logged out, you will be asked to log in before being redirected to the disired location.
    2525
    26 *   w - Redirects to the login page
    27 *   esc - Closes the Teleporter
    28 
    29 **While Logged In**
     26First press "w", then choose from the following:
    3027
    3128*   e - (Edit) Edit current post/page
     
    3330*   s - (Settings) Redirects to the Settings page
    3431*   a - (Archive) Redirects to Posts/Pages/Custom Post Types
    35 *   q - (Quit) Logs the current user out
    36 *   w - Pressing this a second time will close the Teleporter
     32*   q - (Quit) Logs the current user out / Redirects to Log In page
     33*   w - Close Teleporter / Log in
    3734*   esc - Closes the Teleporter
    38 
    3935
    4036== Installation ==
     
    7975* Added assets folder
    8076
     77= 1.1 =
     78
     79* Added navigational buttons and keyboard shortcuts for logged out users
     80
    8181
    8282== Upgrade Notice ==
     
    8989
    9090This patch fixes a pretty huge bug that prevented the usrs from using any forms. Upgrade asap!
     91
     92= 1.1 =
     93This update makes the logged in and out views look the same. If you're not logged in, you will be prompted to do so before being redirected.
  • teleport/trunk/teleport.php

    r584511 r587679  
    44    Plugin URI: http://wordpress.org/extend/plugins/teleport/
    55    Description: Teleport is all about getting around WordPress quickly! It uses keyboard shortcuts to get you to the most important places with just two taps. The intuitive teleporter is arranged exactly like the keyboard shortcuts - the e, d, s, a, and q keys make a 'u' shape around the w key. This matches the layout the teleporter. <strong>To get started:</strong> 1) Activate the plugin. 2) Go to your homepage. 3) Once the page has finished loading, press "w". This will activate the teleporter. To learn more about the teleporter, read the plugin documentation.
    6     Version: 1.0.1
     6    Version: 1.1
    77    Author: Stephen Coley
    88    Author URI: http://dknewmedia.com
     
    109109        // If the user isn't logged in, show the login Teleporter
    110110        } else {
    111 echo '<div id="teleport" data-url="' . wp_login_url($cururl) . '">
     111echo '</p><div id="teleport">
    112112    <div id="teleport_overlay"></div>
    113113    <div id="teleporter">
    114          <div id="teleport_icon_teleporter" class="teleport_login" data-url="' . wp_login_url($cururl) . '"></div>
     114         <div id="teleport_icon_teleporter" class="teleport_front teleport_face teleport_login"></div>
     115         <div id="teleport_dknewmedia" class="teleport_back teleport_face teleport_dash" data-url="' . wp_login_url() . '"></div>
    115116    </div>     
     117    <div id="teleport_first" class="teleport_button">
     118        <div id="teleport_icon_first" class="teleport_icon" data-url="' . wp_login_url(get_bloginfo('wpurl') . '/wp-admin/options-general.php') . '"></div>
     119    </div>
     120    <div id="teleport_second" class="teleport_button">
     121    <div id="teleport_icon_second" class="teleport_icon" data-url="' . wp_login_url(get_bloginfo('wpurl') . '/wp-admin/index.php') . '"></div>
     122    </div>
     123    <div id="teleport_third" class="teleport_button">
     124        <div id="teleport_icon_third" class="teleport_icon" data-url="' . wp_login_url($edit) . '"></div>
     125    </div>
     126    <div id="teleport_fourth" class="teleport_button">
     127        <div id="teleport_icon_fourth" class="teleport_icon" data-url="' . wp_login_url($cururl) . '"></div>
     128    </div>
     129    <div id="teleport_fifth" class="teleport_button">
     130        <div id="teleport_icon_fifth" class="teleport_icon" data-url="' . wp_login_url($archive) . '"></div>
     131    </div>
    116132</div>';
    117133        }
Note: See TracChangeset for help on using the changeset viewer.