Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
#198022 12/25/2002 3:13 PM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Name: Spell Check 1.6

Original Authors: Bandit_1234, Anime-loo. Oh, and me. wink

Description: Lets you check for spelling mistakes in your post.

Link: ZIP File or MultiHack File

Demo: http://www.lkworld.com

Requirements: UBBâ„¢ 6.4.0 , Mod Wordlets Devkit , Modification CP Addon

Number of Downloads: [img]https://ubbdev.com/lk/num.php?s=spell64.zip,spell64.mhp[/img]

Sponsored Links
#198023 12/26/2002 6:42 PM
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
LK, just a sugguestion, fix the links in the file on your site, it points to:

http://www.multihack.com/lk/download.cgi?f=mods.zip

and

http://www.multihack.com/lk/download.cgi?f=modaddon64.zip

Both of which didn't work at 3:30p PST.


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
#198024 12/27/2002 3:47 PM
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Hey LK, any clue what the code is to add spellcheck to the Quick Reply bar? I looked at previous posts on both hacks but they don't say which file to modify and I'm not sure if the code still works through 6.4 :x.


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
#198025 12/28/2002 2:54 AM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
public_topic_page.pl
Find:
Code
[/code]add below:
Code
</pre></div></div>find:<div class="ubbcode-block"><div class="ubbcode-header">Code</div><div class="ubbcode-body ubbcode-pre" ><pre>
replace with:[code]

#198026 12/28/2002 7:22 AM
Joined: Jun 2002
Posts: 66
wOw Offline
Member
Member
Offline
Joined: Jun 2002
Posts: 66
LK do the Mod Wordlets Devkit and the Modification CP Addon still work with 6.4?

Sponsored Links
#198027 12/31/2002 8:44 AM
Joined: Jul 2002
Posts: 51
Member
Member
Offline
Joined: Jul 2002
Posts: 51
Everything loaded fine but when I click the Spell Check button, a window opens but it is blank. No error just a blank window. I have the ubb_spell chmod at 755. Double checked the hacked code and it looks right...

Any thoughts or similiar problems?

Thanks and Happy New Year!!!

#198028 12/31/2002 8:45 AM
Joined: Jul 2002
Posts: 51
Member
Member
Offline
Joined: Jul 2002
Posts: 51
***edit***

#198029 12/31/2002 2:58 PM
Joined: Jun 2000
Posts: 44
Member
Member
Offline
Joined: Jun 2000
Posts: 44
Quote
quote:
Originally posted by WL7:
Everything loaded fine but when I click the Spell Check button, a window opens but it is blank. No error just a blank window. I have the ubb_spell chmod at 755. Double checked the hacked code and it looks right...

Any thoughts or similiar problems?
I get the same thing with this error message:
Can't locate LWP/UserAgent.pm in @INC (@INC contains: ./Modules . /usr/local/etc
/httpd/cgi-bin/ubb /usr/local/etc/httpd/cgi-bin/ubb/Modules /usr/local/lib/perl5
/5.00503/i386-freebsd /usr/local/lib/perl5/5.00503 /usr/local/lib/site_perl /usr
/local/lib/site_perl .) at /usr/local/etc/httpd/cgi-bin/ubb/ubb_spell.cgi line 4
3.

#198030 12/31/2002 3:07 PM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Ask your host to install LWP, URI and HTTP modules... shocked

#198031 12/31/2002 3:59 PM
Joined: Jun 2000
Posts: 44
Member
Member
Offline
Joined: Jun 2000
Posts: 44
LK, thanks. Now I get this error:
Can't locate object method "post" via package "LWP::UserAgent" at /usr/local/etc
/httpd/cgi-bin/ubb/ubb_spell.cgi line 45.

Sponsored Links
#198032 01/17/2003 6:32 AM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
It's because your host didn't install it well enough, I guess tipsy

#198033 01/30/2003 8:53 AM
Joined: Nov 2001
Posts: 28
Junior Member
Junior Member
Offline
Joined: Nov 2001
Posts: 28
***Nevermind, I went back and multihacked all of these mods and they appear to be working correctly now. I guess I missed something when doing them manually.***

I started getting this error after implementing the Spell Check/CP Addon and the ModWordlets.

It works fine until I make a post, but after that and I try to get into any forum I get the error.

Anyone have any idea where this may come from?
Quote
quote:

Illegal division by zero at CGIPath/ubb_forum.cgi line 483
The code at that line is
quote:
[qb]
my $page_total = int($total_posts / $vars_display{HTMLDisplayMax});
[/qb]

#198034 03/07/2003 1:10 PM
Joined: Dec 2000
Posts: 78
Ed Offline
Member
Member
Offline
Joined: Dec 2000
Posts: 78
Where can one get these files?
Mod Wordlets Devkit and Modification CP Addon

Thanks,
Ed

#198035 03/07/2003 8:44 PM
Joined: Aug 2000
Posts: 178
Member
Member
Offline
Joined: Aug 2000
Posts: 178
Quote
quote:
Originally posted by Ed:
Where can one get these files?
Mod Wordlets Devkit and Modification CP Addon

Thanks,
Ed
They are linked in the first post - where it mentions the requirements. laugh

#198036 03/07/2003 10:34 PM
Joined: Dec 2000
Posts: 78
Ed Offline
Member
Member
Offline
Joined: Dec 2000
Posts: 78
Quote
quote:
Originally posted by Painfool:
quote:
[qb]Originally posted by Ed:
Where can one get these files?
Mod Wordlets Devkit and Modification CP Addon

Thanks,
Ed
[/qb]
They are linked in the first post - where it mentions the requirements. laugh

Thanks - those links were not live this afternoon

#198037 03/08/2003 9:56 AM
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Ed, a secret, their not always up either :x...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
#198038 03/08/2003 1:26 PM
Joined: Dec 2000
Posts: 78
Ed Offline
Member
Member
Offline
Joined: Dec 2000
Posts: 78
Quote
quote:
Originally posted by LK:
Ask your host to install LWP, URI and HTTP modules... shocked
Hi Guys,
I checked my server modules and these three are installed. Does the HTTP module have to be just "HTTP"?
In other words there are a number of HTTP so and so's but not just HTTP.

I get the blank page thing when spell checkin'

In fact all I get is "Powered by Infopop Corporation
UBB.classicTM 6.5.0" when I spell check on this site.

Thanks,
Ed

#198039 03/10/2003 2:18 AM
Joined: May 2001
Posts: 794
Content Queen
Content Queen
Offline
Joined: May 2001
Posts: 794
Quote
quote:
Originally posted by LK:
Ask your host to install LWP, URI and HTTP modules... shocked
I have a stooooopid question to ask: are these modules needed for the spell check to work with the 6.4/6.5 boards, or is this something that's always been true?

I ask because I have the spell check on my current board (6.3.0), and I tried to install the hack into my test site's 6.5.0 board, and I came up with the blank page.


Sue
adwoff.com
#198040 03/10/2003 1:19 PM
Joined: Dec 2000
Posts: 78
Ed Offline
Member
Member
Offline
Joined: Dec 2000
Posts: 78
Does anyone have this working on UBB 6.5 ?

#198041 03/10/2003 1:44 PM
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
#198042 03/10/2003 2:37 PM
Joined: Aug 2000
Posts: 178
Member
Member
Offline
Joined: Aug 2000
Posts: 178
I do, and I don't write hacks, I break um smile

#198043 03/10/2003 5:26 PM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
ADWOFF, the older versions didn't require those modules...

Ed, it's HTTP and HTTP::many others.

#198044 03/11/2003 9:04 AM
Joined: Dec 2000
Posts: 78
Ed Offline
Member
Member
Offline
Joined: Dec 2000
Posts: 78
I got it working - but not without tweaking the code.

Here are the HTTP Modules on my server:
HTTP::Cookies
HTTP::Daemon
HTTP::Date
HTTP::Headers
HTTP::Headers::Auth
HTTP::Headers::ETag
HTTP::Headers::Util
HTTP::Message
HTTP::Negotiate
HTTP::Request
HTTP::Request::Common
HTTP::Response
HTTP::Status

#198045 03/11/2003 11:53 AM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Ed, would you mind telling us what did you tweak? tipsy

#198046 03/11/2003 2:30 PM
Joined: Dec 2000
Posts: 78
Ed Offline
Member
Member
Offline
Joined: Dec 2000
Posts: 78
Hi LK,
I went back to your 6.3 code to see what was different. I looks like I couldn't get ubb_spell.cgi to call 'http://www.spellcheck.net/cgi-bin/spell.exe therefore the blank page.

In files - Open public_new_topic_form.pl, public_new_reply_form.pl, public_pm_form.pl and public_edit_post.pl

I replaced this:
"window.open('$vars_config{CGIURL}/ubb_spell.cgi?f=$in{f}', 'message', 'toolbar=yes,menubar=no,location=no,resizable=yes,scrollbars=yes,status=yes,width=$vars_modifications{spellcheck_width},height=$vars_modifications{spellcheck_height}');" />)
: ""
);

with this
"window.open('http://www.spellcheck.net/cgi-bin/spell.exe?action=checkpg&string='+escape(document.replier.message.value), 'message', 'toolbar=yes,menubar=no,location=no,resizable=yes,scrollbars=yes,status=no,width=$vars_modifications{spellcheck_width},height=$vars_modifications{spellcheck_height}');" class="buttons" />) : ""
);


Now it works - if you could tell me why it won't work as you have written it for 6.5 I will make the corrections.

Thanks,
Ed

#198047 03/11/2003 4:17 PM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Your version shows the plain spellcheck.net version, mine uses your colors, and in one click you can add the text to the UBB...

#198048 03/11/2003 4:42 PM
Joined: Dec 2000
Posts: 78
Ed Offline
Member
Member
Offline
Joined: Dec 2000
Posts: 78
Hi LK,
I realize that your version uses "my colors etc."
Can you tell me why I get the blank page when I call for a " Spell Check" using your version?

Ed

I guess not

#198049 04/19/2003 12:57 AM
Joined: May 2001
Posts: 283
Member
Member
Offline
Joined: May 2001
Posts: 283
I'm getting the same problem:

[code][/code]But I don't really get what you're talking about above...

#198050 04/22/2003 12:49 PM
Joined: May 2001
Posts: 283
Member
Member
Offline
Joined: May 2001
Posts: 283
Can anyone help with this?

#198051 04/25/2003 2:34 AM
Joined: May 2001
Posts: 283
Member
Member
Offline
Joined: May 2001
Posts: 283
I don't mean to be a pest, but I'm still looking for some help on this...

#198052 04/25/2003 2:12 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
LK is outta town for another week or so... you might check that you have the latest modules installed. smile


- Allen wavey
- What Drives You?
#198053 04/26/2003 9:11 AM
Joined: Dec 2000
Posts: 78
Ed Offline
Member
Member
Offline
Joined: Dec 2000
Posts: 78
Catcherman,
Below is what I did to get it to work on 6.50. I have not yet been able find out why it won't work using LKs code. In fact I still can not get it to work on this site. Maybe it is a browser issue.
thumbsup
Ed


Quote
quote:
Originally posted by Ed:
Hi LK,
I went back to your 6.3 code to see what was different. I looks like I couldn't get ubb_spell.cgi to call 'http://www.spellcheck.net/cgi-bin/spell.exe therefore the blank page.

In files - Open public_new_topic_form.pl, public_new_reply_form.pl, public_pm_form.pl and public_edit_post.pl

I replaced this:
"window.open('$vars_config{CGIURL}/ubb_spell.cgi?f=$in{f}', 'message', 'toolbar=yes,menubar=no,location=no,resizable=yes,scrollbars=yes,status=yes,width=$vars_modifications{spellcheck_width},height=$vars_modifications{spellcheck_height}');" />)
: ""
);

with this
"window.open('http://www.spellcheck.net/cgi-bin/spell.exe?action=checkpg&string='+escape(document.replier.message.value), 'message', 'toolbar=yes,menubar=no,location=no,resizable=yes,scrollbars=yes,status=no,width=$vars_modifications{spellcheck_width},height=$vars_modifications{spellcheck_height}');" class="buttons" />) : ""
);


Now it works - if you could tell me why it won't work as you have written it for 6.5 I will make the corrections.

Thanks,
Ed

#198054 04/27/2003 3:36 PM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Yeah, it's probably modules...

#198055 04/28/2003 2:32 PM
Joined: Mar 2001
Posts: 17
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 17
My ISP wants to know specifically which LWP, URI, and HTTP modules I need. They say that there are multiples of each and they only want to implement the ones necessary.

Can you help me out with a list?

#198056 04/28/2003 3:09 PM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
The only module it requires is LWP::UserAgent, but this module requires many others. I can't check now cause for some reason I can't find the modules in my apache2 folder ( confused ) but it's all the modules LWP::UserAgent requires, and the modules they require, and the modules they require. the easiest thing to do is upload all LWP, URI and HTTP modules.

#198057 04/28/2003 3:25 PM
Joined: Mar 2001
Posts: 17
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 17
Thanks. Hopefully, they'll follow your advice.

#198058 04/29/2003 1:40 PM
Joined: May 2001
Posts: 283
Member
Member
Offline
Joined: May 2001
Posts: 283
Quote
quote:
Originally posted by Ed:
Catcherman,
Below is what I did to get it to work on 6.50. I have not yet been able find out why it won't work using LKs code. In fact I still can not get it to work on this site. Maybe it is a browser issue.
thumbsup
Ed
Thanks Ed. That did the trick.

#198059 05/06/2003 2:51 PM
Joined: Mar 2001
Posts: 17
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 17
Supposedly, my ISP added all the LWP, URI, and HTTP modules, and I still get the blank window. Is there any way for me to test to see that they've actually done it correctly?

Also, I made the changes suggested by Ed. I can get it to work for a normal posting and reply, but it causes the Quick Reply box to disappear. I don't understand this because the original Spell Check hack from LK doesn't interfere with Quick Reply. It works fine except for the blank window.

Any suggestions?

Another thing I don't understand about Spell Check. In previous versions, after making corrections, you could press a button to have the corrected text put into the original form. This button doesn't appear, and I don't see how it's supposed to work.

#198060 05/14/2003 5:39 AM
Joined: May 2001
Posts: 283
Member
Member
Offline
Joined: May 2001
Posts: 283
Ed, did you have this same problem with the Spell Check on your Quick Reply?

It's late, I'm tired, so I might be missing something obvious, but the Spell Check works on the reply screen, but not on the quick reply.

With the Quick Reply I'm getting that same error as before.

#198061 05/14/2003 5:48 AM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
When you use it on quick reply you have to replace all ' (single-quote) with \' (two backslashes and a single-quote).

Page 1 of 2 1 2

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,833
Joined: January 2000
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)