Changeset 724599
- Timestamp:
- 06/09/2013 07:17:14 AM (13 years ago)
- Location:
- branded-login-screen/trunk
- Files:
-
- 3 edited
-
branded-login-screen.php (modified) (1 diff)
-
readme.txt (modified) (3 diffs)
-
uninstall.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branded-login-screen/trunk/branded-login-screen.php
r704563 r724599 232 232 { 233 233 $wp_version = get_bloginfo( 'version' ); 234 $php_ver_needed = '5. 3';234 $php_ver_needed = '5.2.4'; 235 235 $wp_ver_needed = '3.3'; 236 236 $php_ok = version_compare( PHP_VERSION, $php_ver_needed, '>=' ); -
branded-login-screen/trunk/readme.txt
r704563 r724599 7 7 Requires at least: 3.3 8 8 Tested up to: 3.5.1 9 Stable tag: 3. 09 Stable tag: 3.1 10 10 License: GNU Version 2 or Any Later Version 11 11 … … 40 40 == Frequently Asked Questions == 41 41 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? = 43 A) Go to the Plugins page in the Admin section of the site. 47 44 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 45 Locate 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 47 Scroll down and look for the following line: 48 49 48 define( 'BLS_LOCATION', 0 ); 50 51 On unedited versions of the plugin it is line 48. 52 53 Change the value to coordinate with your desired location for the login form. 54 55 0 - Middle-center 56 1 - Middle-left 57 2 - Middle-right 58 3 - Top-center 59 4 - Top-left 60 5 - Top-right 61 62 Click on the Update File button below the edit textbox. 63 Check the wp-login page to make sure changes have taken affect. 64 65 = Q) HOW TO: CHANGE THE LOGIN HEADER IMAGE? = 66 A) Go to the Plugins page in the Admin section of the site. 67 68 Locate 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 70 Scroll down and look for the following lines: 71 72 53 define( 'BLS_HDR_LOGO', 'header.png' ); 73 54 define( 'BLS_RHDR_LOGO', 'header-sm.png' ); 74 75 On unedited versions of the plugin it is lines 53 & 54. 76 77 These 2 settings are the full-sized header logo image (BLS_HDR_LOGO) and the responsive header logo image (BLS_RHDR_LOGO). 78 79 The full-sized header is 340px X 87px (w x h). Your image doesnt have to be that wide but if it is taller the bottom will be cropped. 80 81 The responsive header is the same height but is only 260px wide. Again if it is taller or wider it will be cropped. 82 83 It 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 85 The full-sized header logo image should be placed in the following folder: 86 '/branded-login-screen/assets/i/logo_main/' 87 88 The responsive header logo image should be placed in the following folder: 89 '/branded-login-screen/assets/i/logo_responsive/' 90 91 If 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 93 Click on the Update File button below the edit textbox. 94 Check the wp-login page to make sure changes have taken affect. 95 96 = Q) HOW TO: CHANGE THE BACKGROUND IMAGE? = 97 A) Go to the Plugins page in the Admin section of the site. 98 99 Locate 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 101 Scroll down and look for the following lines: 102 103 50 define( 'BLS_FULL_SCREEN', true ); 104 51 105 52 define( 'BLS_BG_IMG', 'default-img.jpg' ); 106 107 If 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 109 If 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 111 Click on the Update File button below the edit textbox. 112 Check the wp-login page to make sure changes have taken affect. 56 113 57 114 == Screenshots == 58 115 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 116 1. Login Form Locations 117 2. Default Form Location 118 3. Repeatable Background Image 66 119 67 120 == Upgrade Notice == … … 70 123 71 124 == 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 72 130 73 131 = 3.0 = -
branded-login-screen/trunk/uninstall.php
r668291 r724599 1 1 <?php 2 if( !defin ded ( 'WP_UNINSTALL_PLUGIN' ) )2 if( !defined ( 'WP_UNINSTALL_PLUGIN' ) ) 3 3 exit (); 4 4 ?>
Note: See TracChangeset
for help on using the changeset viewer.