this should do the trick:
open qa-include/qa-app-users.php
search for $qa_logged_in_userid_checked=true;
add this:
if ((!@$_SESSION['qa_session_userid'])&&(!isset($_GET["x"]))){
if ($_GET["qa"]=="register")
qa_redirect_raw('index.php?qa=register&x');
else
qa_redirect_raw('index.php?qa=login&x');
}
now you'll get automatically redirected to the login page - if you're not logged in...
There is just one problem: unfortunately I can't read out the parameter "qa" at this place -- so new users are not able to register - also they will be redirected to login instead of to register page...
...and I don't know why...
Any hints from other users?