Thread:Extension talk:Phpbb Single Sign-On/how do i fix the .$prefsUrl.?/reply

i somewhat found a way to fix the error. instead of using $prefsurl i used the full link to it.

so i would of put http://www.example.com/wiki/index.php?title=Special:Preferences instead. it worked for me.

this is my code:  isAnonymous){ //If a logged in user is not part of the group, he's treated as not logged in. Thus we don't display the Login link if group membership is required. if(!phpbbSSO::REQUIRE_GROUP){ echo 'Login / Register'; } }else{ echo ' wiki preferences |  '.$phpbbUser->messages.' new messages | session_id.'" title="Logout [ '.$phpbbUser->userName.' ]" accesskey="l">Logout [ '.$phpbbUser->userName.' ]'; }

?>