Unfortunately not get to use this code:
$phpbbUser = new phpbbSSO();
$forumURL = 'http://example.org/forum';
if($phpbbUser->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 '<a href="'.$forumURL.'/ucp.php?mode=login" title="Login" accesskey="l">Login</a>
/ <a href="'.$forumURL.'/ucp.php?mode=register">Register</a>';
}
}else{
echo '
<a href="'.$prefsUrl.'">wiki preferences</a> |
<a href="'.$forumURL.'/ucp.php?i=pm&folder=inbox"><strong>'.$phpbbUser->messages.'</strong> new messages</a> |
<a href="'.$forumURL.'/ucp.php?mode=logout&sid='.$phpbbUser->session_id.'" title="Logout [ '.$phpbbUser->userName.' ]" accesskey="l">Logout [ '.$phpbbUser->userName.' ]</a>';
}
in the skin Here is a snippet of code from the file of the skin:
function personalLoginBox() { ?> <!--li><a href="#"><?php //$this->msg('personaltools') ?>My Accounts</a--> <ul> <?php foreach($this->data['personal_urls'] as $key => $item) { ?> <li id="pt-<?php echo Sanitizer::escapeId($key) ?>"<?php if ($item['active']) { ?> class="active"<?php } ?>><a href="<?php echo htmlspecialchars($item['href']) ?>"<?php echo $this->data['skin']->tooltipAndAccesskey('pt-'.$key) ?><?php if(!empty($item['class'])) { ?> class="<?php echo htmlspecialchars($item['class']) ?>"<?php } ?>><?php echo htmlspecialchars($item['text']) ?></a></li> <?php } ?> </ul> <!--/li--> <?php }
I'm trying to change (after getting the error 500) (skin:gumaxdd)