I use the PluhNews on my homepage and I would like to "ameliorate" it. I would like to log on my homepage and see new or updated news (pluhnews) with the arrow of the board.
PHP Code:
require("./forum/global.php");
if ($bbuserinfo['userid']!=0) {
$username=$bbuserinfo['username'];
print("<p align='center'>Welcome back,<br /> <b>$username!</b></p>");
print("<p align='center'><b>[ <a href='forum/index.php'>Enter</a> ]</b></p>");
} else {
?>
<form action="http://www.site.com/forum/member.php" method="post" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="action" value="login" />
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td align="left"><font class="verdana, arial, helvetica" size="1"><b>Username:</b></font></td>
<td align="left"><input type="text" name="username" size="7" /></td>
</tr>
<tr>
<td align="left"><font class="verdana, arial, helvetica" size="1"><b>Password:</b></font></td>
<td align="left"><input type="password" name="password" size="7" /></td>
</tr>
<tr>
<td align="center" colspan="2"><input type="submit" value="Login!" /></td>
</tr>
</table>
</form>
<?
}
?>
this small code (see hacks for version 2.x) allow to login on a non VB page. When you log, you go on the index of forum.
I would like to stay on the homepage and view the news for my session.
I hope you understand what I said

Thx in advance for help