Plugin Directory

Changeset 724599


Ignore:
Timestamp:
06/09/2013 07:17:14 AM (13 years ago)
Author:
kwebster
Message:

Updates from 3.1 to trunk

Location:
branded-login-screen/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branded-login-screen/trunk/branded-login-screen.php

    r704563 r724599  
    232232    {
    233233        $wp_version = get_bloginfo( 'version' );
    234         $php_ver_needed = '5.3';
     234        $php_ver_needed = '5.2.4';
    235235        $wp_ver_needed = '3.3';
    236236        $php_ok = version_compare( PHP_VERSION, $php_ver_needed, '>=' );
  • branded-login-screen/trunk/readme.txt

    r704563 r724599  
    77Requires at least: 3.3
    88Tested up to: 3.5.1
    9 Stable tag: 3.0
     9Stable tag: 3.1
    1010License: GNU Version 2 or Any Later Version
    1111
     
    4040== Frequently Asked Questions ==
    4141
    42 = Q) What is required to use a repeating background image? =
    43 A) It is a two step process.
    44    1. Change the 'BLS_FULL_SCREEN' variable to false. The plugin will then treat your image as repeatable., 2. Upload your background image to the 'assets\i\background_image' folder and make sure the 'BLS_BG_IMG' variable has an accurate image name.
    45    
    46    All of the changes mentioned are to the branded-login-screen.php file.
     42= Q) HOW TO: CHANGE THE LOGIN FORM LOCATION ON YOUR SITES LOGIN PAGE? =
     43A) Go to the Plugins page in the Admin section of the site.
    4744
    48 = Q) What is required to change the location of the login form from the right side to the left or center: top/middle? =
    49 A) Just change the 'BLS_LOCATION' variable to 1 of the 6 positions available for the login form:
    50 * 0 - middle/center //default
    51 * 1 - middle/left
    52 * 2 - middle/right
    53 * 3 - top/center
    54 * 4 - top/left
    55 * 5 - top/right
     45Locate the ‘Branded Login Screen’ plugin entry and select ‘Edit’. This will take you to the ‘Edit Plugins’ screen with the ‘branded-login-screen.php’ loaded and ready to edit.
     46
     47Scroll down and look for the following line:
     48
     4948    define( 'BLS_LOCATION', 0 );
     50
     51On unedited versions of the plugin it is line 48.
     52
     53Change the value to coordinate with your desired location for the login form.
     54
     550 - Middle-center
     561 - Middle-left
     572 - Middle-right
     583 - Top-center
     594 - Top-left
     605 - Top-right
     61 
     62Click on the ‘Update File’ button below the edit textbox.
     63Check the wp-login page to make sure changes have taken affect.
     64
     65= Q) HOW TO: CHANGE THE LOGIN HEADER IMAGE? =
     66A) Go to the Plugins page in the Admin section of the site.
     67
     68Locate the ‘Branded Login Screen’ plugin entry and select ‘Edit’. This will take you to the ‘Edit Plugins’ screen with the ‘branded-login-screen.php’ loaded and ready to edit.
     69
     70Scroll down and look for the following lines:
     71
     7253    define( 'BLS_HDR_LOGO', 'header.png' );
     7354    define( 'BLS_RHDR_LOGO', 'header-sm.png' );
     74
     75On unedited versions of the plugin it is lines 53 & 54.
     76
     77These 2 settings are the full-sized header logo image (BLS_HDR_LOGO) and the responsive header logo image (BLS_RHDR_LOGO).
     78
     79The full-sized header is 340px X 87px (w x h).  Your image doesn’t have to be that wide but if it is taller the bottom will be cropped.
     80
     81The responsive header is the same height but is only 260px wide. Again if it is taller or wider it will be cropped.
     82
     83It is best to make 2 images, one for each mode although if properly laid out, 1 image could work for both states. If you decide to use one image, you will have to make 2 copies and place in the appropriate folders.
     84
     85The full-sized header logo image should be placed in the following folder:
     86    '/branded-login-screen/assets/i/logo_main/'
     87
     88The responsive header logo image should be placed in the following folder:
     89    '/branded-login-screen/assets/i/logo_responsive/'
     90
     91If the image names are not the default names ( header.png & header-sm.png ), you will need to edit lines 53 & 54 mentioned above with the appropriate names.
     92
     93Click on the ‘Update File’ button below the edit textbox.
     94Check the wp-login page to make sure changes have taken affect.
     95
     96= Q) HOW TO: CHANGE THE BACKGROUND IMAGE? =
     97A) Go to the Plugins page in the Admin section of the site.
     98
     99Locate the ‘Branded Login Screen’ plugin entry and select ‘Edit’. This will take you to the ‘Edit Plugins’ screen with the ‘branded-login-screen.php’ loaded and ready to edit.
     100
     101Scroll down and look for the following lines:
     102
     10350    define( 'BLS_FULL_SCREEN',  true );
     10451
     10552    define( 'BLS_BG_IMG',       'default-img.jpg' );
     106
     107If you are using a full-screen background image simply upload the new image to the plugins ‘/assets/i/background_image’ folder. If the image has a different name than on line 52 (default-img.jpg), edit line 52 to match the image name you uploaded.
     108
     109If you are using a repeatable image for the background, on line 50 change true to false (no quotes). This will of course require the new image to be uploaded to the ‘/assets/i/background_image’ folder and an edit of line 52 if the image name is not the same as the image name on that line.
     110
     111Click on the ‘Update File’ button below the edit textbox.
     112Check the wp-login page to make sure changes have taken affect.
    56113
    57114== Screenshots ==
    58115
    59 1. Login form: middle/center - set BLS_LOCATION=0 (default)
    60 2. Login form: middle/left - set BLS_LOCATION=1
    61 3. Login form: middle/right - set BLS_LOCATION=2
    62 4. Login form: top/center - set BLS_LOCATION=3
    63 5. Login form: top/left - set BLS_LOCATION=4
    64 6. Login form: top/right - set BLS_LOCATION=5
    65 
     1161. Login Form Locations
     1172. Default Form Location
     1183. Repeatable Background Image
    66119
    67120== Upgrade Notice ==
     
    70123
    71124== Changelog ==
     125
     126= 3.1 =
     127* fixed uninstall.php typo causing php error on uninstall.
     128* changed PHP required version from 5.3 to 5.2.4 to match the WordPress requirement.
     129* changed readme.txt FAQ and Changelog
    72130
    73131= 3.0 =
  • branded-login-screen/trunk/uninstall.php

    r668291 r724599  
    11<?php
    2 if( !definded ( 'WP_UNINSTALL_PLUGIN' ) )
     2if( !defined ( 'WP_UNINSTALL_PLUGIN' ) )
    33    exit ();
    44?>
Note: See TracChangeset for help on using the changeset viewer.