Plugin Author
axew3
(@axewww)
hi, to have language set on register in WP to what you want by default, you should activate the option in wp_w3all config page:
Activate language update/switch on profile for users between WordPress and phpBB
Please read the related explain of the option.
Now, i’m quite sure this option work fine with languages that i’ve test, extracting the lang iso code used in WP and suitable in phpBB for the same lang.
Activate the option, be sure that the same lang is active/installed in phpBB and try to register an user in WP, so check all is set correctly about lang in phpBB for this new user.
If not, please let me know:
the phpBB language pack you use for Persian lang
and the WP setting you have setup for lang in WP.
p.s you need to set WP to Persian lang by default to test the thing (as i assume it is already).
-
This reply was modified 8 years, 5 months ago by
axew3.
Activate language update/switch on profile for users between WordPress and phpBB is set to yes
in my phpbb have two language enlish and persian but default is set to persian
but have problem .old user no problem, new user after register in wp language is persian but in phpbb is english
this is setting of my wp and phpbb
http://cityproje.ir/6.jpg
http://cityproje.ir/7.jpg
http://cityproje.ir/8.jpg
http://cityproje.ir/9.jpg
Plugin Author
axew3
(@axewww)
ok, the file
class.wp.w3all-phpbb.php
has been patched to resolve this bug.
A new user, when register and option is active on wp_w3all, will be registered into phpBB with same default WordPress language.
It was not due to a call to another function that was resetting the initial correct setting: it have let me discover also another issue, that will be more deeply and easily resolved on next version. The issue is about the fact that function phpbb_update_profile() is fired when user is created in WP.
you can directly download the file class.wp.w3all-phpbb.php to be replaced into folder
/wp-content/plugins/wp-w3all-phpbb-integration
from here:
https://plugins.trac.wordpress.org/export/HEAD/wp-w3all-phpbb-integration/trunk/class.wp.w3all-phpbb.php
It remain to fix the fact that the timezone is set to Europe/Rome by default, and this is it from the very firsts plugin versions …