all this
Code:
if ($user->user AND $user->can_shout =="true")
Dose is stop any one under the class of users lets say guest viewing your shoutbox and checks if user is allowed to shout
so if your gonna do this
Code:
if ($user->user AND $user->can_shout =="false")
then you might as well remove that bit of code