Menu

#11 Feature Request: Hide text input in shoutbox conditionally

open
None
5
2012-09-20
2012-07-08
No

Attached patch will hide the input control of the shoutbox if the user is an AJAX_CHAT_GUEST and $config['allowGuestWrite'] is set to false (i.e. he can't say anything anyway).
This is done by adding a template tag [CLASS_WRITEABLE/] (to be used as CSS class) which is set to either "write_allowed" or "write_forbidden".

Discussion

  • Felix Eckhofer

    Felix Eckhofer - 2012-07-08

    Hide input control if user is not allowed to chat

     
  • Philip Nicolcev

    Philip Nicolcev - 2012-09-20
    • assigned_to: nobody --> frug
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.