forgive me, but I don't know how to answer that question. let me explain,
That's ok as long as you acknowledge you saw the question & answer it as you can that helps...& now you have.
maybe the answer will be there . . . from my site, after users hit submit upon filling out the login information,
The answer is between there, a) "from my site,"...what page is site? b) "after users hit submit upon filling out the login information,"...what page were they on to click the link to get to the login form to hit submit? Oh...I think I just got it...you're using the login form on the bottom of the page instead of the separate page with the login form? In this case I need to know what page the form is on...as in what page is site. Also do you a) want them to goto usercp.php no matter how they login or b) want them to only goto usercp.php if they login via the form at the bottom of the page? If neither add your own c) & tell me the details of c)
I want them to go to root/usercp.php.
Doesn't the 3 edits you made to login.php already do this?
Lemme do an example...
I'm visiting example.com which is a normal home page (their installation of phpbb is under the phpbb dir)
To this normal home page the webmaster wants people to be able to login from the home page directly so they added a Login button linked it to /phpbb/login.php
I click on Login it takes me to example.com/phpbb/login.php
I login it takes me to example.com/phpbb
But the webmaster wants it to go back to the home page (or anywhere else)
So the webmaster needs to edit the link on the home page & re-point it to /phpbb/login.php?redirect=/ (or /phpbb/login.php?redirect=/anywhere/else)
...are you like this webmaster?