I already had this bug with Mambo and now I've tried Joomla and there's still the same bug. I don't know why i can't find it on the boards, because i can't imagine someone else hasn't noticed it.
It happens when people logout on the site (after being logged in ofcourse). When you press the logout button nothing happens! I fixed it by changing the code of mod_login.php a bit:
from line 47:
Code:
// Logout output
// ie HTML when already logged in and trying to logout
if ( $name ) {
$name = $my->username;
}
?>
<form action="<?php echo sefRelToAbs( 'index.php?option=logout' ); ?>" method="post" name="logout">
<?php
if ( $greeting ) {
echo _HI;
echo $name;
}
?>
<br />
<div align="center">
<input type="submit" name="Submit" class="button" value="<?php echo _BUTTON_LOGOUT; ?>" />
</div>
<input type="hidden" name="op2" value="logout" />
<input type="hidden" name="option" value="logout" />
<input type="hidden" name="lang" value="<?php echo $mosConfig_lang; ?>" />
<input type="hidden" name="return" value="<?php echo sefRelToAbs( $logout ); ?>" />
<input type="hidden" name="message" value="<?php echo $message_logout; ?>" />
</form>
<?php
The things I changed were:
Code:
<form action="<?php echo sefRelToAbs( 'index.php?option=logout' ); ?>" method="post" name="logout">
Because name was set to login and not to logout.
And I added
Code:
<input type="hidden" name="option" value="logout" />
I could've changed the name of op2 to option, but I didn't want to delete any lines.
Am I the only one with these problems? Or doesn't anyone use the login-script?

Anyhow..it's fixed now on my computer.