The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
PungoSpell Spell Checker for vB3.5 WYSIWYG and Standard mode Details »» | |||||||||||||||||||||||||||
PungoSpell Spell Checker for vB3.5 WYSIWYG and Standard mode
Developer Last Online: Nov 2023
PungoSpell for vB 3.5 WYSIWYG and Standard mode Intro: PungoSpell supports WYSIWYG mode disply using DHTML on the spell check popup window. It uses PHP's buitin PSPELL module. Many have this already compiled in, but if not, it's easy to add. What this hack does This hack modifies the PungoSpell software package from PungoSpell to allow spell checking on vBulletin for both modes, WYSIWYG and standard mode. Change Log: v2.4 December 25, 2005: Security fix for cases where you allow HTML posts and they contain malicious code (Credit goes to Brendan Donahue for finding the issue and alerting TechGuy, and to TechGuy for alerting me to it) v2.3 Bug fix standard mode. v2.2 Bugfix v2.1 Changed JS to handle vB 3.5 beta 4 v2.0 Initial release for vB 3.5 beta Features, no more config edits, uses admin panel for settings Note: There's another hack for spell checker for vBulletin3 using PHPSpell. (I plan to port it to vB 3.5 shortly) You might want to compare both to decide which one you like best. https://vborg.vbsupport.ru/showthrea...threadid=65723 Credit PungoSpell Is a free software using the MIT license. By default, it will work fine in standard mode. This hack will allow it to work for both standard and WYSIWYG. Requirements: You will need to have PSPELL compiled into your PHP setup. Many have this by default. To find out if you already have it, check your PHP info from the vBulletin Admin Panel: Import & Maintenance > View PHP Info. Search for "pspell". If it's there, you're fine. If not, you can recompile PHP with the "--with-pspell" paramater. You also need aspell software installed on your server with a dictionary setup. Please check with your server admin if not sure Installation Instructions 1. Download the attached file, and unpack into your main forum directory, except for pungo_install.php which should go into your admincp directory. Make sure the file "custom.pws" is writable by apache, otherwise the "Learn" function will not work. 2. Run pungo_install.php in the admincp directory. Once you're done, edit the options in the vB options menu under the title "PungoSpell". 3. It has English setup by default. If you want it to use any other language, it's easy. Just edit the language setting from your control panel. "en" stands for English. Change it to the code of the language you want. Like "fr" for French, for example. Make sure your system has the required dictionary. You see the dictionary config by typing "aspell config" at the command line, to see which dictionaries you have. 4. Edit each template where you'd like to have the spell checker. For example: newreply template A. Find Code:
</head> Code:
<script src="pungospell.js"></script> B. Add somewhere the followin (below $navbar for example)g: Code:
<form name="spell_form" id="spell_form" method="POST" target="spellWindow" action="pungospell.php"> <input type="hidden" name="spell_formname" value=""> <input type="hidden" name="spell_fieldname" value=""> <input type="hidden" name="spellstring" value=""> </form> Code:
<input type="submit" class="button" name="sbutton" value="$vbphrase[save_changes]" accesskey="s" tabindex="1" /> <input type="submit" class="button" name="preview" value="$vbphrase[preview_changes]" accesskey="p" tabindex="1" /> Code:
<input type="button" class="button" value="Spell Check" onClick="spellCheck('vbform', '$editorid', '2');" /> Trouble shooting: 1. Learn doesn't work: Try this: Change the first line from custom.pws: personal_ws-1.1 en 0 To: personal_ws-1.1 english 0 en worked fine for me on Fedora and Gentoo, but I had to change to english on RHE. 2. Change language If you have learning enabled, affter you change the language from the admincp, you also, in the file custom.pws, the first line reads something like: personal_ws-1.1 en 0 You will need to change en to the language you use, like fr Please click Install if you have installed this mod. Show Your Support
|
Comments |
#92
|
|||
|
|||
I just upgraded my forums from vB 3.0.x to 3.5.1 and upgraded to the latest PungoSpell as well. So far everything seems to work, but when I click the Done button, the spell check window doesn't close and the updated/spell checked post doesn't get updated into my post window. Any ideas?
|
#93
|
|||
|
|||
Quote:
|
#94
|
|||
|
|||
Thanks for an excellent mod. It bugged me that only IE users got this feature. Installed with cclaerhout's hack and works like a charm.
>clicks install< |
#95
|
|||
|
|||
I just upgraded to 5.2, installed this hack and it doesn't seem to work. When you click the Spell Check button, nothing happens. There seems to be a javascript error. This happens on every page I try and use the code.
|
#96
|
|||
|
|||
I get this after install
Fatal error: Call to undefined function: pspell_new() in /home/xmsquad/public_html/x/forumsVB/pungospell.php on line 50 |
#97
|
|||
|
|||
Quote:
|
#98
|
|||
|
|||
Just to let everyone know, this hack does not seem to work in 3.52 or 3.53 - I have it working on a 3.51 site with no problems, but the newer vb versions spit out javascript errors. I'd wait until this hack is updated to install it on a new version of vb.
|
#99
|
|||
|
|||
I've just installed it on my test 3.5.4 board and it's fine. I need it there as it's a popular feature on my current live 3.0 site.
|
#100
|
|||
|
|||
I've been running it on 3.5RCX and up without issue.
|
#101
|
|||
|
|||
Sorry to bump this thread.
Could you modify it to just highlight the text in their post and not offer any corrections or spell check panel? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|