qtranslate / qtranslate-xt

qTranslate-XT (eXTended) - reviving qTranslate-X multilingual plugin for WordPress. A new community-driven plugin soon. Built-in modules for WooCommerce, ACF, slugs and others.
GNU General Public License v2.0
550 stars 103 forks source link

ACF missing LSB for user profile #1270

Closed manh-trinhquoc closed 1 year ago

manh-trinhquoc commented 1 year ago

I create custom field at user profile page (wp-admin/profile.php) and it not working at all. The languague switching button is not showing.

image image

I use wordpress 6.6.1 and qtranslate-xt 3.12.1

herrvigg commented 1 year ago

Up to qTranslate-XT 3.12.1 you were supposed to add that profile.php page in ACF options, but I don't know if this used to work. There were many bugs due to incomplete configuration.

There are many fixes for ACF with qTranslate-XT 3.13.0 and the page list have been removed from the options. Unfortunately the profile.php page is missing... but the fix is very easy now, I pushed a fix to master and this works.

So you have two options:

  1. Download latest master.zip or
  2. Install QT-XT 3.13.0 (download or github updater) and fix it locally by adding profile.php => '' in this list https://github.com/qtranslate/qtranslate-xt/blob/e79ecf00c4c7053078496f200e57495896e153bf/modules/acf/src/qtx_module_acf_admin.php#L102-L110
manh-trinhquoc commented 1 year ago

I upgraded to 3.13 and it works smoothly. thanks you so much!

herrvigg commented 1 year ago

Fix released in 3.14.0.