Description: Adds a "Spell Check" button which uses spellcheck.net as it's dictionary. Applies to new post, reply and editing pages. Very simple template only mod.
1.3 is just a minor tweak to the instructions for UBB.Threads 6.4.
Disclaimer: Please backup every file that you intend to modify. If the modification modifies the database, it's a good idea to backup your database before doing so.
Note: If you modify your UBB.Threads code, you may be giving up your right for "official" support from Infopop.If you need official support, you'll need to restore unmodified files.
I thought I would point out three changes I made, that you might consider for the public release. Minor usability tweaks.
1) Since SPELL_CHECK is already defined in the addpost.php, newpost.php and newreply.php language files, but as 'Check spelling', I changed those to 'Check Spelling' (note case) and also added SPELL_CHECK to generic.php with the same---keeps it consistent across all pages.
2) Changed popup width to 500 pixels, height to 550. Bigger is better.
3) Added the spell check button to lines 66 and 126 in addpost_preview.tmpl.
[]Credits: AllenAyres, JoshPet, Bandit_1234, LK, Anime-loo [/] I would've thought I'd be forgotten by now
Anyway suggestion for Spell Check v2: make a PHP file on the thread's server a proxy between the user and the spellchecker, then convert the results to the UBB's styleset, and add "Correct Text in Threads" button, which would automatically fix the mistakes on your UBBThreads post form... just like in UBB.class's spellcheck 2
Needless to say that it's fixed in UBB's spellcheck because we're processing it thru the cgi file and not the IE... but you can use the same, very simple technique as ubb's post preview, that it changes method=get to method=post in the popup..
FYI in Safari on Mac you can choose "Check as you type" under Edit / Spelling it will underlines the typos. Then you can control click or right click on the typo and have the corrected word(s) in a popup.
Sure it will, may need minor tweaks. I already set it up on my upgrade/dev board, but don't remember if there were any major changes to the way it was installed from the instructions.
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.