Vipa
Forum Replies Created
-
Hey,
thanks for the response, I will contact the theme author.
EDIT: just tested it and you are right, it’s a theme problem.
- This reply was modified 5 years, 6 months ago by Vipa.
Just wanted to let you know that it works as expected with the new version.
Thanks!
ya, my mistake. I made a small change to the js script which allows individual labels to be changed manually by inserting a span markup. (see faq #17)
so something like <span></span> will not show anything.
Ah, I see. This works, thanks!
do leave a review
I will.
soon as I leave the label field it is readded.
Readded? Not sure what you mean.
If you create a field and add text to a label and you delete the required html markup the label will appear without the asterisk sign.
If you don’t need the label you can insert “ ” character for a non breaking space.This does not work for me, whatever I try, the asterisk comes back.
Here is a video to clarify:
https://www.youtube.com/watch?v=DyW3R7m3Ge8this is only working for new forms?
Actually any new cell you create (new row or new column) will be affected by the filter once you reload the form edit page.
Existing fields/cells will not be changed.Ah ok, I thought my filter wouldn`t work, but for new cells it does.
add_filter( 'cf7sg_required_cf7_field_html', 'filter_required_html', 10, 2); function filter_required_html($html, $cf7_key){ //the $html string to change //the $cf7_key is a unique string key to identify your form, which you can find in your form table i nthe dashboard. if('kontaktformular-1'==$cf7_key ){ $html = ''; } return $html; }
Hey, thanks for you response.
I tried deleting it, as soon as I leave the label field it is readded.
I will check out the hook. You say “when you freate a new form” so this is only working for new forms?Thanks!
Works like a charm, thanks!
Thanks for your fast response! Nice, having this option would be great!
Marc
Forum: Plugins
In reply to: [Media Library Assistant] substr function not workingHi David,
thanks for your reply!
all of the above works like a charm and you were right about the custom File Size field, it was not necessary, I thought I had to use a custom filed to use the information.
Anything I can do about this, so I don′t have to shorten the caption text at all?
I have 10 pdf to show and I want to have 6 per row. If one of the caption texts has more lines than the last one in the row, the items in the next row get moved to the right until they are one right of the one with the long caption text.
likes this:
s = pdf with short caption
l = pdf with long captionssslss ss ss
Thanks again!
- This reply was modified 5 years, 10 months ago by Vipa.
Forum: Plugins
In reply to: [Media Library Assistant] Copy/Edit Shortcode styles – ForbiddenHi David,
thanks for your reply.
ModSecurity is an open source, cross-platform web application firewall (WAF) module. Known as the “Swiss Army Knife” of WAFs, it enables web application defenders to gain visibility into HTTP(S) traffic and provides a power rules language and API to implement advanced protections.
If I interprete the log entry correctly there was a false positive because of this part:
image\\\\/svg\\\\+xml|text\\\\/(?:css|html|(?:x-)?(?:(?:ecma|java|vb)script|scriptlet)).|.application\\\\/x-shockwave-flash
I am running:
Ubuntu: 18.04.2 LTS?
Plesk Onyx: 17.8.11 Update Nr. 53
modsecurity: 2.9.2
Apache: 2.4.29
PHP: 7.2.18 FPM
WordPress: 5.2
Media Assistant: 2.79Forum: Plugins
In reply to: [Media Library Assistant] Copy/Edit Shortcode styles – ForbiddenI figured it out, it was mod_security.
I will post the error, maybe there is something you can do to prevent this.[Thu May 16 16:02:46.292860 2019] [:error] [pid 19488:tid 140113661105920] [client x.x.x.x:37410] [client x.x.x.x] ModSecurity: Warning. Pattern match "image\\\\/svg\\\\+xml|text\\\\/(?:css|html|(?:x-)?(?:(?:ecma|java|vb)script|scriptlet)).|.application\\\\/x-shockwave-flash" at ARGS_POST:mla_template_item[sections][styles]. [file "/etc/apache2/modsecurity.d/rules/comodo/07_XSS_XSS.conf"] [line "75"] [id "212740"] [rev "5"] [msg "COMODO WAF: XSS Attack Detected||www.domain.tld|F|2"] [data "Matched Data: text/css' found within ARGS_POST:mla_template_item[sections][styles]: <styletype='text/css'>"] [severity "CRITICAL"] [tag "CWAF"] [tag "XSS"] [hostname "www.domain.tld"] [uri "/wp-admin/options-general.php"] [unique_id "XN1ths1cd@mZbV8dQdGhcwAAAAc"], referer: https://www.domain.tld/wp-admin/options-general.php?mla_admin_action=single_item_edit_display&mla_admin_nonce=824122c6df&page=mla-settings-menu-shortcodes&mla_tab=shortcodes&mla_item_ID=3
Forum: Fixing WordPress
In reply to: Broken PDF thumbnail generationSure,
locate Imagemagicks policy.xml, in my case it was at:
/etc/ImageMagick-6/policy.xml
open the file and locate this line:
<policy domain="coder" rights="none" pattern="PDF" />
comment it out, like this:
<!-- <policy domain="coder" rights="none" pattern="PDF" /> -->
restart php / your webserver. Done.
You can read about the policy.xml and the consequences of commenting this out at: https://imagemagick.org/script/security-policy.php
- This reply was modified 5 years, 10 months ago by Vipa.
Forum: Fixing WordPress
In reply to: Broken PDF thumbnail generationOk, changing policy.xml fixed it. All I needed was a restart after the changes.
Forum: Fixing WordPress
In reply to: Broken PDF thumbnail generationI got the same problem.
I also check these points.
PDF thumbnails support test plugin says everything’s ok:
wp_debug shows no errors
This little test on command line also works:
https://stackoverflow.com/questions/2869908/convert-pdf-to-png-using-imagemagickThe last test failed for me until I changed ImagesMagicks policy.xml to allow pdf.
After that converting in the console worked, too.
But there are still no thumbs for pdfs in the wordpress media library.Anyone found a solution or has an idea how I could debug this?
WordPress Version: 5.1.1 ImageMagick Version: ImageMagick 6.9.7-4 Q16 x86_64 OS: ?Ubuntu 18.04.2 LTS? Plesk Onyx: 17.8.11
Forum: Plugins
In reply to: [WP Go Maps (formerly WP Google Maps)] New Editor shows empty pageHi Perry,
all good thanks, just wanted to be sure before updating ??
EDIT: just updated, everything works smoothly!
- This reply was modified 6 years, 1 month ago by Vipa.