DragoWeb
Forum Replies Created
-
Also note that I had to uncheck the “Disable syntax highlighting when editing code” box in Users > AdminName or EditorName (which was checked for some reason).
Hi, and thank you for your answer.
I commented this line in my functions.php (child theme) :
// REMOVE VISUAL TAB FROM TINYMCE
add_filter( ‘user_can_richedit’ , ‘__return_false’, 50 );And now it’s working fine again. I checked the changelog but I can’t see what could have caused this in the latest update. Anyway, I don’t really need this filter so I’ll leave it disabled for now.
I was able to process all the images from my 200+ published articles at once with the 20MB offered. So, unless you’re adding images that aren’t at all optimized for size and weight (like 4000x2000px 300dpi without compression), this quota is more than enough. And using an API is quite common for this kind of plugin (I’ve tested several). This plugin isn’t perfect, but it doesn’t deserve such an unfair review, dude.
Forum: Themes and Templates
In reply to: [GeneratePress] Full width layout with sidebarAlright, I’ll do that 👍
Forum: Themes and Templates
In reply to: [GeneratePress] Full width layout with sidebarThank you! This, with a custom field, will be the best solution for me.
add_post_meta($post_ID, "custom_fullwidth_content", "", true);For the custom template, I’ll need it for another purpose. Maybe I should open a separate question ?
Forum: Themes and Templates
In reply to: [GeneratePress] Full width layout with sidebarHi Ying,
Thanks for your answer. I’ll have a look on that. And about the implementation of a custom template ? The “normal” way seems not to work with GP, so I guess there’s a specific procedure ?Forum: Plugins
In reply to: [LiteSpeed Cache] Plugin does not connect to Memcached or RedisI contacted Greengeeks support, and they removed Memcached. Here’s their response: “The decision to transition from Memcached to Redis was made to improve the overall performance and security of the hosting environment. Redis offers better scalability, more features, and improved security, which aligns with the latest industry standards and best practices.”
Forum: Plugins
In reply to: [LiteSpeed Cache] Plugin does not connect to Memcached or RedisHi. Same problem here. Memcache and Redis activate in cPanel > PHP 7.4 Extensions. Thousand lines like this in my debug.log.
First = 07/23/24 10:43:52 – ❌ Failed to connect Memcached server!
Last (today) = 08/26/24 14:09:22 – ❌ Failed to connect Memcached server!Forum: Plugins
In reply to: [Kognetiks Chatbot for WordPress] Multiple language siteHi Stephen, I guess you have a lot of work to do, but have you found a solution for multilnguage or WPML yet?
Forum: Plugins
In reply to: [Activity Plus Reloaded for BuddyPress] jQuery.cookie is not a functionApparently the problem comes from a conflict with another plugin or my theme, but as I don’t have time to dig any further I’ve just disabled the whole function, from line 14 window.onbeforeunload = function(e)…
Forum: Plugins
In reply to: [Kognetiks Chatbot for WordPress] Multiple language siteAnother solution might be to include a language parameter in the shortcode? I don’t know if this is possible, but GPT could then take care of the translation automatically? Each chatbot could then be displayed in a different language. Ex. [chatbot lang=”french”]. Alternatively, directly indicate the message in the shortcode [chatbot greetings=”Bonjour !”]… I’m just thinking :p
Forum: Plugins
In reply to: [Kognetiks Chatbot for WordPress] Multiple language siteHi Stephen.
I guess all multilingual WP sites use a plugin such as WPML, Polylang or similar. Maybe there’s a solution that works for all of them? But it won’t be easy. Apart from the HTML LANG tag, I can’t see any other way to dissociate the language used by the page. Personally, I had to add a filter to add this as a class in the body (add_filter > body_class). Alternatively, with WPML I can manage multilingual display via a function containing the following:
if ( ICL_LANGUAGE_CODE === 'en' ) { echo = 'English text'; } else { echo = 'Other language goes here'; }One approach would be to offer a drop-down list with predefined messages? In that case, po/mo files would suffice to take care of the translation (i18n). But I imagine some users would like a personalized message. Maybe leave the choice to a switch? Either a predefined and translatable list, or a personalized text.
Another option I’ve tried without success is to simply write a shortcode in the child theme’s functions.php to display the message according to the language displayed, but shortcode reading isn’t active in the text fields. But I imagine this solution is a little too technical for most users.
I don’t know, there are probably other (simpler?) solutions, but I don’t see it tbh.
Pierre
Forum: Plugins
In reply to: [Kognetiks Chatbot for WordPress] Quick question for a specific needHi Stephen, I’ve discovered that it’s possible to use a GPT assistant, which should increase the chatbot’s efficiency tenfold. I’m in the process of implementing it. Thanks for your reply.
Pierre
Forum: Plugins
In reply to: [BuddyPress Activity Filter] Can we get an UPDATE?Yes, please, update this plugin. I get en error :
Uncaught TypeError: jQuery.cookie is not a function on file …/wp-content/plugins/bp-activity-filter/templates/js/buddypress-activity-filter-public.js
Thanks.Forum: Plugins
In reply to: [WP Last Modified Info] French languageLe plugin n’est pas entièrement traduit encore, mais si vous avez un peu de temps, vous pouvez aider à traduire ce qu’il reste : https://translate.ww.wp.xz.cn/projects/wp-plugins/wp-last-modified-info/stable/fr/default/?filters%5Bstatus%5D=untranslated