The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#12
|
|||
|
|||
You will need to go to the spellchecker.net page and sign up to get an account for your site. Then you will download a javascript file that contains your site's information.
You will need to create a file called sproxy.php and put the following in it. <? header("Content-type: text/html; charset=UTF-8"); $SPROXY_VER = "SPROXY.CGI(PHP) v.1.13 (c) SpellChecker.Net 2000"; $script_filename = getenv("SCRIPT_FILENAME"); $text = ereg_replace("&", "&", $text); $text = ereg_replace("\"", """, $text); $text = ereg_replace("\r", " ", $text); $text = ereg_replace("\n", " ", $text); $text = ereg_replace("\t", " ", $text); if (get_magic_quotes_gpc() == 1) { $text = stripslashes($text); $txt_ctrl = stripslashes($txt_ctrl); } $template = "<html> <head> <script language='JavaScript'> var s = '$SPROXY_VER<br><br><b>SCRIPT_FILENAME:</b> $script_filename'; var frmslen = parent.frames.length; function doload() { if (!parent.opener) return; if (!parent.opener.document) { parent.close(); return; } if (frmslen != 0) { var f_src = document.forms[0]; var ctrl = eval( 'parent.opener.' + f_src.txt_ctrl.value); if (ctrl.value) ctrl.value = f_src.msg_body.value; else if (ctrl.innerHTML) ctrl.innerHTML = f_src.msg_body.value; document.forms[1].submit(); parent.close(); } } </script> </head> <body bgcolor=white onload=\"doload();\"> <script language='JavaScript'>if (frmslen == 0) document.write(s);</script> <center> <form> <input type=hidden name=msg_body value=\"$text\"> <input type=hidden name=txt_ctrl value=\"$txt_ctrl\"> </form> <form method=post action=\"$word\"> <input type=hidden name=cmd value=\"eos\"> <input type=hidden name=customerid value=\"$customerid\"> <input type=hidden name=sessionid value=\"$sessionid\"> </form> </center> </body> </html>"; echo $template; ?> After this put both the spch.js (that you just downloaded from spellchecker.net) and this sproxy.php file in your vbulletin directory. In your newreply template put in the <head></head> tags <script type="text/javascript" language="javascript" src=http://www.yourplace.com/spch.js></script> and then look for: <INPUT TYPE="RESET" NAME="RESET" VALUE="Clear Fields"> and just above this put <INPUT TYPE= "BUTTON" VALUE= "Spell Check" onclick= "var f=document.forms[0]; doSpell ('en', f.message, document.location.protocol + '//' + document.location.host + '/yourforum/sproxy.php', true);"> repeat the above in your newthread and editpost templates. replace the urls with the location of your sproxy.php and spch.js files. Once you have used this great application you will wonder who you ever got along with out it. Parker |
#13
|
|||
|
|||
Quote:
|
#14
|
|||
|
|||
Thanks parker...I didn't know how to implement the php one....it's definitely cleaner and less files to deal with....even notice a slight speed increase...way to go
|
#15
|
|||
|
|||
they just won't be able to spellcheck...from my experience so far with AOL users...for some reason it doesn't work with their browsers..any help Parker???
|
#16
|
|||
|
|||
When you pasted the sproxy.php some characters got ate up so I'd advise getting the source direct from http://www.spellchecker.net
|
#18
|
|||
|
|||
Parker,
know of any way to fix the script errors for aol browsers, some users of aol said it won't work on their modified IE browsers....??? |
#19
|
|||
|
|||
I tryed the PHP version and i am still getting the same 404 error when i hit Finish checking.
it is also not modifiing anything in the message window. thanks in advance. |
#20
|
|||
|
|||
rjav8r:
I don't know of any fix. I do know that you can write the guys at spellchecker and they will get back with you on this though. They might have an update on the .js that you can use. Zothip: I had the same trouble and I wrote them about it. They sent me a new .js file to use that fixed the problem. I would write tech support at Tech@SpellChecker.net with both of your problems and they should be able to help you out. They sure did help me out a lot. In both of your problems I would tell them that you are using this with vBulletin and the php version of sproxy. Parker |
#21
|
|||
|
|||
thanks
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|