Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Free Spellchecking is Here Details »»
Free Spellchecking is Here
Version: 1.00, by Parker Clack Parker Clack is offline
Developer Last Online: Nov 2013 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 04-13-2002 Last Update: Never Installs: 36
 
No support by the author.

There has been a PERL script out for some time that allows you to make use of aspell libraries that you can have installed on your server with PHP.

I have also included a text file that has the javascript that you insert into your editpost, newthread and newreply templates to add spell checking to your forums. The edited text is then inserted into the original document when submitted.

You need to have a cgi-bin, or similar directory, set up on your server and the aspell or ispell libraries for PHP on your server. (Do a look up for aspell or ispell on google, etc. on these libraries if you don't know about them.)

If someone wants to look over the enclosed PERL script and write it in PHP that would be great and make it to were you didn't have to have PERL on your server.

Enjoy!

Parker

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #92  
Old 08-12-2003, 10:55 PM
ice9 ice9 is offline
 
Join Date: Jun 2003
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If it doesn't work at 777, then changing it to 755 won't help.

By shell.pl, you mean spell.pl, right? Also, check to make sure that your server will run CGI scripts that end in ".pl". Sometimes a ".cgi" suffix is required.

The next step I would take is to look at my server error logs, and find the exact, specific error that corresponds to your attempt to access the script.
Reply With Quote
  #93  
Old 08-12-2003, 11:12 PM
94supratt 94supratt is offline
 
Join Date: Dec 2002
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 12:55 AM ice9 said this in Post #91
If it doesn't work at 777, then changing it to 755 won't help.

By shell.pl, you mean spell.pl, right? Also, check to make sure that your server will run CGI scripts that end in ".pl". Sometimes a ".cgi" suffix is required.

The next step I would take is to look at my server error logs, and find the exact, specific error that corresponds to your attempt to access the script.

Yeah typo on my part the shell.pl thing.
Reply With Quote
  #94  
Old 09-13-2003, 12:29 PM
Chris Blount Chris Blount is offline
 
Join Date: Mar 2002
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does anyone know how to get this spell check to work with a WYSIWYG editor?
Reply With Quote
  #95  
Old 10-27-2003, 01:52 PM
Chris Blount Chris Blount is offline
 
Join Date: Mar 2002
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone?
Reply With Quote
  #96  
Old 10-30-2003, 11:00 PM
UberX UberX is offline
 
Join Date: Dec 2002
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm trying to figure that out right now...
I'll get back to you if I'm successful.
Reply With Quote
  #97  
Old 11-04-2003, 07:52 PM
lierduh lierduh is offline
 
Join Date: Jan 2003
Location: Sydney, Australia
Posts: 459
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just installed and works great.

Seeing some people are having problem with the perl script. Here is my note.

1)Making sure your server support cgi-bin in the location you want.

I have:

ScriptAlias /cgi-bin/ /var/www/html/forums/cgi-bin/

under my virtual host setting. It assigns the location of the cgi-bin alias as well as allowing script excuting under that directory.

2) Permissions

For cgi-bin I have 711 (I never use 755, don't like the idea of people going through my cgi-bin directory)

for the perl script I have 755.

There is no need to have 777. It is very dangerous to say the least. eg. Anyone on the server can put their own cgi script in your cgi-bin directory. Also if you have 777 for the script, anyone on the server can alter it's contents!

3)Line wrapping.

Perl does not like Windows line wrapping: \r\n.

Under Unix, the line wrapping is \n. So you either need to upload your script in text mod, or if you unzip the file on the server as I do. Fix the script using:

dos2unix spell.pl

(If you open the file under a consol, and discovered a M at the end of each line. You have windows line wrapping!, naturally you can manually remove it under the consol one by one)
Reply With Quote
  #98  
Old 11-08-2003, 02:47 AM
atomic fireball's Avatar
atomic fireball atomic fireball is offline
 
Join Date: Apr 2003
Location: California
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ice9
If it doesn't work at 777, then changing it to 755 won't help.
Strangely, for my server this isn't true.
I had it set to 777, thinking this would be fine for the testing and always got an INTERNAL SERVER ERROR. Then, chmod to 755, and whammo, it worked like a charm.

So for anyone getting an internal server error, be sure to check your paths to the spell.pl as stated, and also be sure to chmod the file itself to 755. Worked like a charm, great hack!

This can also be applied to the Quick Reply box with ease.

Just made a small addition to the showthread_replybox template that you needed to custom create for the quick reply hack.

Add the same "form" text from this spellcheck hack to the showthread_replybox template, right after the Reset Form button line.

Great hack, thanks again!
Reply With Quote
  #99  
Old 01-03-2004, 12:35 AM
Keith Keith is offline
 
Join Date: Jan 2002
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This solution works very well once you make sure everything is done correctly. Every failure or problem I experienced during installation was generated by my own errors and mistakes.

The only thing I noticed is the custom.dic doesn't work and affects the spell.pl application if you're on a shared host with the aspell library installed. I removed custom.dic and now it works fine now. Thanks for the solution/hack.
Reply With Quote
  #100  
Old 01-13-2004, 01:22 AM
jojok jojok is offline
 
Join Date: Jan 2004
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I really want to use this hack. I followed the directions, uploading the file to my cgi-bin and CHMODing it. I also modified my templates correctly. I'm receiving this error:
Quote:
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@treehillhigh.net and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.




Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Apache/1.3.29 Server at www.treehillhigh.net Port 80
Reply With Quote
  #101  
Old 01-13-2004, 03:25 AM
atomic fireball's Avatar
atomic fireball atomic fireball is offline
 
Join Date: Apr 2003
Location: California
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jojok
I really want to use this hack. I followed the directions, uploading the file to my cgi-bin and CHMODing it. I also modified my templates correctly. I'm receiving this error:
Did you try CHMODing the file to 755 and NOT 777?
As I posted a few messages above, I got the same error on 777, but CHMODing to 755 worked perfectly.
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 10:37 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08631 seconds
  • Memory Usage 2,306KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete