You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug :
When you're on a viewforum page that has been rewritten by this ext, for example if you're in /off-topic/ instead of /viewforum.php?f=2, and you then click any link or submit any form to log in, the redirection after the successful login fails because it produces a URL that looks like this:
The culprit is the 'viewforum.php' script name. If this were removed somehow then this bug would be fixed.
To Reproduce :
Steps to reproduce the behavior:
Configure USU to use virtual forum folders in the ACP
Refresh cache/update .htaccess as necessary
Log out
Navigate to any forum, for example /off-topic or /general-discussion
Log in using quick login box or any standard log in link
After successful log in, phpBB will try to redirect you to the page you were on previously, but it will fail, because of the viewforum.php scriptname in the URL that is generated.
An error message 'The forum you selected does not exist.' is displayed.
Expected behavior :
What should happen is that you are redirected to /off-topic/?forum_uri=off-topic&start=&sid=..., NOT /viewforum.php/off-topic/?forum_uri=off-topic&start=&sid=....
Any chance we could get a quick find & replace fix for this?
The text was updated successfully, but these errors were encountered:
In the meantime I've made a very hacky fix with jQuery that changes the redirect hidden field to {FORUM_NAME} after passing it through .toLowerCase(), and this does the job for now.
Describe the bug :
When you're on a viewforum page that has been rewritten by this ext, for example if you're in
/off-topic/
instead of/viewforum.php?f=2
, and you then click any link or submit any form to log in, the redirection after the successful login fails because it produces a URL that looks like this:/viewforum.php/off-topic/?forum_uri=off-topic&start=&sid=...
The culprit is the 'viewforum.php' script name. If this were removed somehow then this bug would be fixed.
To Reproduce :
Steps to reproduce the behavior:
/off-topic
or/general-discussion
viewforum.php
scriptname in the URL that is generated.Expected behavior :
What should happen is that you are redirected to
/off-topic/?forum_uri=off-topic&start=&sid=...
, NOT/viewforum.php/off-topic/?forum_uri=off-topic&start=&sid=...
.Any chance we could get a quick find & replace fix for this?
The text was updated successfully, but these errors were encountered: