basdebruin
Forum Replies Created
-
Forum: Reviews
In reply to: [Translate WordPress with Weglot - Multilingual AI Translation] F****** SCAMIf you use it in free mode Weglot will DELETE your translations without any notice or warning (just because there is inactivity).
You can call it free, but you will loose your data
Forum: Plugins
In reply to: [iframe] Iframe not showingThank you.
It is not the video itself that is damaged. The Camtasia plays plays the video well and uploading it to PCloud also works well. The issue I now have is that my WordPress / Apache is not streaming mp4 but that is off topic.
The plugin does what it need to do 🙂
Forum: Plugins
In reply to: [iframe] Iframe not showingMany thanks, that helped :). It only plays a Camtasia video hosted on the same site for only 5 seconds, but I think this is another issue.
Many thanks, love the plugin so far.
Hi @pratik-jain
Don’t understand exactly what you mean by output throw. It displays the message “You basket is empty” on purchase. There are no entries in the error log file.
The page is https://excellent-team.nl/solutions/ You need to create an account before you can use the “Add to cart”. In this link https://www.loom.com/share/904d363dca93413384a70c9033c112ea you can see what happens (loom video).
Hi @pratik-jain
Yes, other plugins pick up the session.save_path fine and I also see EDD outting session info there. Keep getting the emptpy basket message.
I was able to solve (bypass) this by setting constant:
define(‘EDD_USE_PHP_SESSIONS’, false );Hi @sdenis
Any news on this one. I had a look int your code and includes/compatibility-functions.php line 45 contains indeed a reference to ‘title’ within the array. Code is:
add_filter( 'nav_menu_link_attributes', 'trp_remove_html_from_menu_title', 10, 3); function trp_remove_html_from_menu_title( $atts, $item, $args ){ write_log($atts); $atts['title'] = wp_strip_all_tags($atts['title']); return $atts; }I added a write)log to check the array $atts, and indeed this array does not contain an element ‘title’, see dump:
[18-May-2020 19:20:18 UTC] Array ( [target] => [rel] => [href] => https://excellent-team.nl/staging/nl/blog/category/monday/ [class] => nav-link )Can you please resolve this so I get rid of the 100’s of PHP Notices in the error log.
Hi Dennis,
Sure, I just opened the site (staging) at: https://excellent-team.nl/staging/
Thanks,
BasAn easy one that does it for me is this CSS:
fieldset#edd_checkout_user_info {display:none;}Unfortunatly I was a little too early to cheer that EDD and TP are working perfectly fine. I have kind of the same issue with EDD (Easy Digital Downloads). WordPress and EDD are in English, site content is partly in Dutch. TP default language is Dutch and the Dutch parts are manually translate to English.
Screenshot below shows the default EDD checkout page and there are two parts (total amount and purchase button) translated into Dutch. I don’t have a glue where this translation comes from.
Disabling TP makes these two items appear in English again. See screenshot at: https://imgur.com/a/wCIKyJF
Hi Dragos,
Many thanks for the explanation. I still think there is an issue either with wooCommerce or TP (or the combination). I am using US WordPress and wooCommerce, but the content of my pages is in Dutch. Therefore the default TP language is set to Dutch. With this (and TP upgraded to .7.1) I do see my WordPress and WC admin language all of a sudden in Dutch. Maybe WC tries to determine the language from the shop location (Netherlands).
For your info: I changed from WC to EDD for my shop (in development) and with EDD TP is working as expected and the admin language is still US.
At this moment I have disabled TranslatePress completely because of this issues https://ww.wp.xz.cn/support/topic/woocommerce-set-to-translatepress-default-language/
As soon as that one is resolved I can do a conflict test
Best regards
Forum: Plugins
In reply to: [Code Snippets] 404 error on saving specific snippetHi Shea,
Thank you for your response. I created a staging site to be able to test without any other plugin activated. Basically an empty WP site with code snippets active. As soon as I insert the phrase wp-config.php the 404 is thrown during save.
Maybe it is a WP internal security feature, but it does not come from my other plugins.
Anyhow: it is working for me now and I love to use Code Snippets.
Forum: Plugins
In reply to: [Code Snippets] 404 error on saving specific snippetIt is actually the word wp-config.php which throws the 404 error at saving. Even when it is just comment.
Somebody is a little too serious about security 🙂
Forum: Plugins
In reply to: [Code Snippets] 404 error on saving specific snippetTo my big surprise: when I deleted this comment block:
/************************************************************************************************************************************************************ * Name: wpforms_execute * Arguments: $fields, $entry, $form_data, $entry_id from WPForms action hook * Returns: None * Function: Depending on the FormID [constants defined in wp-config.php]- adds a bid / executes selection action on bid / sets guest users for bid *************************************************************************************************************************************************************/The snippet can be saved. Maybe there is a hidden character in the block.
Solved it by taking a little different approach, leaving the solution here for anybody to use. I have now created a hook that posts directly into UM Groups. I use this to post comments on my blogs. See https://excellent-bid.nl/en/
function wpuf_post_umgroup( $post_id, $form_id ) {
/* Check if form contains field for _wall_id to make sure we have the correct form */
if ( isset($_POST[‘_wall_id’])) {
/* Build the post content by adding the referer URL to the comment and update the post */
$lv_comment = $_POST[‘_my_comment’] . PHP_EOL . PHP_EOL . home_url() . wp_get_referer();$lv_post = array();
$lv_post[‘ID’] = $post_id;
$lv_post[‘post_author’] = get_current_user_id();
$lv_post[‘post_content’] = $lv_comment;
wp_update_post( $lv_post );/* Update the post meta fields needed for UM Groups see hidden fields in WPUF form */
update_post_meta( $post_id, ‘_original_content’, $lv_comment );
update_post_meta( $post_id, ‘_user_id’, get_current_user_id() );}
}add_action( ‘wpuf_add_post_after_insert’, ‘wpuf_post_umgroup’ );