vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   PHPSpellchecker for VB2.x! (Beta) (https://vborg.vbsupport.ru/showthread.php?t=41071)

Raz 11-03-2002 08:28 PM

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.

Paul 11-04-2002 04:38 AM

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.

Paul 11-06-2002 04:42 AM

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.

Harken 11-26-2002 06:02 PM

in the instructions it says to edit templates.. newreply, newthread, ...is it meaning the .php files? because i dont see those templates..

diettalk 12-03-2002 02:18 PM

When trying to spell check a post with a full URL in it, the post disappears when you finish checking.

Paul 12-03-2002 02:27 PM

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?

diettalk 12-03-2002 02:50 PM

Try spellchecking in the quote...

Quote:

For the best diet support visit http://www.diettalk.com
and it's true by the way.. :D

Paul 12-03-2002 03:25 PM

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?

diettalk 12-03-2002 03:31 PM

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.

diettalk 12-03-2002 03:38 PM

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.



All times are GMT. The time now is 11:38 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.01193 seconds
  • Memory Usage 1,741KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete