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

Reply
 
Thread Tools
PHPSpellchecker for VB2.x! (Beta) Details »»
PHPSpellchecker for VB2.x! (Beta)
Version: 1.00, by Raz Raz is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 07-14-2002 Last Update: Never Installs: 13
Is in Beta Stage  
No support by the author.

OK, finally here is the code for the PHPSpellchecker!
If you find any bugs, please post your findings here

Check out the Zip file for more info.

Enjoy!
Raz

Note: You will require PSpell (inc ASpell) installed.

Show Your Support

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

Comments
  #72  
Old 11-03-2002, 08:28 PM
Raz's Avatar
Raz Raz is offline
 
Join Date: Oct 2001
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm sorry but I don't have the time I used to, to work on this anymore. If anyone else is willing to continue this, feel free.

About the XSS issue, its not. Only [a-z] characters are parsed, so if it has a non alpha character it ignores it.
Reply With Quote
  #73  
Old 11-04-2002, 04:38 AM
Paul Paul is offline
 
Join Date: Jan 2002
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well okay Here's where I'm at with trying to fix this. My intial idea was to move the <form> information out of spellcheck.php and into a third 1 pixel big frame called formcode.php. However, I can't figure out the javascript needed to get the checktext over to the formcode script.

This is something that someone who knows a bit more (anything) about javascript needs to look at Until then, it's a miracle this thing works at all--apparently IE takes W3C standards pretty loosely.
Reply With Quote
  #74  
Old 11-06-2002, 04:42 AM
Paul Paul is offline
 
Join Date: Jan 2002
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Attached you'll find a version of this spellchecker that works in the latest versions of both Netscape and Internet Explorer. I am by no means an expert in javascript, however with the help of a few kind folks around the 'net and a lot of google groups searching, I managed to come up with something that at the very least, works.

I was not able to get it to work properly in Opera, however I did get a report that it works with Mozilla v1. I have not tested that configuration myself.

It'd be really great if someone could take this and improve upon it to ensure maximum efficiency and compatiblity with W3C standards.

There are no instructions in this zip file. Overwrite your existing spellchecker files (Available on the first post in this thread: https://vborg.vbsupport.ru/showthrea...580#post272580) with the ones in this zip. No modifications to the templates are needed to upgrade.

To install, make the template changes discussed in Raz's original release.

Regards,
Paul

Edit: I updated the attachment which removes a stripslashes() function from the finished text--not including slashes will cause an error with messages that contain certain characters. check.php was updated.

Edit #2: I made it a bit clearer on where to get the original files from.
Reply With Quote
  #75  
Old 11-26-2002, 06:02 PM
Harken Harken is offline
 
Join Date: Apr 2002
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

in the instructions it says to edit templates.. newreply, newthread, ...is it meaning the .php files? because i dont see those templates..
Reply With Quote
  #76  
Old 12-03-2002, 02:18 PM
diettalk's Avatar
diettalk diettalk is offline
 
Join Date: Jan 2002
Location: Maryland
Posts: 109
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When trying to spell check a post with a full URL in it, the post disappears when you finish checking.
Reply With Quote
  #77  
Old 12-03-2002, 02:27 PM
Paul Paul is offline
 
Join Date: Jan 2002
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Harken: templates are under the New Posting Templates group.

diettalk: What do you mean a full URL? Can you provide the exact text you're spell checking so I can see if I can reproduce it?
Reply With Quote
  #78  
Old 12-03-2002, 02:50 PM
diettalk's Avatar
diettalk diettalk is offline
 
Join Date: Jan 2002
Location: Maryland
Posts: 109
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try spellchecking in the quote...

Quote:
For the best diet support visit http://www.diettalk.com
and it's true by the way..
Reply With Quote
  #79  
Old 12-03-2002, 03:25 PM
Paul Paul is offline
 
Join Date: Jan 2002
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As Spammy as that sounds, it doesn't result in any problems on my site. Are you using the version I released or the version Raz did?
Reply With Quote
  #80  
Old 12-03-2002, 03:31 PM
diettalk's Avatar
diettalk diettalk is offline
 
Join Date: Jan 2002
Location: Maryland
Posts: 109
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

LOL... It is spammy.. but it was the only thing I could think of... always thinking of advertising.. <VBG>

I thought I was.. I will check.
Reply With Quote
  #81  
Old 12-03-2002, 03:38 PM
diettalk's Avatar
diettalk diettalk is offline
 
Join Date: Jan 2002
Location: Maryland
Posts: 109
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm using this version.


Quote:
Originally posted by LoveShack
Attached you'll find a version of this spellchecker that works in the latest versions of both Netscape and Internet Explorer. I am by no means an expert in javascript, however with the help of a few kind folks around the 'net and a lot of google groups searching, I managed to come up with something that at the very least, works.

I was not able to get it to work properly in Opera, however I did get a report that it works with Mozilla v1. I have not tested that configuration myself.

It'd be really great if someone could take this and improve upon it to ensure maximum efficiency and compatiblity with W3C standards.

There are no instructions in this zip file. Overwrite your existing spellchecker files (Available on the first post in this thread: https://vborg.vbsupport.ru/showthrea...580#post272580) with the ones in this zip. No modifications to the templates are needed to upgrade.

To install, make the template changes discussed in Raz's original release.

Regards,
Paul

Edit: I updated the attachment which removes a stripslashes() function from the finished text--not including slashes will cause an error with messages that contain certain characters. check.php was updated.

Edit #2: I made it a bit clearer on where to get the original files from.
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 02:53 PM.


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.04542 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
  • (2)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