Changeset 2912229
- Timestamp:
- 05/14/2023 06:42:50 PM (3 years ago)
- Location:
- racar-message-me
- Files:
-
- 4 added
- 4 edited
-
assets/screenshot-1.png (added)
-
assets/screenshot-2.png (added)
-
assets/screenshot-3.png (added)
-
assets/screenshot-4.png (added)
-
trunk/includes/admin/class-rmm-admin-options.php (modified) (2 diffs)
-
trunk/includes/class-rmm-plugin.php (modified) (2 diffs)
-
trunk/racar-message-me.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
racar-message-me/trunk/includes/admin/class-rmm-admin-options.php
r2912110 r2912229 285 285 $new_input['rmm_main_text'] = sanitize_text_field( $input['rmm_main_text'] ); 286 286 287 if( isset( $input['rmm_main_background_color'] ) ) {287 if( isset( $input['rmm_main_background_color'] ) && ! empty( $input['rmm_main_background_color'] ) ) { 288 288 $textcolor = trim( $input['rmm_main_background_color'] ); 289 289 $textcolor = strip_tags( stripslashes( $textcolor ) ); … … 295 295 } 296 296 297 if( isset( $input['rmm_main_icon_color'] ) ) {297 if( isset( $input['rmm_main_icon_color'] ) && ! empty( $input['rmm_main_icon_color'] ) ) { 298 298 $textcolor = trim( $input['rmm_main_icon_color'] ); 299 299 $textcolor = strip_tags( stripslashes( $textcolor ) ); -
racar-message-me/trunk/includes/class-rmm-plugin.php
r2912110 r2912229 69 69 global $rmm_DIR_JAVASCRIPT; 70 70 global $rmm_EXT_JAVASCRIPT; 71 wp_register_script( $rmm_NOME_JAVASCRIPT, $rmm_DIR_JAVASCRIPT.$rmm_NOME_JAVASCRIPT.$rmm_EXT_JAVASCRIPT );71 wp_register_script( $rmm_NOME_JAVASCRIPT, $rmm_DIR_JAVASCRIPT.$rmm_NOME_JAVASCRIPT.$rmm_EXT_JAVASCRIPT, array('jquery') ); 72 72 wp_enqueue_script( $rmm_NOME_JAVASCRIPT ); 73 73 … … 121 121 global $rmm_DIR_ADMIN_JAVASCRIPT; 122 122 global $rmm_EXT_ADMIN_JAVASCRIPT; 123 wp_register_script( $rmm_NOME_ADMIN_JAVASCRIPT, $rmm_DIR_ADMIN_JAVASCRIPT.$rmm_NOME_ADMIN_JAVASCRIPT.$rmm_EXT_ADMIN_JAVASCRIPT , array( 'jquery' /*, 'wp-color-picker'*/) , '1.0' , true );123 wp_register_script( $rmm_NOME_ADMIN_JAVASCRIPT, $rmm_DIR_ADMIN_JAVASCRIPT.$rmm_NOME_ADMIN_JAVASCRIPT.$rmm_EXT_ADMIN_JAVASCRIPT , array( 'jquery', 'wp-color-picker' ) , '1.0' , true ); 124 124 wp_enqueue_script( $rmm_NOME_ADMIN_JAVASCRIPT ); 125 125 } -
racar-message-me/trunk/racar-message-me.php
r2912110 r2912229 4 4 * Plugin URI: https://profissionalwp.dev.br/ 5 5 * Description: This plugin allows you to add a customizable button with your social networks inboxes (direct message). The button appears on the left bottom corner of your website. When clicked, it'll take the user to your social network private message inbox. 6 * Version: 0.2. 16 * Version: 0.2.2 7 7 * Author: Rafa Carvalhido 8 8 * Author URI: https://profissionalwp.dev.br/blog/contato/rafa-carvalhido/ … … 55 55 56 56 $rmm_plugin_name = "RaCar Message Me"; 57 $rmm_VERSION = '0.2. 1';57 $rmm_VERSION = '0.2.2'; 58 58 59 59 $rmm_NOME_STYLESHEET = 'rmm-stylesheet'; -
racar-message-me/trunk/readme.txt
r2912110 r2912229 2 2 Contributors: rafacarvalhido 3 3 Donate link: https://www.paypal.me/RafaCarvalhido 4 Tags: chat, whatsapp, facebook, messenger, skype, instagram, dm, telegram 4 Tags: chat, whatsapp, facebook, messenger, skype, instagram, dm, telegram, message, inbox 5 5 Requires at least: 4.9.8 6 6 Tested up to: 6.2 7 Stable tag: 0.2. 17 Stable tag: 0.2.2 8 8 Requires PHP: 7.0 9 9 License: GPLv2 … … 14 14 == Description == 15 15 16 This plugin allows you to add a customizable button with your social networks inboxes (direct message). The button appears on the left bottom corner of your website . When clicked, it'll take the user to your social network private message inbox.16 This plugin allows you to add a customizable button with your social networks inboxes (direct message). The button appears on the left bottom corner of your website by default, but you can change it to the right. When clicked, it'll take the user to your social network private message inbox. Currently supports WhatsApp, Instagram DM, Facebook Messenger, Microsoft Skype and Telegram. 17 17 18 18 = AFTER INSTALL = … … 22 22 = HOW TO USE IT = 23 23 24 On settings page, choose your options such as colors and text and enable the plugin so the button will show.24 On settings page, choose the desired options and what social networks you want to use, then add the required information. It will automatically appear in your site's front end. If anything looks weird, hit Ctrl + F5 (or Command + F5). 25 25 26 The button itself is a '<button type="submit">' HTML tag, has the 'class="button"' and 'id="clear-cart"', so you're welcome to add your own CSS to it. If doing so, leave the options on options page blank. In failing to do so, you'll have to use the '!important' to some of the elements such as 'background' and 'color'.27 26 28 27 = RESET SETTINGS = … … 36 35 37 36 Below, you'll find the screenshots. Follow these captions: 38 1. Plugin Enabled 39 2. Confirmation 40 3. Cleared Cart 41 4. Plugin Options 42 5. Frontend With Option set 37 1. Find plugin and activate it 38 2. Admin options 39 3. Mouse over icon 40 4. Button pressed and show options 43 41 44 42 … … 47 45 = Minimum Requirements = 48 46 49 * PHP version 5.6 or greater (PHP 7. 2or greater is recommended)47 * PHP version 5.6 or greater (PHP 7.4 or greater is recommended) 50 48 * MySQL version 5.6 or greater 51 49 … … 104 102 105 103 == Screenshots == 106 1. Plugin Enabled 107 2. Confirmation 108 3. Cleared Cart 109 4. Plugin Options 110 5. Frontend With Option set 104 1. Find plugin and activate it 105 2. Admin options 106 3. Mouse over icon 107 4. Button pressed and show options 111 108 112 109 113 110 114 111 == Changelog == 112 = 0.2.2 - May 14th, 2023 = 113 * **Fix** - Fixed code to be more careful when checking empty. 114 * **Fix** - Fixed jquery issues. 115 * **Fix** - Fixed colorpicker issues. 116 * **Fix** - Fixed Read me text. 117 * **Update** - Added the screenshots for plugin page 118 115 119 = 0.2.1 - May 10th, 2023 = 116 120 * **Fix** - Fixed PHP mistyping in admin options.
Note: See TracChangeset
for help on using the changeset viewer.