
01-28-2008, 05:48 AM
|
 |
|
|
Join Date: Mar 2007
Posts: 758
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by 4number8
For anyone that would like the spell check button added, edit your newreply, and newthread templetes:
newreply
find:
Code:
<input type="submit" class="button" name="sbutton" id="{$editorid}_save" value="$vbphrase[submit_reply]" accesskey="s" tabindex="1" />
<input type="submit" class="button" name="preview" value="$vbphrase[preview_post]" accesskey="r" tabindex="1" />
under it add this:
Code:
<input type="button" class="button" value="Spell Check" onClick="spellCheck('vbform', '$editorid', '2');" />
newthread
find:
Code:
<input type="submit" class="button" name="sbutton" id="{$editorid}_save" value="$vbphrase[submit_new_thread]" accesskey="s" tabindex="1" />
<input type="submit" class="button" name="preview" value="$vbphrase[preview_post]" accesskey="r" tabindex="1" />
under this add:
Code:
<input type="button" class="button" value="Spell Check" onClick="spellCheck('vbform', '$editorid', '2');" />
Best of all, no more hidding windows, it pops up as it should 
|
Quote:
Originally Posted by 4number8
To add the spell check button to the quick reply, simply search for this phrase in..
showthread templete find:
Code:
<input type="submit" class="button" value="$vbphrase[go_advanced]" accesskey="x" title="(Alt + X)" name="preview" tabindex="3" id="qr_preview" onclick="clickedelm = this.value" />
Below this add:
Code:
<input type="button" class="button" value="Spell Check" onClick="spellCheck('qrform', '$editorid', '2');" />
You now have a spell check button on quickreply that works as it should.
Hope that helps
|
Quote:
Originally Posted by 4number8
To also add the spell check button to your go advanced options, edit your postbit_quickedit templete.
Find:
Code:
<input type="button" class="button" tabindex="1" accesskey="r" value="$vbphrase[go_advanced]" id="{$editorid}_adv" />
Below add:
Code:
<input type="button" class="button" value="Spell Check" onClick="spellCheck('vbform', '$editorid', '2');" />
|
Quote:
Originally Posted by 4number8
If you would like to have a spell check button for your users to use with their PMs, simply edit your pm_newpm templete.
Find:
Code:
<input type="submit" class="button" value="$vbphrase[preview_message]" accesskey="r" name="preview" tabindex="1" />
Below this add:
Code:
<input type="button" class="button" value="Spell Check" onClick="spellCheck('vbform', '$editorid', '2');" />
Now you and your users can check the spelling in your PM's
|
Very Useful Tips!! :up:
When I tried the Quick Edit, you have to be Careful because on Normal Mode (Not WYSIWYG), it Erases the Content of the Message, so is needed to Cancel the Edit; but when the WYSIWYG editor is On, the it works Fine!!
My Best Regards!!
|