The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Quick Chat
Editing bad words list (2 posts)

  1. andrewmassengale
    Posted 4 years ago #

    Hey guys!

    Great plugin! I LOVED working through the code, it is really well-written. I just have one suggestion. Probably not everyone using this plugin will want to see the bad word list every time they go to the admin settings page (I'm using this plugin for our church website :)

    So I changed a line of your code, and just thought you guys might like to consider it for the next revision.

    I changed:

    972 (quick-chat.php): echo '<textarea id="quick_chat_bad_words" name="quick_chat_options[badwords_list]" rows="5" cols="50" type="textarea">'.$quick_chat_options['badwords_list'].'</textarea>';


    972 (quick-chat.php): echo '<textarea id="quick_chat_bad_words" name="quick_chat_options[badwords_list]" rows="5" cols="50" type="textarea" style="display: none">'.$quick_chat_options['badwords_list'].'</textarea><input type="button" onclick="jQuery(\'#quick_chat_bad_words\').show();jQuery(this).hide()" value="Edit" />';

    Thanks again! Oh, and +1 for PHP single-quoted string!


  2. Marko-M
    Plugin Author

    Posted 4 years ago #

    Hi thanks for the idea, you're right it does look nasty when you browse trough admin options.

    Also thanks for the nice words it means a lot coming from fellow coder ;)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Quick Chat
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic