Mad Max
Forum Replies Created
-
Forum: Plugins
In reply to: [Favorites] Programmatically clear favorites for current userOk, it seems that delete “simplefavorites” user meta it’s enough. To reset the “favorites” count for posts, just deleta post_meta “simplefavorites_count” for each post
Thanks a lot @webtemyk for your super quick response!
Any news on multisite support?
Forum: Plugins
In reply to: [Yoast Duplicate Post] Cloning elementor popup issueThanks @aksriob, I’m here for the very same issue, let us know if elementor team will reply.
Same problem here. For a quick fix, add the following line at the top of plugin index.php file:
include( plugin_dir_path( __FILE__ ) . 'vendor/vg-plugin-sdk/index.php');Waiting for a reply from plugin author.
- This reply was modified 6 years, 9 months ago by Mad Max.
Forum: Plugins
In reply to: [WP Open Graph] curl getimagesize alternativeGlad to hear that, thank you!
Forum: Plugins
In reply to: [Ginger - EU Cookie Law] Testo banner vuoto, non salva le modificheIl problema è dovuto al fatto che il nome “ginger_bar_text” passato alla funzione wp_editor (riga 54 di admin/partial/banner.php) è diverso dal nome “ginger_banner_text” della textarea.
E quello che viene in scritto in modalità visuale non viene così salvato, mentre quello che si scrive in modalità testo viene salvato (se fate caso è possibile scrivere 2 cose diverse nelle 2 modalità di scrittura).Assegnando lo stesso nome “ginger_banner_text” anche all’editor
wp_editor(stripslashes($options["ginger_banner_text"]), "ginger_banner_text", array('textarea_name' => "ginger_banner_text", 'media_buttons' => false, 'textarea_rows' => 3, 'teeny' => true));il salvataggio funziona correttamente e il contenuto nelle 2 modalità è uguale.
- This reply was modified 7 years, 11 months ago by Mad Max.
Forum: Plugins
In reply to: [Smart Slider 3] Import templates and tmp folderthanks @nextendweb for the super quick reaction! I’ve just tried the version you provided and it works perfectly.
I think your solution is the most appropriate approach to solve the problem, great work!
Thanks, Daniele.
Forum: Plugins
In reply to: [DW Question & Answer] Dangerous bugYou can see the edit interface but can’t really save data, because the plugin checks for correct permissions and show a red message.
I agree with you that the plugin should check for permissions BEFORE showing the edit interface.Version 1.1.2 includes some of the points suggested above! Thanks!
I’m sorry but I don’t have sites with NF 2.9x anymore. Hope someone can help.
it should work in Ninja Forms > 3.x. Which NF version are you using?
You have to enable the fonts dropdown in tinyMCE interface: go to the settings page for TinyMCE Advanced and drag the “fonts dropdown” element on the tinyMCE toolbars, then save options.
Forum: Plugins
In reply to: [WP Store Locator] Different markers per category@knetwalker thanks! I’m going to try it asap.
Hello swashwebdesign, you can customize language and week start day like this: enqueue a new js via your theme functions.php
function my_nf_datepicker_localization(){ wp_enqueue_script( 'nf_datepicker_options', get_stylesheet_directory_uri() . '/js/datepicker-de_DE.js', array( 'jquery' ), false, true ); } add_filter( 'ninja_forms_enqueue_scripts', 'my_nf_datepicker_localization' );And then drop datepicker-de_DE.js js file in /js folder of your theme
jQuery( document ).ready( function() { new(Marionette.Object.extend( { initialize: function() { this.listenTo( Backbone.Radio.channel( 'pikaday' ), 'init', this.modifyDatepicker ); }, //Change the strings below to translate the string in our datepicker. modifyDatepicker: function( dateObject, fieldModel ) { console.log(dateObject); console.log(fieldModel); dateObject.pikaday._o.i18n = { previousMonth : 'Vormonat', nextMonth : 'Nächster Monat', months : ['Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'Dezember'], weekdays : ['Sonntag', 'Montag','Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'], weekdaysShort : ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'] }; //no date selection in the past dateObject.pikaday._o.minDate = moment().toDate(); //Monday is first week day dateObject.pikaday._o.firstDay = 1; } })); });- This reply was modified 9 years, 3 months ago by Mad Max.