Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
wet_native: Per-user admin-side language settings
********************************
This plugin is now part of Textpattern core as of Txp 4.7.0 and higher. Users can visit the Admin->Languages panel to set their admin-side language experience from those languages installed by the site administrator.
********************************
wet_native lets publishers assign a distinct admin-side language to each registered user.

Last edited by Bloke (2019-03-09 15:22:12)
Offline
Re: wet_native: Per-user admin-side language settings
lovely plugin. just installed it for my italian friend. millie grazie
…. texted postive
Offline
Re: wet_native: Per-user admin-side language settings
W00T I just downloaded and installed it – it’s awesomely useful ! (Get it into core ;-) Thanks !
اردو میں بھی دستیاب Textpattern آپ کے لیے اب
Offline
Re: wet_native: Per-user admin-side language settings
Hi i just noticed these error message.
Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method wet_native::run() should not be called statically in /users/home/giovanni/domains/milano.consolatotanzania.org/web/public/textpattern/lib/txplib_misc.php on line 854
Strict Standards: Non-static method wet_native::_lang() should not be called statically in /users/home/giovanni/domains/milano.consolatotanzania.org/web/public/textpattern/lib/txplib_misc.php(812) : eval()'d code on line 90 p.
i am running Textpattern version: 4.5.4 .
this is happening on two different sites.
…. texted postive
Offline
Re: wet_native: Per-user admin-side language settings
Thanks for the report. Please try wet_native v0.4.
Offline
Re: wet_native: Per-user admin-side language settings
…. texted postive
Offline
Re: wet_native: Per-user admin-side language settings
Activating this on a reasonably virginal 4.6dev install, then going to the Users panel gives me a truckload of errors (debug mode):
Notice "Undefined index: query"
in /Users/username/Sites/_txp/textpattern/lib/class.trace.php at line 69.
textpattern/lib/class.trace.php:69 adminErrorHandler()
textpattern/lib/txplib_misc.php:1919 Trace->stop()
textpattern/lib/txplib_head.php:142 callback_event()
textpattern/include/txp_admin.php:301 pagetop()
textpattern/include/txp_admin.php:60 author_list()
textpattern/index.php:211 include()
There are more… The whole page is basically a litany of errors.
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
phiw13 on Codeberg
Offline
Offline
Re: wet_native: Per-user admin-side language settings
wet wrote #298145:
Yup, now I can access the Users panel perfectly. Thanks.
PS – you may still want to update the plugin to add the new layout class (.txp-form-field) on the wrapping div.
Or is that the job of Textpattern core?
Last edited by phiw13 (2016-03-04 06:35:40)
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
phiw13 on Codeberg
Offline
Re: wet_native: Per-user admin-side language settings
after upgrading to 4.6.2 in debug mode I got the following error messages:
2048 "call_user_func_array() expects parameter 1 to be a valid callback, non-static method wet_native::run() should not be called statically"
in /var/www/site/textpattern/lib/txplib_misc.php at line 1895.
adminErrorHandler()
textpattern/lib/txplib_misc.php:1895 call_user_func_array()
textpattern/lib/txplib_head.php:124 callback_event()
textpattern/include/txp_prefs.php:164 pagetop()
textpattern/include/txp_prefs.php:144 prefs_list()
textpattern/include/txp_prefs.php:49 prefs_save()
textpattern/index.php:211 include()
2048 "Non-static method wet_native::_lang() should not be called statically"
in /var/www/site/textpattern/lib/txplib_misc.php(1782) : eval()'d code at line 90.
textpattern/lib/txplib_misc.php(1782) : eval()'d code:90 adminErrorHandler()
textpattern/lib/txplib_misc.php(1782) : eval()'d code:90 wet_native::_lang()
wet_native::run()
textpattern/lib/txplib_misc.php:1895 call_user_func_array()
textpattern/lib/txplib_head.php:124 callback_event()
textpattern/include/txp_prefs.php:164 pagetop()
textpattern/include/txp_prefs.php:144 prefs_list()
textpattern/include/txp_prefs.php:49 prefs_save()
textpattern/index.php:211 include()
Offline
Re: wet_native: Per-user admin-side language settings
Thanks for the report. I will look into it.
Offline
Re: wet_native: Per-user admin-side language settings
whocarez wrote #306491:
after upgrading to 4.6.2 in debug mode I got the following error messages:
I think you might want to upgrade wet_native to the most recent version (v4.0 released in 2013) to remedy this issue.
Let me know if this helps.
Offline
Re: wet_native: Per-user admin-side language settings
yes, that’s it … sorry, didn’t look for updates of this plugin for a while, because it worked and is working :-)
Offline
Re: wet_native: Per-user admin-side language settings
Hi, I’m actually working on updating my sites from textpattern 4.6.2 to 4.7.3 and it seems, that wet_native 0.4 is somehow destroying the menu in terms of the language. Everything is ending up in tab_admin, tab_presentation eg except for the “Plugins section” itself. No error or warning in php_error.log or on the screen.
It doesn’t depend on the PHP version I use. I tried several ones:
PHP version: 7.0.33-1+0~20181208203043.8+jessie~1.gbp2ff763
PHP version: 7.2.16-1+0~20190307202206.17+jessie~1.gbpa7be82
PHP version: 7.3.3-1+0~20190307202445.32+jessie~1.gbp32ebb2

Last edited by whocarez (2019-03-09 12:47:03)
Offline
Re: wet_native: Per-user admin-side language settings
You don’t need this plugin in 4.7+ – per-user language settings are in core. See the Admin->Languages panel.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Offline