WordPress.org

Plugin Directory

Changeset 535281


Ignore:
Timestamp:
04/24/12 02:39:56 (2 years ago)
Author:
ZaMoose
Message:

Readme updates aplenty, tagging 0.5.1.

Location:
lb-colorbox
Files:
4 added
4 edited
14 copied

Legend:

Unmodified
Added
Removed
  • lb-colorbox/tags/0.5.1/include/metaboxes/init.php

    r532108 r535281  
    11<?php 
    2 /** 
    3  *  Script Name:    Custom Metaboxes and Fields 
    4  *  Contributors:   Andrew Norcross (@norcross / andrewnorcross.com) 
    5  *                  Jared Atchison (@jaredatch / jaredatchison.com) 
    6  *                  Bill Erickson (@billerickson / billerickson.net) 
    7  *  Description:    This will create metaboxes with custom fields that will blow your mind. 
    8  *  Version:        0.9 
    9  *  @package        Custom-Meta-Boxes 
     2/* 
     3Script Name:    Custom Metaboxes and Fields 
     4Contributors:   Andrew Norcross (@norcross / andrewnorcross.com) 
     5                Jared Atchison (@jaredatch / jaredatchison.com) 
     6                Bill Erickson (@billerickson / billerickson.net) 
     7Description:    This will create metaboxes with custom fields that will blow your mind. 
     8Version:        0.9 
    109*/ 
    1110 
     
    4443 * Define ALL validation methods inside this class and use the names of these  
    4544 * methods in the definition of meta boxes (key 'validate_func' of each field) 
    46  *  
    47  * @package Custom-Meta-Boxes 
    4845 */ 
    4946class cmb_Meta_Box_Validate { 
     
    6057 * This may need to be filtered for local Window installations. 
    6158 * If resources do not load, please check the wiki for details. 
    62  * 
    63  * @package Custom-Meta-Boxes 
    6459 */ 
    6560define( 'CMB_META_BOX_URL', apply_filters( 'cmb_meta_box_url', trailingslashit( str_replace( WP_CONTENT_DIR, WP_CONTENT_URL, dirname( __FILE__ ) ) ) ) ); 
     
    6762/** 
    6863 * Create meta boxes 
    69  * 
    70  * @package Custom-Meta-Boxes 
    7164 */ 
    7265class cmb_Meta_Box { 
     
    233226                    $meta = '' !== $meta ? $meta : $field['std']; 
    234227                    $hex_color = '(([a-fA-F0-9]){3}){1,2}$'; 
    235  
    236228                    if ( preg_match( '/^' . $hex_color . '/i', $meta ) ) // Value is just 123abc, so prepend #. 
    237229                        $meta = '#' . $meta; 
     
    250242                    break;                   
    251243                case 'select': 
     244                    if( empty( $meta ) && !empty( $field['std'] ) ) $meta = $field['std']; 
    252245                    echo '<select name="', $field['id'], '" id="', $field['id'], '">'; 
    253246                    foreach ($field['options'] as $option) { 
  • lb-colorbox/tags/0.5.1/lb-colorbox.php

    r534354 r535281  
    44 * Plugin URI: http://literalbarrage.org/blog/code/colorbox 
    55 * Description: Store custom color swatches as custom posts for fun and profit (and use in themes!). 
    6  * Version: 0.5 
     6 * Version: 0.5.1 
    77 * Author: Doug Stewart 
    88 * Author URI: http://literalbarrage.org/blog/ 
  • lb-colorbox/tags/0.5.1/readme.txt

    r532666 r535281  
    44Tags: colors, swatches, Kuler 
    55Requires at least: 3.3 
    6 Tested up to: 3.3.1 
    7 Stable tag: 0.5 
     6Tested up to: 3.3.2 
     7Stable tag: 0.5.1 
    88  
    99Collect and share color swatches, then use them in themes. Easy peasy. 
     
    1313Collect color schemes. Use 'em, display 'em, go nuts. 
    1414 
    15 LB Colorbox is a new way to collect color schemes and tuck them away inside of WordPress for safe keeping. If you've ever admired the palettes available at [ColourLovers](http://www.colourlovers.com/), [StudioPress](http://www.studiopress.com/palettes), [Colllor](http://colllor.com) or elsewhere, you can now recreate that functionality from the safety of your own WordPress home. 
     15LB Colorbox is a new way to collect color schemes and tuck them away inside of WordPress for safe keeping. If you've ever admired the palettes available at [ColourLovers](http://www.colourlovers.com/), [StudioPress](http://www.studiopress.com/palettes), [Colllor](http://colllor.com) or elsewhere, you can now recreate that functionality from the safety of your own WordPress home. It stores your swatches as Custom Post Types inside of WordPress. 
    1616 
    1717You can also directly import color schemes from Adobe's [Kuler service](http://kuler.adobe.com/). You'll need to apply for a [Kuler API key](http://kuler.adobe.com/api/) in order to use this feature, but once you've done so, a wealth of options are available to you. 
     
    23231. Start adding ColorBoxes under the 'ColorBoxes' menu item. 
    2424 
     25= Enabling Kuler functionality =  
     26 
     271. Go to [http://kuler.adobe.com/api](http://kuler.adobe.com/api) and sign up for an Adobe account/Kuler API key 
     281. Navigate to Settings->ColorBox 
     291. Enter your Kuler API key 
     301. (Optional) Set the number of Kulers you wish to retrieve (defaults to 20 at a time) 
     311. Click Save 
     321. Kulers will now be listed under the top-level ColorBoxes menu item 
     33 
    2534== Frequently Asked Questions == 
    2635 
    2736= Where are the settings? = 
    2837 
    29 Under Settings->ColorBox 
     38Under `Settings->ColorBox`. 
     39 
     40= Where are ColorBoxes managed/created? =  
     41 
     42All ColorBoxes can be managed under a new top-level menu item labeled `ColorBoxes`. 
     43 
     44= Where are the ColorBoxes displayed (i.e., what's their permalink base)? = 
     45 
     46ColorBoxes are viewable at `[YOUR WORDPRESS URL]/colorbox/` by default. 
     47 
     48= Where can I view individual ColorBoxes? = 
     49 
     50You can view each ColorBox at `[YOUR WORDPRESS URL]/colorbox/[COLORBOX SLUG]/`. 
     51 
     52= Can I change the permalink base? = 
     53 
     54Not currently. 
    3055 
    3156== Screenshots == 
     
    33581. Create your own swatches and save them as Custom Post Types 
    34592. Supports direct imports from Adobe's Kuler tool 
     603. Custom Post Type 
     614. Saving a Kuler 
    3562 
    3663== Changelog == 
     64 
     65= 0.5.1 = 
     66* README updates 
    3767 
    3868= 0.5 = 
     
    4070 
    4171== Upgrade Notice == 
     72= 0.5.1 = 
     73README updates 
    4274 
    4375= 0.5 = 
  • lb-colorbox/trunk/include/metaboxes/init.php

    r532108 r535281  
    11<?php 
    2 /** 
    3  *  Script Name:    Custom Metaboxes and Fields 
    4  *  Contributors:   Andrew Norcross (@norcross / andrewnorcross.com) 
    5  *                  Jared Atchison (@jaredatch / jaredatchison.com) 
    6  *                  Bill Erickson (@billerickson / billerickson.net) 
    7  *  Description:    This will create metaboxes with custom fields that will blow your mind. 
    8  *  Version:        0.9 
    9  *  @package        Custom-Meta-Boxes 
     2/* 
     3Script Name:    Custom Metaboxes and Fields 
     4Contributors:   Andrew Norcross (@norcross / andrewnorcross.com) 
     5                Jared Atchison (@jaredatch / jaredatchison.com) 
     6                Bill Erickson (@billerickson / billerickson.net) 
     7Description:    This will create metaboxes with custom fields that will blow your mind. 
     8Version:        0.9 
    109*/ 
    1110 
     
    4443 * Define ALL validation methods inside this class and use the names of these  
    4544 * methods in the definition of meta boxes (key 'validate_func' of each field) 
    46  *  
    47  * @package Custom-Meta-Boxes 
    4845 */ 
    4946class cmb_Meta_Box_Validate { 
     
    6057 * This may need to be filtered for local Window installations. 
    6158 * If resources do not load, please check the wiki for details. 
    62  * 
    63  * @package Custom-Meta-Boxes 
    6459 */ 
    6560define( 'CMB_META_BOX_URL', apply_filters( 'cmb_meta_box_url', trailingslashit( str_replace( WP_CONTENT_DIR, WP_CONTENT_URL, dirname( __FILE__ ) ) ) ) ); 
     
    6762/** 
    6863 * Create meta boxes 
    69  * 
    70  * @package Custom-Meta-Boxes 
    7164 */ 
    7265class cmb_Meta_Box { 
     
    233226                    $meta = '' !== $meta ? $meta : $field['std']; 
    234227                    $hex_color = '(([a-fA-F0-9]){3}){1,2}$'; 
    235  
    236228                    if ( preg_match( '/^' . $hex_color . '/i', $meta ) ) // Value is just 123abc, so prepend #. 
    237229                        $meta = '#' . $meta; 
     
    250242                    break;                   
    251243                case 'select': 
     244                    if( empty( $meta ) && !empty( $field['std'] ) ) $meta = $field['std']; 
    252245                    echo '<select name="', $field['id'], '" id="', $field['id'], '">'; 
    253246                    foreach ($field['options'] as $option) { 
  • lb-colorbox/trunk/lb-colorbox.php

    r534354 r535281  
    44 * Plugin URI: http://literalbarrage.org/blog/code/colorbox 
    55 * Description: Store custom color swatches as custom posts for fun and profit (and use in themes!). 
    6  * Version: 0.5 
     6 * Version: 0.5.1 
    77 * Author: Doug Stewart 
    88 * Author URI: http://literalbarrage.org/blog/ 
  • lb-colorbox/trunk/readme.txt

    r532666 r535281  
    44Tags: colors, swatches, Kuler 
    55Requires at least: 3.3 
    6 Tested up to: 3.3.1 
    7 Stable tag: 0.5 
     6Tested up to: 3.3.2 
     7Stable tag: 0.5.1 
    88  
    99Collect and share color swatches, then use them in themes. Easy peasy. 
     
    1313Collect color schemes. Use 'em, display 'em, go nuts. 
    1414 
    15 LB Colorbox is a new way to collect color schemes and tuck them away inside of WordPress for safe keeping. If you've ever admired the palettes available at [ColourLovers](http://www.colourlovers.com/), [StudioPress](http://www.studiopress.com/palettes), [Colllor](http://colllor.com) or elsewhere, you can now recreate that functionality from the safety of your own WordPress home. 
     15LB Colorbox is a new way to collect color schemes and tuck them away inside of WordPress for safe keeping. If you've ever admired the palettes available at [ColourLovers](http://www.colourlovers.com/), [StudioPress](http://www.studiopress.com/palettes), [Colllor](http://colllor.com) or elsewhere, you can now recreate that functionality from the safety of your own WordPress home. It stores your swatches as Custom Post Types inside of WordPress. 
    1616 
    1717You can also directly import color schemes from Adobe's [Kuler service](http://kuler.adobe.com/). You'll need to apply for a [Kuler API key](http://kuler.adobe.com/api/) in order to use this feature, but once you've done so, a wealth of options are available to you. 
     
    23231. Start adding ColorBoxes under the 'ColorBoxes' menu item. 
    2424 
     25= Enabling Kuler functionality =  
     26 
     271. Go to [http://kuler.adobe.com/api](http://kuler.adobe.com/api) and sign up for an Adobe account/Kuler API key 
     281. Navigate to Settings->ColorBox 
     291. Enter your Kuler API key 
     301. (Optional) Set the number of Kulers you wish to retrieve (defaults to 20 at a time) 
     311. Click Save 
     321. Kulers will now be listed under the top-level ColorBoxes menu item 
     33 
    2534== Frequently Asked Questions == 
    2635 
    2736= Where are the settings? = 
    2837 
    29 Under Settings->ColorBox 
     38Under `Settings->ColorBox`. 
     39 
     40= Where are ColorBoxes managed/created? =  
     41 
     42All ColorBoxes can be managed under a new top-level menu item labeled `ColorBoxes`. 
     43 
     44= Where are the ColorBoxes displayed (i.e., what's their permalink base)? = 
     45 
     46ColorBoxes are viewable at `[YOUR WORDPRESS URL]/colorbox/` by default. 
     47 
     48= Where can I view individual ColorBoxes? = 
     49 
     50You can view each ColorBox at `[YOUR WORDPRESS URL]/colorbox/[COLORBOX SLUG]/`. 
     51 
     52= Can I change the permalink base? = 
     53 
     54Not currently. 
    3055 
    3156== Screenshots == 
     
    33581. Create your own swatches and save them as Custom Post Types 
    34592. Supports direct imports from Adobe's Kuler tool 
     603. Custom Post Type 
     614. Saving a Kuler 
    3562 
    3663== Changelog == 
     64 
     65= 0.5.1 = 
     66* README updates 
    3767 
    3868= 0.5 = 
     
    4070 
    4171== Upgrade Notice == 
     72= 0.5.1 = 
     73README updates 
    4274 
    4375= 0.5 = 
Note: See TracChangeset for help on using the changeset viewer.