Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Spell checker: PHPSpell for vBulletin3 WYSIWYG and Standard mode Details »
Spell checker: PHPSpell for vBulletin3 WYSIWYG and Standard mode
Mod Version: 1.00, by tamarian (Member) tamarian is offline
Developer Last Online: Mar 2016 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.0.7 Rating: (2 votes - 5.00 average) Installs: 78
Released: 01 Jun 2004 Last Update: Never Downloads: 22
Not Supported  

PHPSpell for vBulletin3 WYSIWYG and Standard mode

Intro: PHPSpell uses a MySQL based disctionary and requires no additional tools than your standard PHP/MySQL setup. One draw back to this hack is that while it works with vBulletin in WYSIWYG mode, the popup window will still display html and vBCode tags. But the advantages are numerous, such as the "learn" capability and the admin tool.

There is another hack http://www.vbulletin.org/forum/showt...threadid=65737 for PungoSpell that supports WYSIWYG mode disply on the spell check popup window. It has less features than PHPSpell, but it supports WYSIWYG display. Check it out, and compare which one is best for your forum.

Credit PHPSpell Was written for PHPBB, and then expanded to work for all major forum software, including vB2 and vB3. Due to vB3's WYSIWYG mode, PHPSpell only supports standard mode. This hack will allow it to work for both standard and WYSIWYG.

If you like this software, please click the PayPal button on the Author's site, so they'll add more features. Their future plans so far include:

* PHPBB Template integration
* Other Languages (Currently supports English & Russian)
* Finish Language support so that hardcoded output is stored in language files
* Ability to delete Learned Words for the end user
* Ability for Admin to View/Edit/Delete words in installed dictionaries
* Ability for Admin to export Dictionaries
* Ability for end user to choose which Dictionary/Thesaurus Site to use
* Ability for end user to be able to change which Language to use
* Ability for end user to change # of words to find.
* Ability for Integrated Dictionary/Thesaurus
* Other Program Integration
Demo: http://www.master-technology.com/demos/spell/index.php

What this hack does This hack modifies the PHPSpell software package from PHPSpell to allow spell checking on vBulletin for both modes, WYSIWYG and standard mode.

Note: You will see tags like <br> and others in WYSIWYG and BBCode in standard mode. Edit the config file to ignore them. This happens in both WYSIWYG mode, and in standard mode. It will show the tags, but it will not spell check them. This hack does not add new features to the spell checker, it just makes it work, as designed, for vB3 in both WYSIWYG and standard mode.

Instructions

1. Download the attached file, and unpack into a new directory called "spelling" below your forum directory.

2. Edit the config file "spell_config.php" and enter your forum database username and password.

3. Find a dictionary and upload it to the "spelling" directory. A copy is provided in the zip file. PHPSpell's site has a couple of dictionaries for download: http://www.master-technology.com/dem...l/download.php

4. Run "spell_admin.php" from your browser (URL/spelling/spell_admin.php) to create the dictionary datanbase table. When done, delete this file and the dictionary file.

5. You might want to modify the css files to have the look and feel of your forum and colours.

6. The rest is template edits for each template where you'd like to have the spell checker. For example:

newreply template

Find


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Add above


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Find the submit and preview buttons:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Add below:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And repeat the same steps for other templates like newthread etc.


Optional: Other Templates that contain edit boxes are:
USERCP_SHELL just add the first change here in above the </head section. Required for pm_newpm and modifysignature.
editpost
Calendar Templates: calendar_edit
New Posting Templates: newreply, newthread
Modify User Options Templates: modifysignature (add the the first change in USERCP_SHELL)
Private Message Templates: pm_newpm (add the the first change in USERCP_SHELL)

I may have missed a few, so let me know.

7. If it doesn't work, run the file "spell_diags.php" from your browser, it will test your setup and report any problems.

Enjoy

Download Now

Only licensed members can download files, Click Here for more information.

Addons

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
vB Spell :: Spell Checker in WYSIWYG and Standard Modes tamarian vBulletin 3.0 Full Releases 212 12 Feb 2009 15:14
vB Spell :: Spell Checker in WYSIWYG and Standard Modes tamarian vBulletin 3.5 Add-ons 402 19 May 2007 22:41
PungoSpell Spell Checker for vB3.5 WYSIWYG and Standard mode tamarian vBulletin 3.5 Add-ons 103 23 Oct 2006 11:17
Spell Checker: PungoSpell for vBulletin3 Standard and WYSIWYG modes tamarian vBulletin 3.0 Full Releases 254 16 Jan 2006 20:29

Comments
  #2  
Old 01 Jun 2004, 17:17
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Any screenshots?
Reply With Quote
  #3  
Old 01 Jun 2004, 17:29
tamarian tamarian is offline
 
Join Date: Oct 2001
Originally Posted by Boofo
Any screenshots?
There's a demo link posted, but here's a couple screenshots. Correction, I'm having difficulty uploading PNG shots, so I'll try to add them later. In the mean time, visit the official homepage for PHPSpell for an online demo.
Reply With Quote
  #4  
Old 01 Jun 2004, 18:21
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
I was hoping to see how it looked integrated into vb.
Reply With Quote
  #5  
Old 01 Jun 2004, 18:34
msimplay's Avatar
msimplay msimplay is offline
 
Join Date: Aug 2002
can someone do a list of templates to insert this code into because newbies will not so easily be able to find the templates

ok i just did it so i'll do the above

showthread_quickreply
newthread
newreply
pm_newpm

Last edited by msimplay; 01 Jun 2004 at 19:20. Reason: adding templates to add to
Reply With Quote
  #6  
Old 01 Jun 2004, 18:49
welo welo is offline
 
Join Date: Jan 2004
I have a meeting shortly so I'll be out of the loop for the rest of the afternoon. Will install it on my test board this evening though and post a few notes later. Cheers for this.
__________________
"I should warn you that underneath these clothes I'm wearing boxer shorts and I know how to use them." --Robert Orben

Last edited by welo; 01 Jun 2004 at 18:57.
Reply With Quote
  #7  
Old 01 Jun 2004, 18:58
tamarian tamarian is offline
 
Join Date: Oct 2001
Originally Posted by Boofo
I was hoping to see how it looked integrated into vb.
PM me your email and you can post them for me

vB.org apparently won't let me uplaod them, as the upload hangs. Might be due to the size of the disctonary taking up all my space allowance....

However, the "integration" part will just show a "spell check" button, next to the "preview" button. The online demo listed will be identical, as it's a popup window.
Reply With Quote
  #8  
Old 01 Jun 2004, 18:59
tamarian tamarian is offline
 
Join Date: Oct 2001
Originally Posted by msimplay
can someone do a list of templates to insert this code into because newbies will not so easily be able to find the templates
Great idea. I've listed them in step 6.
Reply With Quote
  #9  
Old 01 Jun 2004, 19:20
msimplay's Avatar
msimplay msimplay is offline
 
Join Date: Aug 2002
Thanks Tamarian
Reply With Quote
  #10  
Old 01 Jun 2004, 19:38
msimplay's Avatar
msimplay msimplay is offline
 
Join Date: Aug 2002
Big problem with the spellchecker

it seems to be picking up the html from the wyziwyg editor
Attached Images
File Type: jpg spellchecker.JPG (133.2 KB, 949 views)
Reply With Quote
  #11  
Old 01 Jun 2004, 19:41
Acido Acido is offline
 
Join Date: Apr 2003
Is not working OK in wysiwyg

The spellchecker add tags like : <P style="MARGIN: 0px"> to the text
Reply With Quote
  #12  
Old 01 Jun 2004, 19:52
tamarian tamarian is offline
 
Join Date: Oct 2001
RE: HTML tags like <br>, add them in the config file to ignore.

Note, this happens in both WYSIWYG mode, and in standard mode. It will show the tags, but it will not spell check them.

This hack does not add new features to the spell checker, it just makes it work, as designed, for vB3 in both WYSIWYG and standard mode.
Reply With Quote
  #13  
Old 01 Jun 2004, 20:09
msimplay's Avatar
msimplay msimplay is offline
 
Join Date: Aug 2002
hmm its not what i had expected then :S
anyone got the if condition to make it only work for standard editor then coz parsing html will only confuse users

i used


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

instead of


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

because i wanted to compensate for the lack html stripping from spellchecker
this way both parties get to use a spell checker
otherwise i was planning to remove the spell checker for wyziwyg editor users altogether

Last edited by msimplay; 01 Jun 2004 at 23:05. Reason: added what i used to compensate for lack of html stripping from wyziwyg editor
Reply With Quote
  #14  
Old 01 Jun 2004, 20:52
insanctus's Avatar
insanctus insanctus is offline
 
Join Date: Feb 2003
Originally Posted by msimplay
hmm its not what i had expected then :S
anyone got the if condition to make it only work for standard editor then coz parsing html will only confuse users

i used


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

instead of


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

because i wanted to compensate for the lack html stripping from spellchecker
this way both parties get to use a spell checker
Does anyone have this working? I have yet to try it out, but by lookin at how small the word list size is I do not see how it could be to powerful.
Reply With Quote
  #15  
Old 01 Jun 2004, 20:53
msimplay's Avatar
msimplay msimplay is offline
 
Join Date: Aug 2002
Originally Posted by insanctus
Does anyone have this working? I have yet to try it out, but by lookin at how small the word list size is I do not see how it could be to powerful.
i have it working at my site
check it using test as username and password

it is quite powerful in respect of having a thesaurus aswell
and you can add ur own words to it
even though that kind of negates the reason to use the spell checker
oh well we can't win em all :P

ps if u visit my site use both the standard editor and the wyziwyg both spell checkers are different
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 13:56.

Layout Options | Width: Wide Color: