Bastien Martinent
Forum Replies Created
-
Forum: Plugins
In reply to: [My WP Glossary] Error/Warning 1093 – simple_html_dom.php – fixedThank you for the suggestion, i will try find time to implement this.
yeah sorry for the title it’s kind of mean, and it’s not my intention.
Ok not a problem, i will do that. but iam not able to make more test for now.
I have the same probleme, Jquery is not defined yet when your script start.
I have resolve this probleme the dirty way by emcapsuling your 2fa sripts ( view/2-fa/otp.php L288 and all view in provider folder ) with
“document.addEventListener(‘DOMContentLoaded’, (event) => {})”
I dont know why this timming issues is inconsistante, maiby do not inject the script derectly and use js script enqueu.Forum: Plugins
In reply to: [My WP Glossary] Using multiple Glossary “options” within one entryMultiple term detection is not a feature. We love to, but this one can be a little problematic to implement correctly. It is on the everlasting todo list.
We have studied a plural autodetection too, but it is just too difficult to do in multiple languages.Forum: Plugins
In reply to: [My WP Glossary] PHP 8.x manual fix available?The way the plugin works, it hooks your content and detects your terms based on an array of all your published terms generated and updated when you add and update terms.
when it finds a term it encapsulates them in a way it is easy for jquery to find them.
The link or modal is generated in front in js based on the “mywpglossary_insertion_style” hook value ( ‘link’, ‘popin’ or ‘tippy_poppin ).
What you see is the unmodified encapsulation of terms, and certainly a js errors prevent the script to do this work.
I cannot promise anything, but maybe I can find some time to work on this this weekend.I really appreciate your enthusiasm for our plugin, Thank you.
https://unpkg.com/ is a public repository of javascript library, it’s used when you don’t or can’t want to redistribute lib in your production. Glossary load tippy ( https://atomiks.github.io/tippyjs/ ) a pretty nice popup lib. And tippy is based on popper( https://popper.js.org/ ) so it loads some files from it.A map file like this is used as a translation layer for the minified version of the script, it has only use in a development or debugging context. It seems from your logs and the link, the map file for the last version of popper is missing. Not a big deal as this url is reserved for the last stable version and will probably be fixed at some point.
Best regard.
- This reply was modified 1 year, 5 months ago by Bastien Martinent.
- This reply was modified 1 year, 5 months ago by Bastien Martinent.
Forum: Plugins
In reply to: [My WP Glossary] open in new browser TAB / _blankSorry but no, there is nothing to change the link target . I will add this to the list.
Forum: Plugins
In reply to: [My WP Glossary] PHP 8.x manual fix available?Thank you for you report, i will cheack that.
Ok i will prepar this for you, it can take some times. I cant do this today.
Forum: Plugins
In reply to: [My WP Glossary] Two issues happenedDo you have a plan soon ? Unfortunately no. This plugin is a low priority for us. but i think this deserves to be prioritized before an option page or other planned feature.
There is a hook who can override the glossary model and it is possible to load the terms from wp-rest, but this means more or less redoing the glossary page and frontend logic.In one word, there is no simple way to do this right now. I am sincerely sorry.
Forum: Plugins
In reply to: [My WP Glossary] Two issues happenedThere is this hook ‘mywpglossary_glossary_term_limit’, which controls the definition limit of the glossary block or shortcode.
add_filter(? ‘mywpglossary_glossary_term_limit’, function( $limit ){ return -1; }, 10, 1 );
-1 is unlimited
200 is default
Be careful with this, it can have performance issues.
A pagination or an infinite load is the best way to do this but is not supported by the plugin right now. Sorry.
E to F has 200 of your definitions ? This reduced index is your second issue ?Forum: Plugins
In reply to: [My WP Glossary] keep all tabs open per defaultOk, this one is a little bit jank.
You can try to add this code to your function.php file.add_action( 'wp_enqueue_scripts', function(){ wp_add_inline_script( "mywpglossary-glossary", "jQuery(document).ready(function(){ Query('.mywpglossary-list-entry-title').trigger( 'click' ); });" ); });
What it does is add a little bit of javascript to click on each title to open them after the glossary script has loaded.
not the most elegant way to do this but it may work fine in your case.
Can you expose your use case ? This way we can see if we have an interest in implementing this functionality in a proper manner. But kwon this is a low priority for us, this may take some time.Forum: Plugins
In reply to: [My WP Glossary] keep all tabs open per defaultThere is currently no option to do that, but give me 30 minutes. I will check if i can find a way to do this easily.
Are you familiar and able to make a simple modification of your theme function.php file ?Forum: Plugins
In reply to: [My WP Glossary] désactiver les lienssi vous voulez désactive tout utiliser plut?t ce hook
add_filter( 'mywpglossary_matching', function(){ return false; } , 0, 10 );
Ca va simplement désactivé la détection des termes, du coup ca n’impacte pas le perf de votre site.Forum: Plugins
In reply to: [My WP Glossary] Erreur à l’activation du pluginLa dernière mise a jour, corrige ce problème.