> Glitch Authenticator wordpress plugin resources analysis

Glitch Authenticator wordpress plugin resources analysis

Download This Plugin
Download Elegant Themes
Name Glitch Authenticator
Version 0.7
Author ping
Rating 0
Last updated 2012-04-29 12:51:00
Downloads
312
Download Plugins Speed Test plugin for Wordpress

Home page

Delta: 0%

Post page

Delta: 0%
Glitch Authenticator plugin has no negative impact on PageSpeed score.

Home page PageSpeed score has been degraded by 0%, while Post page PageSpeed score has been degraded by 0%

Glitch Authenticator plugin added 24 bytes of resources to the Home page and 31 bytes of resources to the sample Post page.

Glitch Authenticator plugin added 0 new host(s) to the Home page and 0 new host(s) to the sample Post page.

Great! Glitch Authenticator plugin ads no tables to your Wordpress blog database.

Glitch Authenticator is not endorsed by or affiliated with Tiny Speck, Inc., the makers of Glitch, in any way.

Features

  • allows users to login with their Glitch.com account
  • displays Glitch avatars in comments

You will need to generate an API key for your site.

Hooks for Customisation

  1. apply_filters('glitchauth_display_login', $glitchLoginButton) - customise the Login with Glitch button
  2. apply_filters('glitchauth_loginmessage', $message, $error, $error_description) - customise the login error message
  3. do_action('glitchauth_new_user', $obj) - new user
  4. do_action('glitchauth_returning_user', $obj) - returning user
  5. apply_filters('glitchauth_comment_avatar_size', $avatarSize) - Change avatar size displayed in comments. Options are: '50' (default), '100', '172'

Theme Integration

To generate a Glitch login button for your theme, use the glitchauth_login_url function in place of wp_login_url. Example:

<?php 
    echo '<a class="button" href="' . glitchauth_login_url() . '">Login with Glitch</a>'; 
    // Alternatively, bring the user back to current page after login by using the redirect_to param
    // echo '<a class="button" href="' . glitchauth_login_url() . '&' . http_build_query(array('redirect_to'=>get_permalink())) . '">Login with Glitch</a>';
?>

If in The Loop, you can use the_glitch_avatar function. Example:

<?php 
if ( have_posts() ) while ( have_posts() ) : the_post(); 
    the_glitch_avatar('100');     // sizes: '50','100','172'
endwhile; 
?>

To get a specific user's Glitch Avatar, use the glitchauth_get_glitch_avatar() function. Example:

<?php
    $current_user = wp_get_current_user();
    echo '<img class="glitch-avatar" src="' . glitchauth_get_glitch_avatar($current_user) . '">';
?>

Screenshots

Resources added by plugin to Home page/Post page in kB
Total size of resources for Home page/Post page in kB
Random Theme Tests
Ani World screenshot

Ani World

by: bushman8

13365
0%
Multishop screenshot

Multishop

by: fasterthemes

6584
0%