kreartmedia
Forum Replies Created
-
Line 596, you have to erase the underscore after esc_html in the 3 occurences of this function.
TranslatePress Premium gave me the fix. Here it is :
This is a bug inside WP Bakery. Instead of esc_html they use esc_html__ , a gettext function inside public function get_shortcodes_css( $id, $type ) found in wp-content\plugins\js_composer\include\classes\core\class-vc-base.php Go to that file on your server and modify the function to be like so:
public function get_shortcodes_css( $id, $type ) { $is_updated = get_metadata( ‘post’, $id, ‘_wpb_shortcodes_’ . esc_html( $type ) . ‘_css_updated’, true ); if ( empty( $is_updated ) ) { $this->buildShortcodesCss( $id, $type ); } $shortcodes_css = get_metadata( ‘post’, $id, ‘_wpb_shortcodes_’ . esc_html( $type ) .’_css’, true ); return apply_filters( ‘vc_shortcodes_’. esc_html( $type ) . ‘_css’, $shortcodes_css, $id ); }
This will fix the issue.
I did a lot of troubleshooting and here are the results :
1- I tried to put the same selector ?in the?Exclude selectors from dynamic translation as you suggested,? but it didn’t work.
1- It occurs only when I update the theme and WP Bakery from 6.13.0 to ?7.6??
2- If I install the plugin and don’t change anything in the content, the Design options work, but I soon as I make a change and save it, the Design options stop working on the translated page only.
3- I looked at the versions of the post and if seems that the .vs_custom change number when I save it.
4- I tried disabling all type of cache and it didn’t work
5- I tried to erase all TranslatePress database and reinstall it, it didn’t work.
At this point, I don’t know what to do.
Another detail, I’m using the plugin on other websites with WPBakery and that doesn’t cause any problem
Forum: Plugins
In reply to: [bbPress Notify (No-Spam)] Problem with the background notificationI found the issue, it was because of a custom tag I was trying to put in place. I need to put more info from the author of the topic or the author of the reply, but this info is from another plugin. Can you help me figure out where (in which file) the tags are formed so I can understand how it works and where I should add my code ?
I need to retreive the usrname from the author in order to get the information from my other plugin. Here is the shortcode I had previously worked on :
function wpc_shortcode_cour_forum_courriel($atts)
{
$defaults = array(
‘usrname’ => ”,
);$atts = shortcode_atts( $defaults, $atts );
$member_nom = $atts[‘usrname’];
$member = emember_get_member_by_username ($member_nom);
$id_du_membre = $member->member_id;
$id_cour = wp_emember_get_user_details_by_id(‘Cour_municipale’, $id_du_membre);
$title_cour = get_the_title($id_cour);
$shortcode=$title_cour;
return $shortcode;
}Forum: Plugins
In reply to: [bbPress Notify (No-Spam)] Problem with the background notificationHi ! I changed my cron configuration, but I have another issue, sometimes the email sent is blank.
Here are my infos :
array(12) {
["PHP Version"]=>
string(6) "7.4.33"
["WordPress Version"]=>
string(5) "6.2.2"
["BBPNNS Settings"]=>
array(24) {
["newtopic_email_subject"]=>
string(45) "[topic-forum] | Nouveau sujet : [topic-title]"
["newreply_email_subject"]=>
string(70) "[reply-forum] | Une réponse a été ajoutée au sujet : [topic-title]"
["newtopic_email_body"]=>
string(1217) "
[topic-forum] | Nouveau sujet : [topic-title] Bonjour [recipient-first_name] [recipient-last_name], Un nouveau sujet a été publié dans le forum [topic-forum] par [author-first_name] [author-last_name] de [cour_forum_courriel usrname="[author-display_name]"] :
[topic-title] ? [topic-excerpt] ? Connectez-vous pour voir le sujet complet Si le premier lien ne fonctionne pas, essayez celui-ci : Cliquer ici si vous êtes déjà connectés Vous recevez ce message car vous vous êtes abonné(e) au forum ? [topic-forum] ?. Si vous ne voulez plus recevoir ces messages, retournez sur le forum pour vous en désabonner.
"
["newreply_email_body"]=>
string(1323) "
[reply-forum] | Une réponse a été ajouté au sujet : [topic-title] Bonjour [recipient-first_name] [recipient-last_name], Une nouvelle réponse a été publiée dans le sujet :
[topic-title] de [topic-author] de [cour_forum_courriel usrname="[topic-author]"] [author-first_name] [author-last_name] de [cour_forum_courriel usrname="[author-display_name]"] a répondu : ? [reply-excerpt] ? Connectez vous pour voir la réponse complète Si le premier lien ne fonctionne pas, essayez celui-ci : Cliquer ici si vous êtes déjà connecté Vous recevez ce message car vous vous êtes abonné(e) au sujet ? [topic-title] ?. Si vous ne voulez plus recevoir ces messages, retournez sur le sujet pour vous en désabonner.
"
["newtopic_recipients"]=>
array(0) {
}
["newreply_recipients"]=>
array(0) {
}
["encode_subject"]=>
bool(false)
["newtopic_background"]=>
bool(false)
["newreply_background"]=>
bool(false)
["background_notifications"]=>
bool(true)
["default_topic_notification_checkbox"]=>
bool(false)
["default_reply_notification_checkbox"]=>
bool(false)
["override_bbp_forum_subscriptions"]=>
bool(true)
["override_bbp_topic_subscriptions"]=>
bool(true)
["include_bbp_forum_subscriptions_in_replies"]=>
bool(false)
["forums_auto_subscribe_to_topics"]=>
bool(false)
["forums_auto_subscribe_new_users"]=>
bool(true)
["notify_authors_topic"]=>
bool(true)
["notify_authors_reply"]=>
bool(true)
["hidden_forum_topic_override"]=>
bool(false)
["hidden_forum_reply_override"]=>
bool(false)
["email_type"]=>
string(9) "multipart"
["from_name"]=>
string(5) "AGCMQ"
["from_email"]=>
string(16) "[email protected]"
}
["Active Plugins"]=>
array(56) {
["redux-framework/redux-framework.php"]=>
string(6) "4.3.19"
["advanced-access-manager/aam.php"]=>
string(5) "6.9.0"
["all-in-one-wp-migration-unlimited-extension/all-in-one-wp-migration-unlimited-extension.php"]=>
string(4) "2.47"
["all-in-one-wp-migration/all-in-one-wp-migration.php"]=>
string(4) "7.69"
["bbpress-notify-nospam/bbpress-notify-nospam.php"]=>
string(7) "2.17.10"
["bbpress/bbpress.php"]=>
string(5) "2.6.9"
["better-plugin-compatibility-control/better-plugin-compatibility-control.php"]=>
string(5) "6.0.0"
["bnfw/bnfw.php"]=>
string(5) "1.9.1"
["branda-white-labeling/ultimate-branding.php"]=>
string(7) "3.4.9.3"
["breadcrumb-navxt/breadcrumb-navxt.php"]=>
string(5) "7.1.0"
["breeze/breeze.php"]=>
string(6) "2.0.24"
["cart-limits-for-woocommerce/cart-limits-for-woocommerce.php"]=>
string(5) "1.0.4"
["coming-soon/coming-soon.php"]=>
string(6) "6.15.7"
["conditional-payment-methods-for-woocommerce/conditional-payment-methods-for-woocommerce.php"]=>
string(5) "2.0.0"
["cookie-law-info/cookie-law-info.php"]=>
string(5) "3.0.3"
["disable-wp-notification/disable-wp-notification.php"]=>
string(3) "3.0"
["duplicate-page/duplicatepage.php"]=>
string(5) "4.4.9"
["emember-email-broadcast/emember-email-broadcast.php"]=>
string(4) "v2.4"
["emember-profile-extended/emember-profilex.php"]=>
string(4) "v3.4"
["envato-market/envato-market.php"]=>
string(5) "2.0.7"
["events-calendar-pro/events-calendar-pro.php"]=>
string(7) "6.0.2.1"
["fluent-smtp/fluent-smtp.php"]=>
string(5) "2.2.4"
["fr-multi-bank-transfer-payment-gateways-for-woocommerce/fr-multi-bank-transfer-gateways-for-woocommerce.php"]=>
string(5) "1.1.0"
["gd-bbpress-attachments/gd-bbpress-attachments.php"]=>
string(3) "4.5"
["if-menu/if-menu.php"]=>
string(6) "0.17.0"
["image-upload-for-bbpress/bbp-image-upload.php"]=>
string(6) "1.1.18"
["js_composer/js_composer.php"]=>
string(5) "6.9.0"
["keydesign-addon/keydesign-addon.php"]=>
string(3) "5.2"
["malcare-security/malcare.php"]=>
string(4) "5.09"
["order-import-export-for-woocommerce/order-import-export-for-woocommerce.php"]=>
string(5) "2.3.4"
["pdf-generator-addon-for-wordpress-visual-composer/pdf-generator-addon-for-wordpress-visual-composer.php"]=>
string(5) "2.1.0"
["product-availability-slots-for-woocommerce/product-availability-slots-for-woocommerce.php"]=>
string(3) "4.9"
["real-media-library-lite/index.php"]=>
string(6) "4.20.4"
["really-simple-ssl/rlrsssl-really-simple-ssl.php"]=>
string(5) "6.2.5"
["relevanssi/relevanssi.php"]=>
string(6) "4.17.1"
["revslider/revslider.php"]=>
string(6) "6.5.31"
["role-based-pricing-for-woocommerce/addify-role-based-pricing.php"]=>
string(5) "1.7.0"
["sortable-post-grid/sortable_post_grid.php"]=>
string(5) "3.4.1"
["string-locator/string-locator.php"]=>
string(5) "2.6.0"
["the-events-calendar/the-events-calendar.php"]=>
string(7) "6.0.3.1"
["unlimited-addons-for-wpbakery-page-builder/unlimited_addons.php"]=>
string(6) "1.0.42"
["wck-custom-fields-and-custom-post-types-creator/wck.php"]=>
string(5) "2.3.5"
["woo-order-export-lite/woo-order-export-lite.php"]=>
string(5) "3.4.0"
["woocommerce-and-wp-emember-integration/emember-woocommerce-addon.php"]=>
string(3) "2.2"
["woocommerce-paypal-payments/woocommerce-paypal-payments.php"]=>
string(5) "1.9.4"
["woocommerce-pdf-invoices/bootstrap.php"]=>
string(5) "3.1.9"
["woocommerce-product-addons/woocommerce-product-addons.php"]=>
string(5) "5.0.0"
["woocommerce-product-bundles/woocommerce-product-bundles.php"]=>
string(6) "6.16.0"
["woocommerce/woocommerce.php"]=>
string(5) "7.0.0"
["wp-eMember/wp_eMember.php"]=>
string(7) "v10.4.6"
["wp-html-mail/wp-html-mail.php"]=>
string(5) "3.2.3"
["wp-mail-logging/wp-mail-logging.php"]=>
string(6) "1.11.0"
["wp-menu-cart/wp-menu-cart.php"]=>
string(6) "2.14.0"
["wp-smushit/wp-smush.php"]=>
string(6) "3.12.3"
["wpforms/wpforms.php"]=>
string(7) "1.7.7.2"
["yaymail/yaymail.php"]=>
string(5) "3.0.8"
}
["Network Active Plugins"]=>
bool(false)
["Active Theme"]=>
array(3) {
["Theme Name"]=>
string(10) "Sway Child"
["Theme Version"]=>
string(3) "1.0"
["Theme URI"]=>
NULL
}
["mb_encode_mimeheader Available"]=>
string(3) "Yes"
["iconv_get_encoding Available"]=>
string(3) "Yes"
["Iconv Internal Encoding"]=>
string(5) "UTF-8"
["Site Charset"]=>
string(5) "UTF-8"
["DB Charset"]=>
string(4) "utf8"
["DB_COLLATE"]=>
string(0) ""
}Forum: Plugins
In reply to: [bbPress Notify (No-Spam)] Problem with the background notificationAlso, sometimes the email sent is blank, I don’t know why
Thank you so much !