Changeset 1345493
- Timestamp:
- 02/08/2016 02:16:14 AM (10 years ago)
- Location:
- birthdays-widget
- Files:
-
- 48 added
- 3 edited
-
tags/1.7.12 (added)
-
tags/1.7.12/birthday-widget.php (added)
-
tags/1.7.12/birthdays-widget-ajax-callback.php (added)
-
tags/1.7.12/class-birthdays-widget-installer.php (added)
-
tags/1.7.12/class-birthdays-widget-settings.php (added)
-
tags/1.7.12/class-birthdays-widget.php (added)
-
tags/1.7.12/css (added)
-
tags/1.7.12/css/bic_calendar.css (added)
-
tags/1.7.12/css/birthdays-widget.css (added)
-
tags/1.7.12/css/bootstrap.css (added)
-
tags/1.7.12/css/bootstrap.min.css (added)
-
tags/1.7.12/css/jquery.dataTables.min.css (added)
-
tags/1.7.12/fonts (added)
-
tags/1.7.12/fonts/glyphicons-halflings-regular.eot (added)
-
tags/1.7.12/fonts/glyphicons-halflings-regular.svg (added)
-
tags/1.7.12/fonts/glyphicons-halflings-regular.ttf (added)
-
tags/1.7.12/fonts/glyphicons-halflings-regular.woff (added)
-
tags/1.7.12/images (added)
-
tags/1.7.12/images/birthday_cake.png (added)
-
tags/1.7.12/images/birthday_cake_icon.png (added)
-
tags/1.7.12/images/default_user.png (added)
-
tags/1.7.12/images/sort_asc.png (added)
-
tags/1.7.12/images/sort_both.png (added)
-
tags/1.7.12/images/sort_desc.png (added)
-
tags/1.7.12/js (added)
-
tags/1.7.12/js/bic_calendar.js (added)
-
tags/1.7.12/js/bic_calendar.min.js (added)
-
tags/1.7.12/js/bootstrap.min.js (added)
-
tags/1.7.12/js/date-picker.js (added)
-
tags/1.7.12/js/datetime-moment.js (added)
-
tags/1.7.12/js/jquery.dataTables.min.js (added)
-
tags/1.7.12/js/moment.min.js (added)
-
tags/1.7.12/js/script.js (added)
-
tags/1.7.12/js/shortcode.js (added)
-
tags/1.7.12/js/unused.js (added)
-
tags/1.7.12/languages (added)
-
tags/1.7.12/languages/birthdays-widget-el.mo (added)
-
tags/1.7.12/languages/birthdays-widget-el.po (added)
-
tags/1.7.12/languages/birthdays-widget.pot (added)
-
tags/1.7.12/readme.txt (added)
-
tags/1.7.12/screenshot-1.jpg (added)
-
tags/1.7.12/screenshot-2.jpg (added)
-
tags/1.7.12/screenshot-3.jpg (added)
-
tags/1.7.12/screenshot-4.jpg (added)
-
tags/1.7.12/screenshot-5.jpg (added)
-
tags/1.7.12/screenshot-6.jpg (added)
-
tags/1.7.12/uninstall.php (added)
-
tags/1.7.12/uploads (added)
-
trunk/birthday-widget.php (modified) (5 diffs)
-
trunk/class-birthdays-widget-settings.php (modified) (1 diff)
-
trunk/readme.txt (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
birthdays-widget/trunk/birthday-widget.php
r1344125 r1345493 5 5 Description: Birthdays widget plugin produces a widget which displays a customizable happy birthday image and wish to your clients/users. 6 6 Author: lion2486, Sudavar 7 Version: 1.7.1 17 Version: 1.7.12 8 8 Author URI: http://www.codescar.eu 9 9 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 11 11 Requires at least: 3.5 12 Tested up to: 4. 312 Tested up to: 4.4.2 13 13 Text Domain: birthdays-widget 14 14 License: GPLv2 … … 16 16 */ 17 17 18 define( 'BW', '1.7.1 1' );18 define( 'BW', '1.7.12' ); 19 19 require_once dirname( __FILE__ ) . '/class-birthdays-widget.php'; 20 20 require_once dirname( __FILE__ ) . '/class-birthdays-widget-installer.php'; … … 37 37 // register our scripts 38 38 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 ); 40 40 wp_register_script( 'birthdays-cal', plugins_url( 'js/cal.js', __FILE__ ), array( 'jquery' ), BW ); 41 41 wp_register_script( 'birthdays-calendar-js', plugins_url( 'js/bic_calendar.min.js', __FILE__ ), array( 'jquery' ), BW ); 42 42 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' ); 47 53 wp_register_style( 'jquery-style', 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/themes/smoothness/jquery-ui.css', array(), BW ); 48 54 wp_register_style( 'birthdays-calendar-css', plugins_url( 'css/bic_calendar.css', __FILE__ ), array(), BW ); … … 350 356 } 351 357 } 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 } 352 363 /* 353 364 // Scheduled Action Hook … … 402 413 } 403 414 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 867 867 wp_enqueue_script( 'jquery-ui-datepicker' ); 868 868 wp_enqueue_script( 'jquery-ui-tooltip' ); 869 wp_enqueue_script( 'birthdays-table-js' ); 869 wp_enqueue_script( 'datatables' ); 870 wp_enqueue_script( 'moment' ); 870 871 wp_enqueue_script( 'birthdays-table-datetime-js' ); 871 872 wp_enqueue_script( 'birthdays-script' ); -
birthdays-widget/trunk/readme.txt
r1344125 r1345493 4 4 Description: Birthdays widget plugin produces a widget which displays a customizable happy birthday image and wish to your clients/users. 5 5 Author: lion2486, Sudavar 6 Version: 1.7.1 16 Version: 1.7.12 7 7 Author URI: http://www.codescar.eu 8 8 Contributors: lion2486, Sudavar 9 Donate link: https://www.paypal.com/ gr/cgi-bin/webscr?cmd=_flow&SESSION=Rxb14ltcz8y8NfgafCdykAi4liOMv6F4qTihJEStzyBstHV2Eube-Yz49g4&dispatch=5885d80a13c0db1f8e263663d3faee8d66f31424b43e9a70645c907a6cbd8fb410 Tags: widget, birthdays, custom birthday list, WordPress User birthday, birthday calendar 9 Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=yurissudavar%40gmail%2ecom&lc=GR&no_note=0¤cy_code=EUR&bn=PP%2dDonationsBF%3abtn_donate_LG%2egif%3aNonHostedGuest 10 Tags: widget, birthdays, custom birthday list, WordPress User birthday, birthday calendar, BuddyPress birthday, users birthday, all years birthdays, upcoming birthdays 11 11 Requires at least: 3.5 12 Tested up to: 4. 313 Stable tag: 1.7.1 112 Tested up to: 4.4.2 13 Stable tag: 1.7.12 14 14 Text Domain: birthdays-widget 15 15 Domain Path: /languages … … 21 21 == Description == 22 22 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. 23 Birthdays Widget allows to add your custom birthday-list and display a custom message in 24 a widget or a shortcode in every page always or only when it's necessary. 25 WordPress Users can also have a birthday date field, or you can even draw their birthday date 26 from another of their metafields (even BuddyPress xProfile fields). 25 27 26 28 Features: 27 29 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 40 Some 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. 35 41 36 42 **Your ratings mean a lot to us. If you like our work please consider leaving a review.** … … 42 48 1. Upload `birthdays-widget` to the `/wp-content/plugins/` directory 43 49 2. 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. 50 2b.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` 51 3. Configure the plugin to draw the birthday date from the WP User's metafield you want 52 4. 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 53 5. Add the shortcode in form of: [birthdays class="your_class" img_width="desired_width" template="default | list | calendar | upcoming"] 54 6. OR Add the widget to your sidebar. 55 7. Enjoy! 46 56 47 57 == Screenshots == … … 56 66 == Changelog == 57 67 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 58 73 = 1.7.11 = 59 74 * Fixed bugs associated with date manipulation 60 * New screenshots75 * New [Screenshots](https://wordpress.org/plugins/birthdays-widget/screenshots/) 61 76 62 77 = 1.7.10 = … … 73 88 * All Users with Birthdays are now shown in admin table where the date 74 89 and image (not in case of Gravatar) properties are editable 75 * Custom Verbiage instead of default years old, thanks to mevilsizor [mevilsizor] for the suggestion90 * Custom Verbiage instead of default years old, thanks to mevilsizor [mevilsizor](https://wordpress.org/support/profile/mevilsizor) for the suggestion 76 91 * Fix in images drawn from a meta field data 77 92 * A first attempt of scheduled cron of emails, but it's still all in comments … … 93 108 * User image broken image displayed when disabled, fixed in all modes 94 109 * 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 help110 * Birthdays of next year in upcoming mode bug fixed, thanks to Matthieu [boo6ie](https://profiles.wordpress.org/boo6ie) for his help 96 111 97 112 = 1.7.5 = … … 176 191 * Corrected a problem with the comma (,) between the names of people having birthday 177 192 * Javascript enabling datepicker, in separate file 178 * Fixed problem with duplicate $args[ 'before_widget' ], thanks to @blewis1510193 * Fixed problem with duplicate $args[ 'before_widget' ], thanks to [blewis1510](https://profiles.wordpress.org/blewis1510) 179 194 180 195 = 1.5.3 =
Note: See TracChangeset
for help on using the changeset viewer.