tracyfloyd
Forum Replies Created
-
For others having this issue, here’s a bit of jQuery that can fix it in the meantime:
$('input[name=alg_open_price]').attr('step', '.01');
Forum: Plugins
In reply to: [Better Font Awesome] BFA 2 beta ready for testing!Oh I see now, thanks for pointing that out @martinkolarik
So instead of previous comment, leave line 551 alone.
Change values of constants to:
const JSDELIVR_API_URL = 'https://data.jsdelivr.com/v1/package/npm/@fortawesome/fontawesome-free';
const JSDELIVR_ICON_METADATA_BASE_URL = 'https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@';
const JSDELIVR_ICON_METADATA_FILE_PATH = '/metadata/icons.yml';
Around line 694:
Replace:
$this->stylesheet_url = '//cdn.jsdelivr.net/gh/FortAwesome/Font-Awesome@' . $version . '/web-fonts-with-css/css/fontawesome-all' . $this->get_min_suffix() . '.css';
To:$this->stylesheet_url = 'https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@' . $version . '/css/all' . $this->get_min_suffix() . '.css'; // Updated to use proper css path -TF 2018-12-12
This got it working again for me. There is still an error in the Admin when trying to use the “Insert Icon” button.
Forum: Plugins
In reply to: [Better Font Awesome] API Error: 404 for Not Found cdn.jsdelivr.netForum: Plugins
In reply to: [Better Font Awesome] BFA 2 beta ready for testing!As @mongobongo pointed out, it looks like the cdn.jsdelivr.net site no longer delivers the FA assets, so the references to it need to be updated. I was able to get it working again with the following changes to
wp-content/plugins/better-font-awesome/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php
Around line 551:
Replace:
$url = self::JSDELIVR_ICON_METADATA_BASE_URL . $version . self::JSDELIVR_ICON_METADATA_FILE_PATH;
With the raw file on github. I’d feel better about this if it was hosted on the FontAwesome CDN, but I can’t find any other official link to it:
$url = 'https://raw.githubusercontent.com/FortAwesome/Font-Awesome/master/metadata/icons.yml';
Additionally, the url to the css also needs to be updated.
Around line 694:
Replace:
$this->stylesheet_url = '//cdn.jsdelivr.net/gh/FortAwesome/Font-Awesome@' . $version . '/web-fonts-with-css/css/fontawesome-all' . $this->get_min_suffix() . '.css';
With the FontAwesome CDN url:
$this->stylesheet_url = 'https://use.fontawesome.com/releases/v' . $version . '/css/all.css';
- This reply was modified 6 years, 3 months ago by tracyfloyd.
Forum: Plugins
In reply to: [Advanced Custom Fields: Gravity Forms Add-on] Conflict with Coupons Add-OnNope – I ended up having to just disable the “Advanced Custom Fields: Gravityforms Add-on” — I plan to just re-enable it when I need to use it, which is not ideal but since my use-case doesn’t require that I change that field often (its used on a custom settings page) I can live with it.
Please do post back here if you find a solution, though.
@conradhake – you should be able to click on “Advanced View” in the right column on the main plugin page (https://www.ads-software.com/plugins/responsive-mortgage-calculator/) and scroll to the bottom where you should see a “Previous Versions” section.
Forum: Plugins
In reply to: [Better Font Awesome] BFA 2 beta ready for testing!I’m getting the following error with the beta:
Warning: array_map(): Argument #2 should be an array in /shared/httpd/originsc/www/wp-content/plugins/better-font-awesome/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php on line 880
Modifying the get_icon_array_version_5() function to this seems to fix it:
https://gist.github.com/tracyfloyd/72b2d991651aeb082783b32ae3dde342