Plugin Directory

Changeset 541111


Ignore:
Timestamp:
05/07/2012 09:37:24 PM (14 years ago)
Author:
itscoolreally
Message:

now with added color

Location:
ribbon-maker/trunk
Files:
7 added
3 edited

Legend:

Unmodified
Added
Removed
  • ribbon-maker/trunk/readme.txt

    r539896 r541111  
    55Requires at Least: 3.0.0
    66Tested Up To: 3.3.2
    7 Stable tag: 1.21
     7Stable tag: 1.30
    88
    99Make your own ribbon now without waiting for a plugin designer to do it for you.
     
    1111== Description ==
    1212
    13 A ribbon creation plugin that will allow you to generate your own ribbons in real time for up to 4 corners. They have all of the features of the static ribbons you have enjoyed so far with the exception that you can set the Message, the Link, the Link Title (hover message), toolbar offset, no toolbar offset, the background color and the foreground color. You can also control the visibility of the of ribbon so you don't have to deactivate when it is not in use. The background color is the color of the shapes that make up the ribbon and the foreground color is the color of the text.
     13A ribbon creation/corner decorator plugin that will allow you to generate your own ribbons for each of the 4 corners or you can upload your own graphics.
     14
     15= Features =
     16All of the features of the static corner ribbons.
     17Set the Message
     18Set the Link
     19Set the Link
     20Set the Title (hover message)
     21Set the toolbar offset
     22Set no toolbar offset
     23Set the background and foreground color
     24Control the visibility of the of ribbon via (de)activation
     25Use custom images.
     26
     27Now with added JSColor color picker!
    1428
    1529== Installation ==
     
    2539
    2640== Changelog ==
     41= 1.30 =
     42Added JSColor picker code to color selection boxes from the LGPL JSColor at JSColor.com.
     43
    2744= 1.22 =
    2845Added ability to upload custom images.
     
    6784
    6885== Upgrade Notice ==
     86= 1.30 =
     87Now you don't have to imagine what the hex color code is, you can simply pick it from the JSColor picker!
     88
    6989= 1.22 =
    7090Do this only if you need the ability to upload custom images in place of the ribbons.
     
    97117= Store for Future =
    98118Add database routines to store everything you create or upload for future retrieval at any time. Also, needed for scheduling.
    99 = Allow Custom Images =
    100 Decided that allowing you to add a custom image in place of an autogenerated one should be an option. This likely will be in the next release.
    101119= CSS Functionality =
    102120Switch to a comletely CSS driven routine. Which will solve resolution issues and transparency issues. Because the GD library sucks. For some reason GD is forcing me to use the "black" color for the transparency. It is not agreeing with the code at PHP.net. Going CSS will solve this issue. I just have to wrap my mind around CSS now. :D
  • ribbon-maker/trunk/ribbon-maker.php

    r539896 r541111  
    55Description: When activated, this plugin will put a ribbon of your design, message and custom link on the top right corner of your website.
    66Author: Al Lamb
    7 Version: 1.22
     7Version: 1.30
    88License: GPLv2
    99Author URI: http://bowierocks.com
     
    1111
    1212function ribbon_maker_getVersion() {
    13     return "1.22";
     13    return "1.30";
    1414}
    1515
     
    191191        </tr>
    192192        <tr><td>BGCOLOR of Ribbon<br/><span class="ribbon_maker_hint">This is the color of the objects that make up the ribbon.</span></td>
    193         <td><input type="text" name="ribbon_maker_bgcolor'.$slot.'" size="10" maxlength=7 value="'.get_option( "ribbon_maker_bgcolor$slot",'000000' ).'"></td>
     193        <td><input class="color" type="text" name="ribbon_maker_bgcolor'.$slot.'" size="10" maxlength=7 value="'.get_option( "ribbon_maker_bgcolor$slot",'000000' ).'"></td>
    194194        </tr>
    195195        <tr><td>FGCOLOR of Ribbon<br/><span class="ribbon_maker_hint">This is the color of the text comprising the message.</span></td>
    196         <td><input type="text" name="ribbon_maker_fgcolor'.$slot.'" size="10" maxlength=7 value="'.get_option( "ribbon_maker_fgcolor$slot",'ffffff' ).'"></td>
     196        <td><input class="color" type="text" name="ribbon_maker_fgcolor'.$slot.'" size="10" maxlength=7 value="'.get_option( "ribbon_maker_fgcolor$slot",'ffffff' ).'"></td>
    197197        </tr>
    198198        <tr><td>Admin Vertical Offset<br/><span class="ribbon_maker_hint">Enter a positive number to push the ribbon down, negative for up. Suggest 28 to offset the ADMIN bar.</span></td>
     
    235235function ribbon_maker_admin_head() {
    236236    echo( '
     237        <script type="text/javascript" src="'.plugins_url("jscolor/jscolor.js",__FILE__).'"></script>
    237238        <style type="text/css">
    238239        .ribbon_maker_admin_hint {
Note: See TracChangeset for help on using the changeset viewer.