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)
-   -   PHP Spell Checker intergration into vBulletin (https://vborg.vbsupport.ru/showthread.php?t=54204)

Boofo 06-12-2003 12:39 PM

Now I get this again.

Warning: main(spell_MySQL.php) [function.main]: failed to create stream: No such file or directory in /xxxx/xxxx/xxxxxx_xxxx/forum/spelling/spell_config.php on line 166

Warning: main() [function.main]: Failed opening 'spell_MySQL.php' for inclusion (include_path='') in /xxxx/xxxx/xxxxxx_xxxx/forum/spelling/spell_config.php on line 166
You must choose a Database Type in the Spell Configuration file.

iggy123 06-12-2003 02:15 PM

did you see if the table is created in your db? it should make the table spelling_words?
apart from that i have no idea - it is working fine on mine and the only difference is that i have set it too forums/spelling rather than forum/spelling
but it shouldnt make much difference. Did you change any of the other files? and you did change the permissions to 755
I spoke to their support team and they said that they are planning on releasing a proper patch for vbulletin in the near future.

I have attached a clean spell_config.php to see if that makes any difference

Boofo 06-12-2003 03:35 PM

The directory permissions are set to 755, but all file permissions are still at 644. No, there is no spelling_words table. And I didn't change any other files. When they release an update for vBulletin, please let me know. Until then, I'm out of luck.

sptechzone 06-19-2003 02:46 PM

But not without a fight. got the message
Quote:

You must choose a Database Type in the Spell Configuration file.
, I had entered the database even tried the full path. That wasn't the problem when I used the MySQL admin tools found that I had a default username entered as "root" no password but a user. Added then did the change from MySQL to pspell and back and it works.

Thanks!

Just want to know if I can remove the Learn button. Want to stop anyone from entering mis-spelled words.

gmarik 06-19-2003 06:22 PM

Is only English supported?

iggy123 06-19-2003 08:07 PM

Quote:

Today at 08:22 PM gmarik said this in Post #15
Is only English supported?
I am sure you can get another language .dic file.... check out their website, there might be one there

iggy123 06-20-2003 10:52 AM

Quote:

Just want to know if I can remove the Learn button. Want to stop anyone from entering mis-spelled words.
Think there is away of turning it off - I will check it out and post it tonight..

Quote:

Is only English supported?
I have a couple of other language packs - again i will try them out tonight and post them here if they work ok.
The languages i have are:

. French
. German
. Italian
. Spainish

Ian Cunningham 06-20-2003 11:40 AM

Just browse one of the files for the HTML code with the insert button, you should be able to just remove it.

I cannot believe how quiet this hack is, I think this is one of the best hacks available - it works excellently on my site and all of my users are praising it!

iggy123 06-20-2003 02:20 PM

Quote:

Today at 01:40 PM Ian Cunningham said this in Post #18


I cannot believe how quiet this hack is, I think this is one of the best hacks available - it works excellently on my site and all of my users are praising it!


I can't understand it either? oh, well never mind LOL

iggy123 06-20-2003 04:40 PM

Quote:

Just want to know if I can remove the Learn button. Want to stop anyone from entering mis-spelled words
To disable the learn function totaly do this:

In the spelling folder open your spelling.js (remember to back it up first...)

Online 404 (approx) find:
PHP Code:

    odoc.write("<input type='button' value='Learn' class='clbutton' 
onclick='this.blur();parent.Learn_Word("
+The_Current_Word_ID+");'><br>"); 

and delete all of it

then still in spelling.js find online 473 (approx):
PHP Code:

function Learn_Word(Word_ID)
{
  
Word Bad_Words[Word_ID].Word;
  
Cookie Get_Cookie("SpellLearned");
  if (
Cookie == nullCookie Word;
  else 
Cookie Cookie "," Word;
  
Set_Cookie("SpellLearned",Cookie);
  
Ignore_All_Words(Word_ID);


and delete that as well.

Save the spelling.js and the learn button is removed.


All times are GMT. The time now is 12: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.01113 seconds
  • Memory Usage 1,749KB
  • 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_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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