Hi all,
I have installed
Shoutbox and is working.
I wanted to do some tweaking to it but I don't know how.
I want to display the shout in reverse, latest at top, oldest at bottom
and also
I wanna show date & time beside the nick or below the message if possible
Thanks.
Code:
echo "<tr><td class=\"trow".$row."\" onMouseOver=\"javascript:sb_posttime_show('Posted on: ".$date." at ".$time.$ip."');\" onMouseOut=\"javascript:sb_posttime_hide();\" style=\"text-align: left;\"><small><<a href=\"".$mybb->settings['bburl']."/member.php?action=profile&uid=".$post['uid']."\" target=\"_new\">".$usernamewithstyle."</a>><br />- ".$message.$adminopt."<br />".$date.", ".$time."</small></td></tr>\r\n"; }
I edited the code to add in date & time, but I don't know how to align the date & time to right while having only single line break, help please
Code:
echo "<tr><td class=\"trow".$row."\" onMouseOver=\"javascript:sb_posttime_show('Posted on: ".$date." at ".$time.$ip."');\" onMouseOut=\"javascript:sb_posttime_hide();\" style=\"text-align: left;\"><small><<a href=\"".$mybb->settings['bburl']."/member.php?action=profile&uid=".$post['uid']."\" target=\"_new\">".$usernamewithstyle."</a>><br />- ".$message.$adminopt."<br /><div style='font-style:italic;float:right;'>".$date.", ".$time."</div></small></td></tr>\r\n";
now is working....
but i still want the reverse display, latest at top, old at bottom =(