vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Spell Checker: PungoSpell for vBulletin3 Standard and WYSIWYG modes (https://vborg.vbsupport.ru/showthread.php?t=65737)

Chris Blount 06-13-2004 03:29 AM

I got mine installed and it works good so far. Having one problem though.

I setup the config file so all usergroups can access the spell checker (1,2,3,4 etc.) but unregistered users are getting a blank spell check window when they try to use it.

Any ideas? I'm pretty sure the config file is correct.

sketch42 06-13-2004 03:31 AM

Quote:

Originally Posted by Chris Blount
I got mine installed and it works good so far. Having one problem though.

I setup the config file so all usergroups can access the spell checker (1,2,3,4 etc.) but unregistered users are getting a blank spell check window when they try to use it.

Any ideas? I'm pretty sure the config file is correct.

unregistered shouldnt be able to post by default unless you changed that

Chris Blount 06-13-2004 03:54 AM

Quote:

Originally Posted by sketch42
unregistered shouldnt be able to post by default unless you changed that

Yes, I want unregs to be able to use the spell check which is why I changed the config file to list all usergroups.

pie 06-13-2004 10:41 AM

Fatal error: Call to undefined function: pspell_new() in /home/colicab/public_html/community/checkspelling.php on line 26

The error i receive.

tamarian 06-13-2004 12:15 PM

Quote:

Originally Posted by Chris Blount
I got mine installed and it works good so far. Having one problem though.

I setup the config file so all usergroups can access the spell checker (1,2,3,4 etc.) but unregistered users are getting a blank spell check window when they try to use it.

Any ideas? I'm pretty sure the config file is correct.

I have not thought about unregistered users, so I might make room for that in a future update.

If you want to enable it now, add 0 to the allowed usergroups (if it's not there) and comment out this line from checkspelling.php (line 14)

Chenge from:

if ($bbuserinfo['userid'] == 0) exit;

To this:

//if ($bbuserinfo['userid'] == 0) exit;

Be caureful that your editor should not add any end of line characters.

tamarian 06-13-2004 12:17 PM

Quote:

Originally Posted by pie
Fatal error: Call to undefined function: pspell_new() in /home/colicab/public_html/community/checkspelling.php on line 26

The error i receive.

You probably don't have pspell compiled into your PHP, and missing the aspell package.

Try PHPSpell instead.

Chris Blount 06-13-2004 06:48 PM

Quote:

Originally Posted by tamarian
I have not thought about unregistered users, so I might make room for that in a future update.

If you want to enable it now, add 0 to the allowed usergroups (if it's not there) and comment out this line from checkspelling.php (line 14)

Chenge from:

if ($bbuserinfo['userid'] == 0) exit;

To this:

//if ($bbuserinfo['userid'] == 0) exit;

Be caureful that your editor should not add any end of line characters.

Works great! Thanks so much for your support. We ended up leaving the learning feature off for now because we don't want our users to accidently place certain words in their custom dictionary.

I do have one question though. I run a satellite forum and we have a lot of terms that only pertain to the satellite industry. Is there a place where I can put universally ignored words? I looked in the files but couldn't find a place to put them except for where you have the code to ignore the QUOTE tags.

tamarian 06-13-2004 09:41 PM

Quote:

Originally Posted by Chris Blount
I do have one question though. I run a satellite forum and we have a lot of terms that only pertain to the satellite industry. Is there a place where I can put universally ignored words? I looked in the files but couldn't find a place to put them except for where you have the code to ignore the QUOTE tags.

PHP's pspell functions do not have a real ignore feature. There is an ignore options, but it's only by length, i.e. ignore any word with less than X characters.

I can think of two options, enable learning, but restrict it to admins or a group that can enter those abbriviations.

Or, check out the PHPSpell hack, as it has the ignore feature.

Chris Blount 06-15-2004 11:23 AM

I just found something weird that's happening. When using the spell check in standard mode (not WYSIWYG). All paragraph breaks are getting taken out so when the spell check is done, the post ends up being one long paragraph.

Gary King 06-16-2004 06:21 PM

If aspell is not installed, I'm sure there's a way to define the functions required (just a thought.)

Anyone know the correct function declaration for, say, pspell_new()?


All times are GMT. The time now is 03:15 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.05310 seconds
  • Memory Usage 1,744KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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