Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Beta Releases

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
  #42  
Old 07-19-2002, 11:35 PM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Blank page eh? How strange....you seem to have done everyone I could have suggested, so I'm not sure. Maybe Raz will get back to you.
Reply With Quote
  #43  
Old 07-20-2002, 12:00 AM
Steve St.Lauren Steve St.Lauren is offline
 
Join Date: May 2002
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When I run phpinfo.php here is what I show on the Configure Command line:

'./configure' '--with-apxs=/usr/local/sbin/apxs' '--with-config-file-path=/usr/local/etc' '--enable-versioning' '--with-regex=system' '--with-pspell=/usr/local/share/pspell' '--without-gd' '--with-zlib' '--with-mysql=/usr/local' '--enable-ftp' '--with-pspell=/usr/local' '--prefix=/usr/local' 'i386-portbld-freebsd4.6'

pspell is actually installed at /usr/local/share/pspell which is the default for FreeBSD's port install - I've tried setting the destination to that as well but it also didn't work.
Reply With Quote
  #44  
Old 07-20-2002, 01:49 AM
Paul Paul is offline
 
Join Date: Jan 2002
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Steve St.Lauren
[B]When I run phpinfo.php here is what I show on the Configure Command line:

'./configure' '--with-apxs=/usr/local/sbin/apxs' '--with-config-file-path=/usr/local/etc' '--enable-versioning' '--with-regex=system' '--with-pspell=/usr/local/share/pspell' '--without-gd' '--with-zlib' '--with-mysql=/usr/local' '--enable-ftp' '--with-pspell=/usr/local' '--prefix=/usr/local' 'i386-portbld-freebsd4.6'

pspell is actually installed at /usr/local/share/pspell which is the default for FreeBSD's port install - I've tried setting the destination to that as well but it also didn't work.
Aren't they the same? To change the directory where it's installed, compile --with-pspell=/path/to/pspell. See the pspell docs on www.php.net ... it's clearly outlined there.

I seem to remember an issue with a user of this hack getting blank pages because they did not upload blank.html (or a similar file--I haven't looked in the archive to see what it's called) thinking that it was not a part of the hack. Did you perhaps do this as well?

Paul
Reply With Quote
  #45  
Old 07-20-2002, 01:50 AM
Steve St.Lauren Steve St.Lauren is offline
 
Join Date: May 2002
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got it working! Don't ask me how though.
Reply With Quote
  #46  
Old 07-20-2002, 04:17 AM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey Raz, or anybody else, what is the easiest way to get this to also check the title field of the post. I'm sure most of us have experienced when you mispell a word in a thread title, mostly new threads, and then you feel like an idiot because everyone see's the title is wrong and there is nothing you can do to change it. (unless you're the admin/mod).

So, any thoughts of how this could be done?
Reply With Quote
  #47  
Old 07-20-2002, 06:40 PM
Raz's Avatar
Raz Raz is offline
 
Join Date: Oct 2001
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Steve St.Lauren
When I run phpinfo.php here is what I show on the Configure Command line:

'./configure' '--with-apxs=/usr/local/sbin/apxs' '--with-config-file-path=/usr/local/etc' '--enable-versioning' '--with-regex=system' '--with-pspell=/usr/local/share/pspell' '--without-gd' '--with-zlib' '--with-mysql=/usr/local' '--enable-ftp' '--with-pspell=/usr/local' '--prefix=/usr/local' 'i386-portbld-freebsd4.6'

pspell is actually installed at /usr/local/share/pspell which is the default for FreeBSD's port install - I've tried setting the destination to that as well but it also didn't work.
Why do you have two --with-pspell directives?
Reply With Quote
  #48  
Old 07-20-2002, 06:42 PM
Raz's Avatar
Raz Raz is offline
 
Join Date: Oct 2001
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Velocd
*dies* Ok, dang, they're not going to be happy
Wish I knew this earlier...
Hmm....did they not even bother to read the documentation???
Reply With Quote
  #49  
Old 07-20-2002, 06:44 PM
Raz's Avatar
Raz Raz is offline
 
Join Date: Oct 2001
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Velocd
Hey Raz, or anybody else, what is the easiest way to get this to also check the title field of the post. I'm sure most of us have experienced when you mispell a word in a thread title, mostly new threads, and then you feel like an idiot because everyone see's the title is wrong and there is nothing you can do to change it. (unless you're the admin/mod).

So, any thoughts of how this could be done?
Adding support for that will be pretty difficult.

The easiest way to do that would be to create two spellchecking buttons - one that checks the title, and the other that checks the message body.
Reply With Quote
  #50  
Old 07-20-2002, 08:18 PM
Steve St.Lauren Steve St.Lauren is offline
 
Join Date: May 2002
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That was a mistake Raz. I was adding it with the configure command and when I ran make install after a make clean it popped up a menu where I could turn pspell on there too. So it was enabled in both places. So far it seems to be working great for the majority of users on my site. However, there are some people that are just getting blank windows still. I'm having them check to make sure Java is enabled and that their anti-virus software isn't blocking Java. If that doesn't fix it for them I'm going to try to figure out what they have in common and let you know. Great mod for vBulletin BTW!! Thanks for the work.
Reply With Quote
  #51  
Old 07-21-2002, 01:46 AM
Steve St.Lauren Steve St.Lauren is offline
 
Join Date: May 2002
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I had a user run into a problem today and I have verified it myself. On long messages it works fine until you get to the finished checking part. Then it either goes into a continuous loop or it goes to a blank screen with a dnserror. The test message I used was ~4,000 characters long with spaces to replicate this problem.
Reply With Quote
Reply

Thread Tools

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 09:47 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.04387 seconds
  • Memory Usage 2,301KB
  • 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