I needed to install this for a client but I noticed that the posbit_edit didn't work.
The reason why it doesn't work is because the vbspell script checks for form name "vbform". The post_edit form doesn't use this 'name'. In fact, I don't think it has a name.
Anyway, the fix is to find the array of form objects within the page. ie. how many <form> objects are found before the postbit_edit form. In a default vbulletin style, the number is 3 ... at least that's what it was for me logged in as admin.
So instead of...
document.form["formname"] - uses defined form names
we will have
document.form[3] - uses refrence number within array
If it doesn't work with '3' check with another number.
I can't test this on client site as a registered member so if someone can test and confirm this I would appreciate it. Thanks
Well, here's the fix:
HTML Code:
<input type="button" class="button" value="Spell Check" onclick="spellCheck('3', '$editorid', '2');" />
OTHER RECOMMENDATIONS:
Check to see if field exist before ALTERing a table. For example, user table - if field exist ALTER will fail; thus, it may leave someone with missing fields
GREAT JOB