• 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>';

    To:

    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!

    https://www.ads-software.com/extend/plugins/quick-chat/

Viewing 1 replies (of 1 total)
  • Plugin Author Marko-M

    (@marko-m)

    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 ??

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Quick Chat] Editing bad words list’ is closed to new replies.