marusic
Forum Replies Created
-
Forum: Plugins
In reply to: [Nested Pages] Sorting stopped workingOk, so there is this hosting that force object caching on wp-admin for some reason, and flushing the cache solves this.
Is there a way to add action after each sorting, to call wp_cache_flush() ?
Forum: Plugins
In reply to: [Nested Pages] Sorting stopped workingUpdate: it writes the order in database ok after drag and drop, and as far as I know it doesn’t remember old order anywhere (I’ve searched everywhere in database) – so I really have no idea how or where does it even keep the old order. But it still shows it on refresh.
Forum: Plugins
In reply to: [Media Cleaner: Clean your WordPress!] Why does the plugin hide its icon?I’m looking at this because I usually mark the plugins that only I should touch with X for other admins (and also hide them for all other users) and I always use Perfect images so I rename meow apps to that. But few days ago client asked for a media cleaner plugin and my X disappeared, so I just thought I’d ask if that’s intentional or you just forgot it there. It’s not any problem though, I just had to add more css to bring it back 🙂

We do use latest version now, and Media->Perfect images page now works fine, but just so you know, Meow apps->Dashboard page is now empty 🙂 (no js errors)
Forum: Plugins
In reply to: [MultiLine Files for Contact Form 7] file-type restrictionUntil this is fixed, if anyone needs fast solution – I just hardcoded it:
inside span.mfcf7-zl-multiline-sample there is input[type=”file”] which is missing “accept” attribute. So just add it using js or php. I added it in php, and everything works fine (also fixed form’s <lable> tag while I’m at it 🙂 :
<?php ob_start(); echo do_shortcode('[contact-form-7 id="567"]'); $cof = ob_get_clean(); $cof = str_replace('<input type="file" name="evidencefiles[]"','<input type="file" accept=".pdf,.doc,.docx" name="evidencefiles[]"',$cof); $cof = str_replace('<lable>','<label>',$cof); $cof = str_replace('</lable>','</label>',$cof); echo $cof; ?>Forum: Plugins
In reply to: [MultiLine Files for Contact Form 7] file-type restrictionSorry, it’s in development, so it’s only on my localhost, but there is no error thrown, either php or js, it just allows all files all the time.
This is the shortcode:
[multilinefile evidencefiles limit:131072 filetypes:pdf|docx “Select file”]
But I can add anything:
https://backslashcoding.com/issues/multifile.png
Any ideas?
Forum: Plugins
In reply to: [MultiLine Files for Contact Form 7] file-type restrictionI just installed version 2.2, and filetype restriction still doesn’t work.
Now it lost random settings, but not all 🙂
At least it lists the sizes again so I can click them back on, but I hope nobody enabled automatic updates on any of my sites…
Why is that happening?629 – as it should be -> 631 – after update items are randomly checked/unchecked
Never mind, hosting had issues, not plugin
Sure
No, it’s not plugin related. After some digging I found that for some reason medium.com blocked flywheel hosting and instead of the feed, my simplepie gets 403 forbidden response.
@luciamarinescu any medium feed actually, e.g. https://medium.com/feed/@wolfandplayer – it seems my production server is blocking whole medium.com, since simplepie site says it’s ok, validator says it’s ok and it works on localhost. But I have no idea what to look for in my server/php/etc configuration
Hmm… Dry run says this:
Feed is invalid XML, likely due to invalid characters. XML error: Mismatched tag at line 136, column 8
But validator button says the feed is valid, and also it has 61 lines, and it works on localhost without any problems.
Which probably means that Feedzy on production server reads some error page instead of xml feed… any suggestions what to look for on my server settings?
Edit:
php error log says this:
“NOTICE: is invalid XML, likely due to invalid characters. XML error: Mismatched tag at line 136, column 8 in /wordpress/wp-includes/class-simplepie.php on line 1597”
But only for medium.com feeds, other feeds I tried work fine
So, basically, if I want to add customized string for “how do you like this article” and its translation, it’s impossible? It’s either customized string but no translation or original string with translation?
How do I get both? How to get customized string (even if I have to hardcode it, but preferably with a hook, not directly in the plugin code) which then can be translated by WPML to other languages?
Forum: Installing WordPress
In reply to: Error establishing a database connection *before* install???Yup, I just found one, not in folder containing new wordpress, but one level up. I deleted it and the install works fine. I must’ve copied config from some of those other wp installs as backup and forgot it there. I had no idea that wordpress reads config.php from parent folder too.