Closed (fixed)
Project:
phpBB Forum Integration
Version:
6.x-2.0-beta8
Component:
Code
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
19 Dec 2009 at 16:00 UTC
Updated:
10 Jan 2010 at 18:40 UTC
Forum links does not keep into account i18n language.
Comments
Comment #1
subcomandante commentedTo better explain this I coded:
This will work at least if you have language prepend prefix, still need to check what happen when you have other language switch types e.g. domain.
Every forum links will keep the language settings so drupal doesn't switch language to default when you follow one of them.
Comment #2
subcomandante commenteduhm, just found this will break deletion and who knows what else.. it seems someting is still wrong in path detection.
EDIT:
btw, this is how it works:
Italian version: http://www.yafaray.org/it/community/forum/index.php
English version: http://www.yafaray.org/community/forum/index.php
It would be perfect with #663942: i18n compatibilty
Comment #3
subcomandante commentedThe issue with quickmod is when you use actions need confirmation the forum action link is not correct, in the same confirmation page you will find correct form:
and wrong confirmation form:
notice the difference between
action="/it/community/forum/mcp.php?f=blablabla
and
action="http://www.yafaray.org/it/community/forum/index.php?q=it/community/forum...
Comment #4
subcomandante commenteduhm, this seems to work:
finally it adds ability to browse the forum without loosing drupal language selection (I tested quickmodtools and it works too) at the moment I'm testing this on yafaray website.
Comment #5
vb commentedi have seen this patch
_phpbbforum_replace_urls
We have found the same solution.
Near about what I have done in beta9 but a bit differently.
But in beta9 besides that i have patched
_phpbbforum_set_globals()
in pages.inc
_phpbbforum_comment_render()
_phpbbforum_posting_destination()
without this embedded comments do not work
Please, look at beta9
Comment #6
subcomandante commentedgreat, it works.
I'm running beta9 now.