Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
'Whisper to' box too short
I have users registering and logging in through Wordpress, so they are allowed to have long usernames. However, the text input box for 'Whisper your comments to' is too short to allow some of them. Is there any quick fix for this without editing the code? And if I do have to edit the code, which file would I find it in? Many thanks.
0
This discussion has been closed.
Comments
#WhisperUsername, #WhisperAutoCompleteResults { width: 200px; }
Change that width to whatever you want.
It's in themes/comment_form.php
<input id="WhisperUsername" name="WhisperUsername" type="text" value="'.$Comment->WhisperUsername.'" class="Whisper AutoCompleteInput" maxlength="20" />
So change maxlength="20" to 30 or higher or remove the MAXLENGTH attribute altogether.
Later:
And as Mark says: You will likely want to do the same thing for /path/to/vanilla/themes/discussion_form.php
<input id="WhisperUsername" name="WhisperUsername" type="text" value="'.$Comment->WhisperUsername.'" class="Whisper AutoCompleteInput" maxlength="20" />
Change the "maxlength" setting to something else and you should be good to go.
You will likely want to do the same thing for /path/to/vanilla/themes/discussion_form.php