Hi folks!
Ok I have an issue that hopefully some of Kunena's devs can shine a light on. I'm trying to rewrite URLs on the system plugin (onAfterRoute) level by setting certain variables. Imagine this scenario: user goes to
domain.com/myprofile
, the plugin detects "myprofile" and sets a bunch of params (eg $input->set('option', 'com_kunena') and $input->set('view', 'user')), and Joomla handles the rest.
The problem here with Kunena (this method works with other extensions) is it will redirect to the proper Kunena URLs (whether SEF is enabled or not), which not only removes the custom URL, but also removes other params I have set. Is there something I can do to bypass this behavior? Something like adding a param that Kunena understands and thus will not redirect or provide additional URI handling. I'd really rather not have a core hack to Kunena.
Any assistance/info in this is greatly appreciated!
Note: the scenario is provided "as is", ie. no I cannot create a menu item for "user profile" (in this case), or use
any other workaround.
-edit- I should add that I'm using vanilla Kunena (ie. just installed), and all the Kunena menu and menu items are untouched and displaying properly.