tristanleboss
Forum Replies Created
-
Je pense qu’il y a un bug de votre c?té.
Ces points relais sont les mêmes qui ressortent sur le site officiel Mondial Relay pour 69003 Lyon. Le Call Center est probablement le plus gros point relais du 3ème…
https://www.mondialrelay.fr/trouver-le-point-relais-le-plus-proche-de-chez-moi/
Ben, j’avais pas votre mail donc difficile ??
Mais bon, j’ai découvert le site web et trouvé le mail.
Après, ce n’est pas une mauvaise chose d’avoir les idées ici…
Super.
I did a first real test with my customer and it revealed 3 possible improvements:
– the “Valeur de livraison (en centimes)” should be prefilled with the “Sous-total des articles” order value in the “Mondial Relay” metabox on the order page. It’s probably the most default action a customer will do anyway.
– maybe the “Assurance” dropdown should have labels including the amount covered and the additionnal fee like “Assurance N1 (50.00 euros => +2.00 euros)”. Indeed, my customer told me he never remembers the covered amount for each. Or add a linkt to open a popup with the fees? Or, even better, do a real live estimate of the total (shipping + insurrance) cost: after all, the Mondial Relay tarifs are quite easy and don’t change often.
– the “Poids” input field is autocalculated but my customer has precise weights (like 0.593). Unfortunately, the field only allows 2 digits after separator. So either allow more or round it automaticaly.
We are considering buying the Pro version and, in that regard, my customer asked me, if we buy the pro version, is the MR label 1) included as attachment in the mail he receives for a new order, or 2) is easily downloadable from this mail via a link?
Forum: Plugins
In reply to: [WebP Express] Fatal error on updateOptions value in DB:
webp-express-migration-version
10webp-express-messages-pending
1webp-express-state
{“pendingMessages”:[{“level”:”success”,”message”:”<p>Rewrite rules were saved to the following files:</p><i>/home/loipinelgo/site.fr/wp-content/themes/.htaccess</i> (themes)<br><i>/home/loipinelgo/site.fr/wp-content/uploads/.htaccess</i> (uploads)<br><i>/home/loipinelgo/site.fr/wp-content/webp-express/webp-images/.htaccess</i> (cache)<br>”}],”last-ewww-optimize-attempt”:1553620291,”configured”:true,”htaccess-rules-saved-at-some-point”:true,”active-htaccess-dirs”:[“wp-content”,”themes”,”uploads”,”cache”],”dismissableMessageIds”:[“0.14.0/suggest-wipe-because-lossless”,”0.14.0/say-hello-to-vips”]}webp-express-alter-html-hooks
obwebp-express-alter-html-replacement
picturewebp-express-alter-html-add-picturefill-js
1webp-express-alter-html-options
{“replacement”:”picture”,”hooks”:”ob”,”only-for-webp-enabled-browsers”:true,”only-for-webps-that-exists”:false,”alter-html-add-picturefill-js”:true,”hostname-aliases”:[],”destination-folder”:”separate”,”destination-extension”:”append”,”destination-structure”:”doc-root”,”bases”:{“uploads”:[“/home/loipinelgo/site.fr/wp-content/uploads”,”https://www.site.fr/wp-content/uploads”%5D,”themes”:[“/home/loipinelgo/site.fr/wp-content/themes”,”https://www.site.fr/wp-content/themes”%5D},”image-types”:3}
yesForum: Plugins
In reply to: [Equation Editor] Formula does not show in the froI had to add this code to the header.php file of my theme:
<script>window.MathJax = { MathML: { extensions: ["mml3.js", "content-mathml.js"]}};</script> <script type="text/javascript" async src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=MML_HTMLorMML"></script>
Forum: Plugins
In reply to: [Equation Editor] Formula does not show in the froI have the same problem and I have to admit I don’t see how your plugin can convert the MathML code in the front. I opened the PHP file from your plugin and only see things related to TinyMCE. Your plugin doesn’t enqueue any styles/scripts on the front end. My stock Chrome doesn’t display MathML without an extension.
Forum: Plugins
In reply to: [Multi Plugin Installer] PHP NoticesTanai,
That would be cool if you could fix those notices.
Here is the corrected code:
function mpi_download_backup() { if( isset($_GET['dn']) ) { $download_flag = $_GET['dn']; $download_flag = trim($download_flag); if( $download_flag == 1 ) { $mpiObj = new mpinstaller(); $mpiObj->mpi_download(); } } } function mpi_delete_backup() { if( isset($_GET['dl']) ) { $delete_flag = $_GET['dl']; $delete_flag = trim($delete_flag); if( $delete_flag == 1 ) { $mpiObj = new mpinstaller(); $mpiObj->mpi_delete(); } } }
Forum: Plugins
In reply to: [Advanced Custom Fields Viewer] Some improvementsHere are all the location to fix:
Line 26:
get_fields(option)
should beget_fields('option')
Line 52:$output[option_1]
should be$output['option_1']
Line 55:$output[option_1]
should be$output['option_1']
Line 66:$output[option_1]
should be$output['option_1']
Line 69:$output[option_1]
should be$output['option_1']
Line 82:$output[option_1]
should be$output['option_1']
Line 84:$output[option_1]
should be$output['option_1']
Line 107:$theme[option_2]
should be$theme['option_2']
Line 109:$theme[option_2]
should be$theme['option_2']
You are lucky that it works because if only one of these constants exists (option, option_1, option_2), it will break everyhting.
Forum: Plugins
In reply to: [Tabify Edit Screen] Known bug with WordPress SEO by YOASTThe topic I created on WordPress SEO forums was erroneous so I contacted a moderator and asked him to remove it.
Indeed, once the
tabify_plugin_support
is set to true, theWordPress SEO
meta box do appear in your plugin.WordPress SEO
doesn’t add its metabox on every single admin page except if you set its filterwpseo_always_register_metaboxes_on_admin
to true. I think it’s fair because when it add its metabox, it have to bloat the page with JavaScripts, Styles, … something like 8 files are loaded by my browser just for its metabox.Forum: Plugins
In reply to: [Tabify Edit Screen] Known bug with WordPress SEO by YOASTNevermind, that’s not a bug. I assumed plugin support was always loaded but it’s not… I discovered in the readme that we need to add the filter:
add_filter( ‘tabify_plugin_support’, ‘__return_true’ );
Forum: Plugins
In reply to: [FeedWordPress] Saving Images to local server?You need to install the plugin “FeedWordPress Advanced Filters”:
https://www.ads-software.com/plugins/faf/
As you can see on this screenshot it has the ability to “Save images locally”:
Forum: Plugins
In reply to: [Broken Link Checker] 2 broken links not flaggedI faced a similar problem and if you can execute a query on the MySQL database:
UPDATE wp_posts SET post_content = REPLACE(post_content, ' href="/', ' href="https://www.example.com/') WHERE post_type IN ('post','page');
Note: replace “https://www.example.com/” with your website address ??
Forum: Plugins
In reply to: [Broken Link Checker] [Important] Data Corruption BugJust for the sake of clarification, by 2), you mean that the plugin should not use the
link_text
field when it repair the link? It should just match and replace the<a href="">
part?Because, at first, I was thinking that these 2 bugs require you to enforce a reset of the database on the next version. Indeed, many users may have corrupt data in their
link_text
field. So, if your plugin still use this field somewhere, it may still do some damages.There is a quick way to find out if a user may have potentially corrupt data in its
field_text
:SELECT * FROM wp_blc_instances WHERE CHAR_LENGTH(link_text) = 250
This will select all the rows where
link_text
is 250 characters long. Of course, not all the records will be corrupt ones but you can’t really know if they are or not: they just have the potential to be because they reached the 250 characters limit.With this query, you can remove the potentially corrupt links and queue their container for a resynch.
Note: It’s important to use the
CHAR_LENGTH
function instead of the basicLENGTH
function. Indeed, the first one return the size of the data in bytes. Because of multi-bytes encoding (UTF-8), an accented letter will count as 2 forLENGTH
. (You can have a field withLENGTH
= 500 whileCHAR_LENGTH
= 250).CHAR_LENGTH
just count the number of actual characters: this is the one used by mysql to enforce the VARCHAR limit.Forum: Plugins
In reply to: [Image Regenerate & Select Crop] Corrupt ZIP file for 3.0.0Thanks for your fast reply,
The ZIP file now works.
Maybe you should retry with the screenshot because I think it will not appear in the “Screenshots” tab?
Forum: Plugins
In reply to: [Tabify Edit Screen] Main editor layout issueThis
editor-expand.js
exposes 2 functions:window.editorExpand.on()
window.editorExpand.off()
You can also set/get the setting (on/off):
window.getUserSetting( 'editor_expand' );
window.setUserSetting( 'editor_expand', 'off' );
Maybe you already figured all these things ??