Plugin Directory

Changeset 1345493


Ignore:
Timestamp:
02/08/2016 02:16:14 AM (10 years ago)
Author:
Sudavar
Message:

1.7.12

Location:
birthdays-widget
Files:
48 added
3 edited

Legend:

Unmodified
Added
Removed
  • birthdays-widget/trunk/birthday-widget.php

    r1344125 r1345493  
    55    Description: Birthdays widget plugin produces a widget which displays a customizable happy birthday image and wish to your clients/users.
    66    Author: lion2486, Sudavar
    7     Version: 1.7.11
     7    Version: 1.7.12
    88    Author URI: http://www.codescar.eu
    99    Contributors: lion2486, Sudavar
    10     Tags: widget, birthdays, custom birthday list, WordPress User birthday, birthday calendar
     10    Tags: widget, birthdays, custom birthday list, WordPress User birthday, birthday calendar, BuddyPress birthday, users birthday, all years birthdays, upcoming birthdays
    1111    Requires at least: 3.5
    12     Tested up to: 4.3
     12    Tested up to: 4.4.2
    1313    Text Domain: birthdays-widget
    1414    License: GPLv2
     
    1616 */
    1717
    18     define( 'BW', '1.7.11' );
     18    define( 'BW', '1.7.12' );
    1919    require_once dirname( __FILE__ ) . '/class-birthdays-widget.php';
    2020    require_once dirname( __FILE__ ) . '/class-birthdays-widget-installer.php';
     
    3737    // register our scripts
    3838    function birthdays_extra_files() {
    39         wp_register_script( 'birthdays-script', plugins_url( 'js/script.js', __FILE__ ), array( 'jquery' ), BW );
     39        wp_register_script( 'birthdays-script', plugins_url( 'js/script.js', __FILE__ ), array( 'jquery' ), BW, true );
    4040        wp_register_script( 'birthdays-cal', plugins_url( 'js/cal.js', __FILE__ ), array( 'jquery' ), BW );
    4141        wp_register_script( 'birthdays-calendar-js', plugins_url( 'js/bic_calendar.min.js', __FILE__ ), array( 'jquery' ), BW );
    4242        wp_register_script( 'birthdays-bootstrap-js', plugins_url( 'js/bootstrap.min.js', __FILE__ ), array( 'jquery' ), BW );
    43         wp_register_script( 'birthdays-table-js', plugins_url( 'js/jquery.dataTables.min.js', __FILE__ ), array( 'jquery' ), BW );
    44         wp_register_script( 'birthdays-table-moment-js', plugins_url( 'js/moment.min.js', __FILE__ ), array( 'jquery' ), BW );
    45         wp_register_script( 'birthdays-table-datetime-js', plugins_url( 'js/datetime-moment.js', __FILE__ ), array( 'jquery', 'birthdays-table-moment-js' ), BW );
    46 
     43        wp_register_script( 'datatables', plugins_url( 'js/jquery.dataTables.min.js', __FILE__ ), array( 'jquery' ), BW );
     44        wp_register_script( 'moment', plugins_url( 'js/moment.min.js', __FILE__ ), array( 'jquery' ), BW );
     45        wp_register_script( 'birthdays-table-datetime-js', plugins_url( 'js/datetime-moment.js', __FILE__ ), array( 'jquery' ), BW, true );
     46       
     47        $handle = 'datatables';
     48        $list = 'registered';
     49        if ( wp_script_is( $handle, $list ) ) {
     50            wp_deregister_script( $handle );
     51        }
     52        wp_register_script( 'datatables', plugins_url( 'js/jquery.dataTables.min.js', __FILE__ ), array( 'jquery' ), 'BW' );
    4753        wp_register_style( 'jquery-style', 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/themes/smoothness/jquery-ui.css', array(), BW );
    4854        wp_register_style( 'birthdays-calendar-css', plugins_url( 'css/bic_calendar.css', __FILE__ ), array(), BW );
     
    350356        }
    351357    }
     358
     359    register_activation_hook( __FILE__, 'my_activation_func' );
     360    function my_activation_func() {
     361        file_put_contents(__DIR__.'/my_loggg.txt', ob_get_contents());
     362    }
    352363    /*
    353364    // Scheduled Action Hook
     
    402413    }
    403414    add_action( 'wp', 'birthdays_email' ); */
    404     register_activation_hook( __FILE__, 'my_activation_func' );
    405     function my_activation_func() {
    406         file_put_contents(__DIR__.'/my_loggg.txt', ob_get_contents());
    407     }
  • birthdays-widget/trunk/class-birthdays-widget-settings.php

    r1344125 r1345493  
    867867            wp_enqueue_script( 'jquery-ui-datepicker' );
    868868            wp_enqueue_script( 'jquery-ui-tooltip' );
    869             wp_enqueue_script( 'birthdays-table-js' );
     869            wp_enqueue_script( 'datatables' );
     870            wp_enqueue_script( 'moment' );
    870871            wp_enqueue_script( 'birthdays-table-datetime-js' );
    871872            wp_enqueue_script( 'birthdays-script' );
  • birthdays-widget/trunk/readme.txt

    r1344125 r1345493  
    44Description: Birthdays widget plugin produces a widget which displays a customizable happy birthday image and wish to your clients/users.
    55Author: lion2486, Sudavar
    6 Version: 1.7.11
     6Version: 1.7.12
    77Author URI: http://www.codescar.eu
    88Contributors: lion2486, Sudavar
    9 Donate link: https://www.paypal.com/gr/cgi-bin/webscr?cmd=_flow&SESSION=Rxb14ltcz8y8NfgafCdykAi4liOMv6F4qTihJEStzyBstHV2Eube-Yz49g4&dispatch=5885d80a13c0db1f8e263663d3faee8d66f31424b43e9a70645c907a6cbd8fb4
    10 Tags: widget, birthdays, custom birthday list, WordPress User birthday, birthday calendar
     9Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=yurissudavar%40gmail%2ecom&lc=GR&no_note=0&currency_code=EUR&bn=PP%2dDonationsBF%3abtn_donate_LG%2egif%3aNonHostedGuest
     10Tags: widget, birthdays, custom birthday list, WordPress User birthday, birthday calendar, BuddyPress birthday, users birthday, all years birthdays, upcoming birthdays
    1111Requires at least: 3.5
    12 Tested up to: 4.3
    13 Stable tag: 1.7.11
     12Tested up to: 4.4.2
     13Stable tag: 1.7.12
    1414Text Domain: birthdays-widget
    1515Domain Path: /languages
     
    2121== Description ==
    2222
    23 Birthdays Widget allows to add your custom birthday-list and display a custom message in a widget only when it's necessary.
    24 WordPress Users can also have a birthdays field, or you can even draw their birthday date from another user metafield.
     23Birthdays Widget allows to add your custom birthday-list and display a custom message in
     24a widget or a shortcode in every page always or only when it's necessary.
     25WordPress Users can also have a birthday date field, or you can even draw their birthday date
     26from another of their metafields (even BuddyPress xProfile fields).
    2527
    2628Features:
    2729
    28 * **Integration with WordPress User Profile and Registration Form**
    29 * **Customizable message and image**
    30 * **Export to CSV file**
    31 * **Import/Restore from CSV**
    32 * **Greek & English Languages**
    33 
    34 Some use our plugin as an announcement tool, as you can modify the message and the image shown in widget.
     30* **Integration with WordPress User Profile, Gravatar or profile image through WordPress Media Manger**
     31* **Integration with BuddyPress User Profile and date field generated by it**
     32* **Integration with any WordPress User metafield generated by other plugins. Date format should be saved as WordPress Date Format in settings**
     33* **Powerfull table enhanced by DataTables.js for fast and easy administration of Birthdays Records**
     34* **3 different modes: List (with User's Image), Calendar for all year Birthdays, Upcoming Birthdays, Default comma seperated Birthdays of current day
     35* **Customizable message, image for widget and verbiage and images for Users**
     36* **Controlled access to Birthday Admin Table with WordPress custom capability**
     37* **Import/Export from/to CSV file**
     38* **Greek, English Languages (please feel free to contribute)**
     39
     40Some use our plugin as an announcement tool or as work anniversary reminder, as you can modify the message, the image shown in widget and the verbiage to Users.
    3541
    3642**Your ratings mean a lot to us. If you like our work please consider leaving a review.**
     
    42481. Upload `birthdays-widget` to the `/wp-content/plugins/` directory
    43492. Activate the plugin through the 'Plugins' menu in WordPress
    44 3. Add your birthdays List in Birthdays Widget Settings page
    45 4. Add the widget to your sidebar.
     502b.In case of error during activation, please visit our plugin's support threads and post the contents of `/wp-content/plugins/birthdays-widget/my_loggg.txt`
     513. Configure the plugin to draw the birthday date from the WP User's metafield you want
     524. OR go ahead and import your list from a CSV file with the format of: <name>,<date> where <name> a string and <date> as Y-m-D
     535. Add the shortcode in form of: [birthdays class="your_class" img_width="desired_width" template="default | list | calendar | upcoming"]
     546. OR Add the widget to your sidebar.
     557. Enjoy!
    4656
    4757== Screenshots ==
     
    5666== Changelog ==
    5767
     68= 1.7.12 =
     69* Modification to avoid conflict of loading twice DataTables.js
     70* Paypal donation link fixed
     71* Thanks to [jakobbader](https://wordpress.org/support/profile/jakobbader)
     72
    5873= 1.7.11 =
    5974* Fixed bugs associated with date manipulation
    60 * New screenshots
     75* New [Screenshots](https://wordpress.org/plugins/birthdays-widget/screenshots/)
    6176
    6277= 1.7.10 =
     
    7388* All Users with Birthdays are now shown in admin table where the date
    7489and image (not in case of Gravatar) properties are editable
    75 * Custom Verbiage instead of default years old, thanks to mevilsizor [mevilsizor] for the suggestion
     90* Custom Verbiage instead of default years old, thanks to mevilsizor [mevilsizor](https://wordpress.org/support/profile/mevilsizor) for the suggestion
    7691* Fix in images drawn from a meta field data
    7792* A first attempt of scheduled cron of emails, but it's still all in comments
     
    93108* User image broken image displayed when disabled, fixed in all modes
    94109* Optional custom message when no records exist in birthday table in all modes
    95 * Birthdays of next year in upcoming mode bug fixed, thanks to Matthieu [boo6ie] for his help
     110* Birthdays of next year in upcoming mode bug fixed, thanks to Matthieu [boo6ie](https://profiles.wordpress.org/boo6ie) for his help
    96111
    97112= 1.7.5 =
     
    176191* Corrected a problem with the comma (,) between the names of people having birthday
    177192* Javascript enabling datepicker, in separate file
    178 * Fixed problem with duplicate $args[ 'before_widget' ], thanks to @blewis1510
     193* Fixed problem with duplicate $args[ 'before_widget' ], thanks to [blewis1510](https://profiles.wordpress.org/blewis1510)
    179194
    180195= 1.5.3 =
Note: See TracChangeset for help on using the changeset viewer.