yhdm
Forum Replies Created
-
Yes, that’s perfect – thank you!
I would like to style the error outputted in the
apbct_form__gravityForms__showResponse
function on line 3043 of /cleantalk-spam-protect/inc/cleantalk-public-integrations.phpCurrently the gravity forms wrappers are using the general confirmation message classes for Gravity Forms with no class specific to an actual error. This prevents me from being able to style the Cleantalk errors since any CSS would apply to all of my Gravity Forms confirmation messages which I obviously don’t want since that would include success messages generated by Gravity Forms and not just Cleantalk errors.
Also the <font> tag is not supported in HTML 5. You should consider swapping that out for a different tag. If you add a class to it, that’s all I need.
For example, this is what the plugin is currently outputting:<div id="gform_confirmation_message_4" class="gform_confirmation_message_4 gform_confirmation_message"><font style="color: red">*** Forbidden. Sender blacklisted. ***</font></div>
Something like this instead:
<div id="gform_confirmation_message_4" class="gform_confirmation_message_4 gform_confirmation_message"><div class="cleantalk-error" style="color: red">*** Forbidden. Sender blacklisted. ***</div></div>
Or even adding the “cleantalk-error” class to the parent instead would give me enough to target in CSS:
<div id="gform_confirmation_message_4" class="gform_confirmation_message_4 gform_confirmation_message cleantalk-error"><div style="color: red">*** Forbidden. Sender blacklisted. ***</div></div>
Unfortunately not since we are looking to to alter the div class for all Cleantalk errors – not just the forbidden visitor message.
Hello, I just wanted to follow up on this to see what the status was.
I see that Version 6.8 now has the “gform_confirmation_message” div wrappers around the Cleantalk error, however those are typically only used for success messages and not errors, so there’s still not a great way to target the CSS for Cleantalk errors.Thank you @serge00!
@eugenecleantalk thank you!
Hi @glx77, it’s the current version of Weglot – 3.7.3.
Is it possible to send you a URL privately?
I did clear the cache and add Russian back in and it’s working correctly now. Thank you!
Forum: Plugins
In reply to: [Simple Share Buttons Adder] Possible to disable admin sidebar menu item?For anyone needing to do this, just add this to your theme’s functions.php
/* * Remove 'Simple Share Buttons' sidebar menu item */ function custom_menu_page_removing() { remove_menu_page( 'simple-share-buttons-adder' ); } add_action( 'admin_menu', 'custom_menu_page_removing' );
- This reply was modified 6 years, 4 months ago by yhdm. Reason: code formatting
Forum: Plugins
In reply to: [Simple Share Buttons Adder] Possible to disable admin sidebar menu item?I have a lot of custom post types and don’t feel like another sidebar menu item is necessary for a settings page, as it makes my already lengthy sidebar even longer.
Great – thanks Chris!
Haven’t yet upgraded to 7.0 but I look forward to the updated permissions.
Forum: Plugins
In reply to: [Network Shared Media (deprecated/unsupported)] Set just one shared websiteThis is a great suggestion. I too would like to be able to specify one install to share media from. In my case, it would be the parent install.
- This reply was modified 6 years, 10 months ago by yhdm.
Forum: Plugins
In reply to: [Yoast SEO] Change URL message shown on ACF Field Groups+1
Forum: Plugins
In reply to: [Fluid Video Embeds] Error Message After 4.8I’m also experiencing this. Fix from @maximevaly above works.
- This reply was modified 7 years, 3 months ago by yhdm.
I’ve noticed the same issue without using a plugin.
In my case, I added a link to download a PDF directly in the post content via the WYSIWYG editor which linked to a PDF file in the media library.
I’m logged in to check real-time GA events and it is not showing up.