alsur
Forum Replies Created
-
Forum: Plugins
In reply to: [Broken Link Checker] Which files need safe_mode off?Thanks for prompt reply. This is our own server in this case, but applying extra permissions to anything related to WordPress plugins is a red flag, that’s why the question.
Found some alternatives you might want to consider for avoiding the user of CURL_FOLLOWLOCATION? true:
https://stackoverflow.com/questions/5091208/php-curl-get-target-of-redirect-without-following-it
Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] Pods compatible with WPML?Thanks for prompt reply.
Settings are correct. We just figured out that our get_posts() required a
'suppress_filters' => false
to work. Somehow without it WPML support for languages behaves weirdly.
- This reply was modified 2 years, 2 months ago by alsur.
Hi, thanks for prompt feedback.
Filesystem diagnostics all look ok.
I deleted the wflogs directory and it was recreated, so I am uncertain if I should ignore the warning completely.Thanks.
Forum: Plugins
In reply to: [Yoast SEO] Missing editor for titles in settingsThanks.
No conflict with local extensions (simply trying incognito window, same issue)
It seems a conflict with another plugin then as that “troubleshooting mode” and activating Yoast input boxes reappear.After activating sequentially it seems to be a conflict with WP Log Viewer plugin… I’ll have to check what is the issue related to.
Thanks.
Forum: Plugins
In reply to: [Yoast SEO] Missing editor for titles in settingsLatest versions on both.
I can not disable yoast as the issue is with the yoast admin interface.
I did report JS console errors which are the only ones I see, I assumme you don’t recognize those as related to yoast?
THANKS.Any updates or suggested alternative?
Any form of changing the plugin behaviour via a hook instead of modifiying the base code?
Thanks.Forum: Plugins
In reply to: [Polylang] One only entry per related postsNot exactly, but it is a help.
I was meaning more one only entry in the default language, with ticks for each of the translations of that post.
Thanks.Only chance till we have an alternative. As suggested it would be great if the plugin supported at least a global preference to set the .htaccess filename per site/config
Happy to do but is really something to be included ideally as a hook in the plugin so you could externally have a function executing whenever an IP is been banned. This would allow to include the feature without touching the plugin.
In case of interest this is what we have chnaged for our need.
It’s a very personalized solution but perhaps of interest to others or for future features.better-wp-security\core\class-itsec-global-settings.php:
public function write_files() { global $itsec_globals; if ( isset( $this->settings['write_files'] ) && $this->settings['write_files'] === true ) { $write_files = 1; } else { $write_files = 0; } if ( ITSEC_Lib::get_server() == 'nginx' ) { $server_file = ; } else { // alsur.es modified for multisite htaccess files $site_name = get_bloginfo('name'); $site_name = str_replace(' ','', $site_name); // Quitamos espacios en blanco $site_name = strtolower($site_name); // Ponemos en minusculas $site_name = "_".$site_name; $server_file = ' and .htaccess'.$site_name; }
better-wp-security\core\class-itsec-lib.php:
public static function get_htaccess() { global $itsec_globals; if ( ITSEC_Lib::get_server() === 'nginx' ) { return $itsec_globals['settings']['nginx_file']; } else { // alsur.es modified for multisite htaccess files $site_name = get_bloginfo('name'); $site_name = str_replace(' ', '', $site_name); // Quitamos espacios en blanco $site_name = strtolower($site_name); // Ponemos en minusculas $site_name = "_".$site_name; return ITSEC_Lib::get_home_path() . '.htaccess' .$site_name; } }
Each apache conf is then configured to use the renamed .htaccess file
Thanks, but we have a var that represents each site, we could easly concatenate it as in “.htaccess-$subsite” which would be different for each.
The question is if in your code the path to .htaccess file is defined globaly as a variable or not in order to modifiy that.
Thanks.Any solution to this yet? Is a concern that the info and vulnerability issues are spreading out!
Forum: Plugins
In reply to: [WooCommerce] Using WooCommerce for event / course bookingsAlso have an interested for a booking system. The product variations in my case should be by date / time range. This is, choose a date… get a list of selectables (with prices each) so the client can add to cart.
Forum: Plugins
In reply to: [Plugin: Yoast Breadcrumbs] New code for Hybrid, Thematic & ThesisSorted.. I did already had a child header so no point in trying to insert it with a function. I added Yoast php code at the end of header.php on the child after the “main” div.
In any case I would prefer it in the content block without having to personalize the index.php file of thematic but that would probably require a function and I haven’t managed to find the right one to approach.Forum: Plugins
In reply to: [Plugin: Yoast Breadcrumbs] New code for Hybrid, Thematic & ThesisBy the way I forgot to mention that the automatic option of Yoast’s plugin does not work for me over the child theme. Thanks. Jose Luis