TinyPortal

Development => Support => Topic started by: akalsha on February 27, 2008, 11:58:48 AM

Title: how to only allow admins to post in shoutbox? regular members can only see it
Post by: akalsha on February 27, 2008, 11:58:48 AM
Hello,
I know there's a way to control who sees the shoutbox.  But is there any way to control who posts in the shoutbox?  I would like to make it so that only admins can post in the shoutbox, and regular members can view it only.  Thanks for any help.
Title: Re: how to only allow admins to post in shoutbox? regular members can only see it
Post by: stormlrd on February 27, 2008, 12:02:38 PM
in 1.0 you'll have more flexibility

here's the permissions for it

TinyPortal Shoutbox
   

Help    Manage Shoutbox    
   Shoutbox Settings    
Help    Modify own shout    
Help    Delete own shout    
Help    Modify any shout    
Help    Delete any shout    
Help    Allow shout reporting.    
Help    Allowed to shout    
Help    Allowed to whisper    
Help    Allowed to see all whispers
Title: Re: how to only allow admins to post in shoutbox? regular members can only see
Post by: akalsha on February 27, 2008, 12:08:07 PM
Thanks, I'll be looking for that release.  :)
In the meantime, does anyone know of a way to fudge it?  I don't know much about php, but could I stick in some if statement code to just make the form part of the shoutbox not visible, or not clickable to regular members?  How would I code it?  I'd appreciate any help.