![]() |
I haven't been able to get the spell check to work in private messages in vb 3.51.
I have added the following code in the usercp_shell Code:
<script src="vbspell.js"></script> Can someone please point me in the right direction. Thanks in advance. |
Quote:
HTML Code:
openSpellWin(640, 480); |
Quote:
|
Ah thank you that did the trick.
Great response time I might add. |
<font color="SeaGreen">* christianb clicks install</font>
|
Here is vB Spell for french users.
***Information*** -Installation file modified : languageid "-1" to languageid "0" Fichier d'installation modifi? : languageid "-1" -> languageid "0" -Javascript file modified : thesaurus and lookup deleted and replaced by a french synonym dictionnary and french version of wiktionary Fichier javascript modifi? : le thesaurus et la consultation du lexique ont ?t? supprim?s pour ?tre remplac?s par un dictionnaire des synonymes et la version fan?aise de wiktionary. -Xml product file created : include french translated template and french phrases. Cr?ation d'un fichier produit xml : comporte la traduction fran?ais du template et celle des expressions. -English dictionnary replaced with french dictionnary Dictionnaire anglais remplac? par celui fran?ais. ***New installation*** No problem, just read Tamarian How To, and import the new xml product fileAucun probl?me, suivez juste les instructions de Tamarian et importer le fichier produit xml ***"Upgrade" after having installed vB Spell*** *** with original vbspell_install.php file*** If you want french phrases in admincp, uninstall first vBspell with the original vbspell_install.php Si vous avez pr?c?demment install? vB Spell avec le fichier original, vous devez d?sinstaller le script avec le m?me fichier. Puis t?l?charger l'archive fran?aise et proc?der ? la r?installation |
Quote:
|
SQL file for the dictionary is no longer posted in the 3.0.7 version or here. Anyone have a copy so I can get this working without messing around with my php variables?
|
Quote:
Here it is. |
Thanks. I managed to get it to work by just importing up to the r's then modifying the script and dictionary. This will help in the future though.
|
Works great, thanks alot for your work on this....it is appreciated :)
|
vbspell (also the latest update) stopped working on our board.
The templates are still fine, the files are where they should be, the database is fine, the buttons work, vbspell.php is loaded into a new popup, but instead of showing anything, a white page (no error codes) is displayed. Is this because of the 3.5.1 upgrade or is the PHP configuration changed? |
Quote:
|
Hi,
Where it says 'upload files' where do I upload them to? Thanks, Jeff Smith |
After upgrading to vBulletin 3.5.2, I had the same problem TosaInu reported. As suggested by tamarian, I re-ran the installation to get vB Spell working again. It was necessary to reinstall the dictionary as well.
|
Thanks tamarian
Step 1 generated a SQL error since the fields already existed in the database. Step 2 completed. Step 3 completed Step 4 generated a SQL error since the fields already existed in the database. The spellcheck seems to be working again. I guess step 3 (adding templates is vital). |
Quote:
|
OK, I did all the updates, all seemed to go well, but, it seems that I have made a mistake somewhere...
NO matter what I do, I got the "Spellcheck is complete" box, even when errors are plainly visible... :ninja: This is the same for all interfaces, edit/new reply/new post, etc... See attached screen shot.. Any Ideas? |
Quote:
|
works great on 3.5.2, thanks for this!! :D
*clicks install |
Quote:
Yes... 192,917 total.. i ran thru all the pages in this hack, checked perms on the scripts and everything I thought it might be. Not my first time at application of hacks either, but I know I can make a mistake the same as the next fellow... I did read thru all the pages of this thread to see if it twas already discovered, saw one post, but no solution.. btw, this is a VB 3.5.0 gold , and Vbportal 3.5 co-mingling TIA for your efforts. Bits |
I also have the problem two other users mentioned in this topic:
Upgraded VBulletin to 3.5.2 and: - templates are fine - files are where they should be - database is fine - buttons work - vbspell.php is loaded into a new popup, but instead of showing anything, a white page (no error codes) is displayed. What can I do to fix this? I don't want to reinstall it from the scratch. There must be something simple. Please let me know. :devious: Joe |
You don't have to re-install from scrach, just re-run the install script. The template edits will not need to be re-done.
|
When you use this on "editpost" too it deletes the text ..
Basicially you click edit and then straight away spell check ... the popup appears empty and so is the post when closing the spellcheck window :( |
Someone got a German dictionary?
Thanks! |
Quote:
|
Yeah, this is what I meant .. I disabled it for now ... if someone wants to use an advanced feature such as spell check - well - click advanced :D
|
very nice! now the members of my site can stop making fun of the poor guy with bad spelling. :D :D :D
|
I installed this and it went great for a while and then one day when I went to click on the spell check it popped up the window as usual but the window was blank. I checked all the templates and they appear to still be in order... any ideas? any specific places I should look?
|
It does not appear to be working in vB 3.52. Is there a fix for this problem?
|
Quote:
|
Quote:
|
I tried reinstalling with/o the dictionary, when doing a spell check it would find mispelled words, but no option to correct them. I then completely uninstalled and reinstalled the program, and all is working as it should now.
Thanks |
So how come I can't find </head> in any of my templates? Has something changed?
|
Okay I'm having an issue when I click spell check it opens a window full of php gibberish, any idea's folks?
options['vbspell_allow_all'] OR is_member_of($vbulletin->userinfo, explode(',', $vbulletin->options['vbspell_use_groups']))) $vbulletin->userinfo['can_use_vbspell'] = TRUE; if (!$vbulletin->userinfo['can_use_vbspell'] OR $vbulletin->userinfo['usergroupid'] == 0) print_no_permission(); $PersonalWords = array(); if (!empty($_COOKIE['vbspell_words'])) $PersonalWords = explode(',', urldecode(strtolower($_COOKIE['vbspell_words']))); require_once('./includes/searchwords.php'); // get search engine stop words, to save on queries. function MisSpelled($word) { global $db, $badwords, $PersonalWords; $word = trim($word, "'"); $partial = explode('\'', strtolower($word)); if (count($partial) > 1) $CheckPartial = TRUE; else $CheckPartial = FALSE; if (in_array($partial[0], $PersonalWords)) return FALSE; // User have "learned" this word elseif ($CheckPartial AND in_array(strtolower($word), $PersonalWords)) return FALSE; // User have "learned" this word elseif ($word === strtoupper($word)) return FALSE; // All uppercase, treat as abbriviation, might want to make this an admincp option.. elseif (in_array($partial[0], $badwords)) return FALSE; // Very common word elseif ($CheckPartial AND in_array($partial[0] . $partial[1], $badwords)) return FALSE; // Very common word elseif ($db->query_first("SELECT word FROM " . TABLE_PREFIX . "vbspell WHERE word = '" . addslashes($partial[0]) . "'")) return FALSE; // Found In dictionary else return TRUE; // probably mis-spelled } function Suggest($for) { global $db, $vbulletin; $for = trim($for, "'"); $WordList = array(); $SuggestedList = array(); $Suggestions = $db->query_read("SELECT word FROM " . TABLE_PREFIX . "vbspell WHERE sound = '" . addslashes(metaphone($for)) . "'"); while ($Suggestion = $db->fetch_array($Suggestions)) $WordList[$Suggestion['word']] = levenshtein($for, $Suggestion['word']); asort($WordList); reset($WordList); foreach ($WordList as $word => $distance) if ($distance <= $vbulletin->options['vbspell_levenshtein_distance']) $SuggestedList[] = $word; if ($for === ucfirst($for)) { foreach ($SuggestedList as $key => $word) $SuggestedList[ |
Upgraded to 3.5.3 to see if it fixed the problem, still getting the same issue as above. I would really like it if someone could give me a hand figuring this out. Seems like a good piece of software if I can get it working :) Thanks!
|
You'll need to search your templates for "head". Find the one you need to edit. Proceed slowly through the instructions.
|
I'm just going to keep posting untill someone has a suggestion, so far I've tried both methods of setting it up and neither has worked properly. I have a forum that needs a spell checker, any legitimate suggestions on fixes/work arounds.
Quote:
|
Quote:
|
Has anyone else experienced Javascript errors, preventing the spell check from working? I ran the install and edited the templates, but when I click the button, nothing happens. I look down in the corner of the IE status bar and there's a JS error. The error says something like:
'document.forms[...].message.value' is null or not an object Any idea what's going on? The only other thing I have running is phpAdsNew scripts (in js form). I removed all the phpadsnew code and it still gives the same error, so there's no conflict there. |
All times are GMT. The time now is 10:45 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|