vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   New Posting Features - vB Spell (https://vborg.vbsupport.ru/showthread.php?t=124578)

vBulletin THEN DAYLIGHT 10-07-2006 05:30 PM

Has anyone come up with a solution for the pop up window loading beneath other windows yet? I am using Firefox and it is annoying me!

Other than that, no problems. I did have some when I tried to upgrade from the 3.5.4 version, but the best thing to do is just to delete and uninstall vBSpell, including the files on your server, and start all over again from scratch. That worked for me.

davidw 10-07-2006 06:00 PM

Other than a javascript issue itself, I wouldn't have any idea why it would do that personally.

R1lover 10-08-2006 05:20 PM

Quote:

Originally Posted by vBulletin THEN DAYLIGHT
Has anyone come up with a solution for the pop up window loading beneath other windows yet? I am using Firefox and it is annoying me!

Other than that, no problems. I did have some when I tried to upgrade from the 3.5.4 version, but the best thing to do is just to delete and uninstall vBSpell, including the files on your server, and start all over again from scratch. That worked for me.


Yes, I need the pop up window issue solved as well.............

I don't like showing the users a new feature when it does nto work properly... The rest of the mod works great.... Thank you for the work.

But the pop up issues makes this mods look pretty sad... lol


Any help on this from a coder?

Thank you

R1lover 10-08-2006 05:45 PM

HELP PLEASE

anyone a Java Coder?

PoetJA-1975 10-09-2006 06:33 AM

Quote:

Originally Posted by SpadMan
If it ain't broke, don't fix it.

I guess I shouldn't have upgraded to v0.10.2b (08/26/06).

EXACTLY! reverted back - nice hack but v0.10.2b isn't so nice for 3.5.4 OR as other have noted... for 3.6.any LOL

At anyrate thanx for this one, as I'm sure my users will love the functionality ;)

Jacquii.

pokerie 10-09-2006 08:55 AM

Installed, thanks:)

Where could I get an English (Ireland) or UK (Great Britain) dictionary does anyone know? We say customise amongst other different ways of spellingt things;) Can I use the ones installed on my computer? I have a Great Britain .dic file in my open office folder, but it's 500kb compared to the one included in this which was 2MB. That probably wouldn't be ok so?


Just a suggestion is to make the pop up window for the dictionary and thesaurus look look up to be bigger as you have to maximise it to see the results.


I'm using 3.6.1 too, I'm not sure what problem you guys are talking about with it appearing under windows. Could you tell me how to replicate the problem so I can check if it's the same with me?

Is there any chance the mis-spelled words cuz have a squigly line underneatht them so you can see which ones are about to be corrected perhaps?

Thanks again for the mod.

R1lover 10-09-2006 08:28 PM

Quote:

Originally Posted by christianb
Other than a javascript issue itself, I wouldn't have any idea why it would do that personally.

Does anyone here want to help out and take a look at the java script on this new version?

I need to get this resolved asap please, please please... lol

r5e 10-09-2006 11:05 PM

I can report that I have tested this problem with the pop-up happening behind the main window (it flicks for an instant in front as it loads, then disappears behind) in many different scenarios and it does happen.

Firefox - problem
IE - problem
Opera - works fine every time.

I've tried this on a number of different PCs and they all get the same results.

I'm no expert in javascript either. I'll try and get hold of someone who is if the author cannot help. I've also emailed the author and asked him to please spare some time for a quick check in here to investigate this last little niggly problem. Perhaps someone could compare the script from the old version to the new and see if that gives any clues?

As I see it, the rest of the mod can be made to work quite well now, but this is the only bit that still has us all stumped.

Here's hoping we can all find a way to get this working soon.

R1lover 10-10-2006 02:17 AM

Quote:

Originally Posted by r5e
I can report that I have tested this problem with the pop-up happening behind the main window (it flicks for an instant in front as it loads, then disappears behind) in many different scenarios and it does happen.

Firefox - problem
IE - problem
Opera - works fine every time.

I've tried this on a number of different PCs and they all get the same results.

I'm no expert in javascript either. I'll try and get hold of someone who is if the author cannot help. I've also emailed the author and asked him to please spare some time for a quick check in here to investigate this last little niggly problem. Perhaps someone could compare the script from the old version to the new and see if that gives any clues?

As I see it, the rest of the mod can be made to work quite well now, but this is the only bit that still has us all stumped.

Here's hoping we can all find a way to get this working soon.

Thank you, I have tried to get a few pwople to look at it also....still no luck

Let's pull together and get this one solved...

:) ;)

LisaD1 10-11-2006 01:44 AM

Quote:

Originally Posted by r5e
I can report that I have tested this problem with the pop-up happening behind the main window (it flicks for an instant in front as it loads, then disappears behind) in many different scenarios and it does happen.

Firefox - problem
IE - problem
Opera - works fine every time.

I've tried this on a number of different PCs and they all get the same results.

I'm no expert in javascript either. I'll try and get hold of someone who is if the author cannot help. I've also emailed the author and asked him to please spare some time for a quick check in here to investigate this last little niggly problem. Perhaps someone could compare the script from the old version to the new and see if that gives any clues?

As I see it, the rest of the mod can be made to work quite well now, but this is the only bit that still has us all stumped.

Here's hoping we can all find a way to get this working soon.

This also happens on our forum.
I just want to thank the author in advance for his hard work and continued help with this great add on!!
Lisa

kyzyl 10-11-2006 12:21 PM

I've just installed this mod and I've gotten everything to work, except the spell check itself!

I uploaded the dictionary file, installed the product, but when I spell check a post it finds the errors but doesn't give any suggestions?!

Any help would be appreciated.

perfphysio 10-11-2006 05:37 PM

Installed OK on 3.6.2

It quickly flashes open in a new window in firefox which is annoying as it is so fast that you don't notice it and it does not remain on top of the forum window so you have to find it in the bottom nav bar of the browser.

Also does this need to learn all words? I just did a test and it did not give any options for any words really and so I had to click on learn for every second word. I did the normal install as this is the first time I have installed this hack. This meant I just ftp'd the dictionay file to the root and nothing more than that. I did not use anything in the dictionary-alt zip file. Was I supposed to use both?

Thanks for any assistance on this one

regards Richard

R1lover 10-11-2006 10:38 PM

Help Please.............

Eq4bits 10-14-2006 10:52 PM

Finally got this re-installed after upgrading forum.
I have the pop-under window problem as well as when the pop-up loads it says every other word in the post is incorrectly spell and no alternatives are offered at all.
Anyone?

Eq4bits 10-14-2006 11:34 PM

Well I've compared the vbspell.js file in this version to the previous one for 3.5.3 I think it was and they are identical line by line. So does that mean that's not the problem or that it IS the problem?

Also, just for giggles and snorts i opened the vbspell template as if i was going to edit it, clicked the 'preview' button and low and behold look at the 'message' in it.... is this a 'fluke' or normal? (see attached screenshot)

davidw 10-14-2006 11:44 PM

Just curious - for those having the pop-under problem - what version of vb are you running?

Edited for spelling :P

Eq4bits 10-14-2006 11:46 PM

3.6.2 here
but it doesn't really matter if it 'pops-under' since it doesn't offer corrections/suggestion, and recognizes correctly spelled words as incorrectly spelled/needed to be learned... In fact every word in this post would come up as needing correcting.

davidw 10-14-2006 11:54 PM

I'm wondering as I've had this working well (It's working on 3.6.1) - but I've seen where a couple people have 3.6.2 and have issues with it and if more people with 3.6.2 have issues with it then there may be an incompatibility with 3.6.2 and this hack. Possibly on more than one level.

Eq4bits 10-15-2006 12:06 AM

one thought does occur to me. My host recently made some changes to the MySQL and there is now another 'column' in all my table sturctures called 'collation'. So my question is what should the collation be for the vbspell table (latin 1?) and also since I'm having to import the sql files splitting the actual dictionary up, when I import them which character set should I use, myPHPadmin gives me a drop-down of several to choose from... should it be the utf8 or another?

r5e 10-15-2006 05:06 AM

I got the pop-up problems when I changed from 3.5.x to 3.6.x, or when I changed from the last version (0.9.12) to this latest version (0.10.2b). As such, it is hard to say whether it was the latest vbspell that caused it, or the latest vbulletin that caused it. I can say that I get the same problems on 3.6.1 and on 3.6.2 as I had these problems before 3.6.2 came out.
Now as for whether this is caused by the javascript...? I have also compared the files of vbspell.js, vbspell.php and vbspell_iframe.php between the old and the current versions. Mostly the only changes are very minor, such as changing the name ?vBSpell? to ?vB Spell?. However, there are a few key changes which might be interesting.

10.2b:
Code:

function openSpellWin(wx, hx) {

        window.open("", "spellWindow", 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width='+wx+',height='+hx);
        window.focus;

}

9.12:
Code:

function openSpellWin(width, height) {

        window.open("", "spellWindow", 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width='+width+',height='+height+'\'');
}

Looks like some minor changes with height and width changing to wx and hx. Does this make a difference?

Well, I decided to test the theory by simply renaming the 3 (current veriosn) files on my server and then simply copying the 3 files of the old version (vbspell.js, vbspell.php and vbspell_iframe.php) in their place. What happened? Absolutely nothing! No difference. I still get the pop-up happening behind the edit window, not in front. It seems to me that the idea of looking at the javascript may be a dead end.

I really have no idea, but I?d have to theorise that something has changed in 3.6.x to make this happen. I?d guess this could be something along the lines of code compliance and how browsers interpret this. For example, maybe the doc type has changed (it is currently ?XHTML 1.0 Transitional?)? actually, bad example, I just checked and 3.0.x is also XHTML 1.0 Transitional.

So, I have not brought any new useful information to this thread, but I can tell you this:

1. I have written to the author asking for them to have a quick check in here as although they are regularly in the forum, they have not been here for a while. It?s not fair to nag or judge the author of free software for a lack of support, but I wanted to know if they had finished with it and would be happy with someone else to pick up and run with it. Unfortunately, they have neither replied, nor posted in here.
2. It would seem on the surface that the javascript is not at fault, as the old version which used to work does not work in here.
3. I have not yet looked into the product.xml. I think that this is where it will have to be. (If no one else can solve this before I do)

aquariumpros 10-15-2006 07:38 AM

Quote:

Originally Posted by christianb
Just curious - for those having the pop-under problem - what version of vb are you running?

Edited for spelling

3.6.2

Quote:

Originally Posted by Eq4bits
3.6.2 here
but it doesn't really matter if it 'pops-under' since it doesn't offer corrections/suggestion, and recognizes correctly spelled words as incorrectly spelled/needed to be learned... In fact every word in this post would come up as needing correcting.

This is not the case if you import the ALT.zip into the database. Other then the pop-up behind - this is working perfectly on my board.

Quote:

Originally Posted by r5e
I got the pop-up problems when I changed from 3.5.x to 3.6.x, or when I changed from the last version (0.9.12) to this latest version (0.10.2b). As such, it is hard to say whether it was the latest vbspell that caused it, or the latest vbulletin that caused it. I can say that I get the same problems on 3.6.1 and on 3.6.2 as I had these problems before 3.6.2 came out.
Now as for whether this is caused by the javascript...? I have also compared the files of vbspell.js, vbspell.php and vbspell_iframe.php between the old and the current versions. Mostly the only changes are very minor, such as changing the name “vBSpell” to “vB Spell”. However, there are a few key changes which might be interesting.

10.2b:
Code:

function openSpellWin(wx, hx) {

        window.open("", "spellWindow", 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width='+wx+',height='+hx);
        window.focus;

}

9.12:
Code:

function openSpellWin(width, height) {

        window.open("", "spellWindow", 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width='+width+',height='+height+'\'');
}

Looks like some minor changes with height and width changing to wx and hx. Does this make a difference?

Well, I decided to test the theory by simply renaming the 3 (current veriosn) files on my server and then simply copying the 3 files of the old version (vbspell.js, vbspell.php and vbspell_iframe.php) in their place. What happened? Absolutely nothing! No difference. I still get the pop-up happening behind the edit window, not in front. It seems to me that the idea of looking at the javascript may be a dead end.

I really have no idea, but I’d have to theorise that something has changed in 3.6.x to make this happen. I’d guess this could be something along the lines of code compliance and how browsers interpret this. For example, maybe the doc type has changed (it is currently “XHTML 1.0 Transitional”)… actually, bad example, I just checked and 3.0.x is also XHTML 1.0 Transitional.

So, I have not brought any new useful information to this thread, but I can tell you this:

1. I have written to the author asking for them to have a quick check in here as although they are regularly in the forum, they have not been here for a while. It’s not fair to nag or judge the author of free software for a lack of support, but I wanted to know if they had finished with it and would be happy with someone else to pick up and run with it. Unfortunately, they have neither replied, nor posted in here.
2. It would seem on the surface that the javascript is not at fault, as the old version which used to work does not work in here.
3. I have not yet looked into the product.xml. I think that this is where it will have to be. (If no one else can solve this before I do)

Many thanks for your attempts to fix this.

Much appreciated!!

LisaD1 10-15-2006 03:13 PM

Quote:

Originally Posted by christianb
Just curious - for those having the pop-under problem - what version of vb are you running?

Edited for spelling :P

3.6.2 Here. I hope that someone can work this out, I really need it, because my spelling SUCKS!
Lisa

Eq4bits 10-16-2006 01:21 AM

okay, i had imported the alt sql files as latin1 instead of utf8, dropped all the entries in the table and reimported as utf8. So now spell checker is working.
Still has the annoying flicker on top then popping open UNDER main window. It seams that maybe this would be in the 'java' event coding for the button itself maybe? I did notice that someone said it works fine in Opera... and also took note that when I edited the quick_edit template the instructions only stated to removed the <if> conditional for IE and not also the one for Opera that is right above it. Is it possible that if the Opera <if> conditional is taken out of the appropriate templates that that would resolve the pop-under problem? Grasping at straws since I haven't been able to think of anything else... I mean LINKS in a post if clicked on are opened in a new window and they don't open *under*...... so what is the difference for vbspell?

baze22 10-20-2006 03:29 PM

Quote:

Originally Posted by LisaD1
3.6.2 Here. I hope that someone can work this out, I really need it, because my spelling SUCKS!
Lisa

I've played around a bit, but I'm no js expert. I've narrowed to having something to do with a function in the vbulletin_global.js file:

function set_unselectable(obj)

I'm not sure exactly what it does, but when I comment it out or rename it, the pop up window comes to the top. I looked at the file that came with 3.5.4 and the code is identical. So I'm assuming the change is in a function that calls this one. I tried to narrow it down further and did a search of the vb files to find where this is called and found 3 instances in vbulletin_textedit.js, but commenting one or more of those still had pop up window popping under. So I don't if there are some other templates where this is called or what the detrimental effects of having this commented out would have, but that's all I've found so far.

If anybody else has other suggestions...


baze

perfphysio 10-20-2006 03:37 PM

Quote:

Also does this need to learn all words? I just did a test and it did not give any options for any words really and so I had to click on learn for every second word. I did the normal install as this is the first time I have installed this hack. This meant I just ftp'd the dictionay file to the root and nothing more than that. I did not use anything in the dictionary-alt zip file. Was I supposed to use both?
I am posting this again as I have not had any response. I have installed all as per the instructions. However there does not appear to be any directionary being used as a default? Have I missed something somewhere? The spell check comes up but asks for confirmation on about every third word and there are never any suggestions? www.physiobob.com/forum

Eq4bits 10-20-2006 04:03 PM

you need to check your vbspell table in you database, to be sure the actual words were imported into it.
I kept getting the 98%/vb error message so had to insert via sql the 10 separate sql files (these include the sql command and the words/entries for the dictionary/vbtable) into the vbtable. those 10 sql files are in the dictionary-alt file

baze22 10-20-2006 04:28 PM

Quote:

Originally Posted by baze22
I've played around a bit, but I'm no js expert. I've narrowed to having something to do with a function in the vbulletin_global.js file:

function set_unselectable(obj)

I'm not sure exactly what it does, but when I comment it out or rename it, the pop up window comes to the top. I looked at the file that came with 3.5.4 and the code is identical. So I'm assuming the change is in a function that calls this one. I tried to narrow it down further and did a search of the vb files to find where this is called and found 3 instances in vbulletin_textedit.js, but commenting one or more of those still had pop up window popping under. So I don't if there are some other templates where this is called or what the detrimental effects of having this commented out would have, but that's all I've found so far.

If anybody else has other suggestions...


baze

I did stumble across one slightly detrimental affect.... users couldn't submit posts or PM's. :D PM's give the message that there is no recipient or title, posts get the error message that the message is too short. So for now, spell check will have to stay as a pop under. When I get a chance I'll try to dig into it more, in the mean time maybe somebody else can figure this out.

baze

baze22 10-20-2006 04:35 PM

Quote:

Originally Posted by baze22
I did stumble across one slightly detrimental affect.... users couldn't submit posts or PM's. :D PM's give the message that there is no recipient or title, posts get the error message that the message is too short.

Additional info. exact error in the PM is to complete obth the subject and the message. Bottom line is that in both cases the message text goes away when submitted without this function.

baze

perfphysio 10-22-2006 03:38 PM

Quote:

Originally Posted by Eq4bits
you need to check your vbspell table in you database, to be sure the actual words were imported into it.
I kept getting the 98%/vb error message so had to insert via sql the 10 separate sql files (these include the sql command and the words/entries for the dictionary/vbtable) into the vbtable. those 10 sql files are in the dictionary-alt file

I have found the vbspell table but there is nothing in it. I am not a code so can you suggest how you go about getting the words into it?

aquariumpros 10-22-2006 03:50 PM

Quote:

Originally Posted by perfphysio
I have found the vbspell table but there is nothing in it. I am not a code so can you suggest how you go about getting the words into it?

Import ALL 10 of the SQL files from within the "dictionary alt.zip" in the downloads above. Unzip them to your local drive first - then use phpMyAdmin (under the Import tab) to import each one.

HTH,
*~AJ~*

perfphysio 10-22-2006 04:21 PM

many thanks. I think i've done it. I think the perosn who posted this hack should amke this more clear in the directions. It looks like you have two choices, 1. upload the dictionary.doc file or import the sql files. It seems you need to do both or at least the sql ones are as important :)

aquariumpros 10-22-2006 04:46 PM

Quote:

Originally Posted by perfphysio
many thanks. I think i've done it. I think the perosn who posted this hack should amke this more clear in the directions. It looks like you have two choices, 1. upload the dictionary.doc file or import the sql files. It seems you need to do both or at least the sql ones are as important :)

In my previous installations - I didn't have to do the SQL imports - just the standard way worked...however - when I upgraded to 3.6.2 - the SQL imports were the only way I found it worked (for me).

Glad you got it working - and thanks again to cynix2 for a great hack!

R1lover 10-23-2006 02:14 AM

we still need the pop up window fixed......

anyone want to tackle that one?

thank you in advance

theArchitect 10-23-2006 12:44 PM

I uninstalled the 3.5 version of this hack, but I can't install this new 3.6 version as I am getting the following error:

Code:

Database error in vBulletin 3.6.2:

Invalid SQL:

                INSERT INTO setting
                    (varname, grouptitle, value, defaultvalue, datatype, optioncode, displayorder, advanced, volatile, validationcode, blacklist, product)
                VALUES
                    (
                    'vbspell_allow_all',
                    'vbspell',
                    '0',
                    '1',
                    'free',
                    'yesno',
                    2,
                    0,
                    1,
                    '',
                    0,
                    'spellvb'
    ),
    (
                    'vbspell_use_groups',
                    'vbspell',
                    '5,6,7,22,23,24,25',
                    '5,6',
                    'free',
                    '',
                    3,
                    0,
                    1,
                    '',
                    0,
                    'spellvb'
    ),
    (
                    'vbspell_levenshtein_distance',
                    'vbspell',
                    '3',
                    '3',
                    'free',
                    '',
                    4,
                    0,
                    1,
                    '',
                    0,
                    'spellvb'
    );

MySQL Error  : Duplicate entry 'vbspell_allow_all' for key 1
Error Number : 1062

Any help would be appreciated.

deegan 10-24-2006 12:21 PM

Is there a way to turn the symbol https://vborg.vbsupport.ru/external/2006/10/4.gif in the top right corner of the editing box into a button next to the "Preview Post" button?

R1lover 10-24-2006 01:33 PM

Quote:

Originally Posted by deegan
Is there a way to turn the symbol https://vborg.vbsupport.ru/external/2006/10/4.gif in the top right corner of the editing box into a button next to the "Preview Post" button?


You would have to edit the templates, but yes it can be done. You would have to edit both the quick reply and message editor templates.

deegan 10-24-2006 10:42 PM

Quote:

Originally Posted by R1lover
You would have to edit the templates, but yes it can be done. You would have to edit both the quick reply and message editor templates.

Could I get specifics?...:classic:

4number8 10-24-2006 11:20 PM

For anyone that would like the spell check button added, edit your newreply, and newthread templetes:

newreply
find:
Code:

<input type="submit" class="button" name="sbutton" id="{$editorid}_save" value="$vbphrase[submit_reply]" accesskey="s" tabindex="1" />
                <input type="submit" class="button" name="preview" value="$vbphrase[preview_post]" accesskey="r" tabindex="1" />

under it add this:
Code:

<input type="button" class="button" value="Spell Check" onClick="spellCheck('vbform', '$editorid', '2');" />
newthread
find:

Code:

<input type="submit" class="button" name="sbutton" id="{$editorid}_save" value="$vbphrase[submit_new_thread]" accesskey="s" tabindex="1" />
                <input type="submit" class="button" name="preview" value="$vbphrase[preview_post]" accesskey="r" tabindex="1" />

under this add:
Code:

<input type="button" class="button" value="Spell Check" onClick="spellCheck('vbform', '$editorid', '2');" />
Best of all, no more hidding windows, it pops up as it should :D

pokerie 10-25-2006 12:10 AM

Are you saying that putting them edits in the templates gets rid of the above problem of the hiding window or the link at the bottom of your post does?

R1lover 10-25-2006 01:30 AM

Quote:

Originally Posted by 4number8

Best of all, no more hidding windows, it pops up as it should :D



https://vborg.vbsupport.ru/showthrea...hlight=vbspell


Could you explain this as I and many others are still getting the pop up issue... This link takes you back to this thread?

Thank you


All times are GMT. The time now is 05:50 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.01543 seconds
  • Memory Usage 1,902KB
  • 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
  • (9)bbcode_code_printable
  • (19)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
  • (40)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