Topic: Rearrange PunBB folders - prevent Bad HTTP_REFERER errors
Integrating my main site's registration/login script turned out to be too complicated, so I'm now trying to use PunBB's registration/login for my main site.
So I copied registration.php, login.php and several other files from my '/forum' folder to the root and put heavily edited common.php, functions.php etc. in a '/common' folder I already had for sitewide includes etc.
But in some cases I got Bad HTTP_REFERER errors, so I'm forced to move more and more PunBB files to the root, including all those admin_ files.
Can I at least keep the forum itself (viewforum.php, viewtopic.php, etc) in the forum folder? Or will I have to move everything to the root to prevent Bad HTTP_REFERER errors?
Can I put all those admin_files in an '/admin' folder? Which addresses should I change? Or is it impossible without getting Bad HTTP_REFERER errors?
I'm still trying to keep PunBB somewhat seperate from the rest of my site. I've already had to rename PunBB's redirect function to fix a conflict with another PHP script in my site.