Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

Version: , by (Guest)
Developer Last Online: Jan 1970 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 10-09-2000 Last Update: Never Installs: 0
 
No support by the author.

Not trying to be a plug pr spam but just integrated spellchecker.net capability on our vbulleting boards and it works like a charm, no more pesky js errors...wohoo....

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 10-10-2000, 04:45 AM
Guest
 
Posts: n/a
Default

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
Reply With Quote
  #13  
Old 10-10-2000, 02:07 PM
Guest
 
Posts: n/a
Default

Quote:
Originally posted by rjav8r
Not trying to be a plug pr spam but just integrated spellchecker.net capability on our vbulleting boards and it works like a charm, no more pesky js errors...wohoo....
THANKS!, is GOOD.
Reply With Quote
  #14  
Old 10-10-2000, 02:10 PM
Guest
 
Posts: n/a
Default

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
Reply With Quote
  #15  
Old 10-10-2000, 03:36 PM
Guest
 
Posts: n/a
Default

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???
Reply With Quote
  #16  
Old 10-10-2000, 03:49 PM
Guest
 
Posts: n/a
Default

When you pasted the sproxy.php some characters got ate up so I'd advise getting the source direct from http://www.spellchecker.net
Reply With Quote
  #17  
Old 10-10-2000, 06:08 PM
Guest
 
Posts: n/a
Default

You can get the sproxy.php file here

Parker

[Edited by Parker Clack on 10-10-2000 at 03:19 PM]
Reply With Quote
  #18  
Old 10-10-2000, 06:32 PM
Guest
 
Posts: n/a
Default

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....???
Reply With Quote
  #19  
Old 10-10-2000, 08:29 PM
Guest
 
Posts: n/a
Default

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.
Reply With Quote
  #20  
Old 10-11-2000, 12:24 AM
Guest
 
Posts: n/a
Default

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
Reply With Quote
  #21  
Old 10-11-2000, 03:48 AM
Guest
 
Posts: n/a
Default

thanks
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:10 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.05159 seconds
  • Memory Usage 2,280KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete