|
Joined: Jan 2000
Posts: 5,834 Likes: 20
UBBDev Owner Time Lord
|
UBBDev Owner Time Lord
Joined: Jan 2000
Posts: 5,834 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.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
public_topic_page.pl Find: [/code]add below:</pre></div></div>find:<div class="ubbcode-block"><div class="ubbcode-header">Code</div><div class="ubbcode-body ubbcode-pre" ><pre> replace with:[code]
|
|
|
|
Joined: Jun 2002
Posts: 66
Member
|
Member
Joined: Jun 2002
Posts: 66 |
LK do the Mod Wordlets Devkit and the Modification CP Addon still work with 6.4?
|
|
|
|
Joined: Jul 2002
Posts: 51
Member
|
Member
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!!!
|
|
|
|
Joined: Jul 2002
Posts: 51
Member
|
Member
Joined: Jul 2002
Posts: 51 |
|
|
|
|
Joined: Jun 2000
Posts: 44
Member
|
Member
Joined: Jun 2000
Posts: 44 |
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.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Ask your host to install LWP, URI and HTTP modules... 
|
|
|
|
Joined: Jun 2000
Posts: 44
Member
|
Member
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.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
It's because your host didn't install it well enough, I guess 
|
|
|
|
Joined: Nov 2001
Posts: 28
Junior Member
|
Junior Member
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:
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]
|
|
|
|
Joined: Dec 2000
Posts: 78
Member
|
Member
Joined: Dec 2000
Posts: 78 |
Where can one get these files? Mod Wordlets Devkit and Modification CP Addon
Thanks, Ed
|
|
|
|
Joined: Aug 2000
Posts: 178
Member
|
Member
Joined: Aug 2000
Posts: 178 |
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. 
|
|
|
|
Joined: Dec 2000
Posts: 78
Member
|
Member
Joined: Dec 2000
Posts: 78 |
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.
Thanks - those links were not live this afternoon
|
|
|
|
Joined: Jan 2000
Posts: 5,834 Likes: 20
UBBDev Owner Time Lord
|
UBBDev Owner Time Lord
Joined: Jan 2000
Posts: 5,834 Likes: 20 |
Ed, a secret, their not always up either :x...
|
|
|
|
Joined: Dec 2000
Posts: 78
Member
|
Member
Joined: Dec 2000
Posts: 78 |
quote: Originally posted by LK: Ask your host to install LWP, URI and HTTP modules... 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
|
|
|
|
Joined: May 2001
Posts: 794
Content Queen
|
Content Queen
Joined: May 2001
Posts: 794 |
quote: Originally posted by LK: Ask your host to install LWP, URI and HTTP modules... 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
|
|
|
|
Joined: Dec 2000
Posts: 78
Member
|
Member
Joined: Dec 2000
Posts: 78 |
Does anyone have this working on UBB 6.5 ?
|
|
|
|
Joined: Jan 2000
Posts: 5,834 Likes: 20
UBBDev Owner Time Lord
|
UBBDev Owner Time Lord
Joined: Jan 2000
Posts: 5,834 Likes: 20 |
|
|
|
|
Joined: Aug 2000
Posts: 178
Member
|
Member
Joined: Aug 2000
Posts: 178 |
I do, and I don't write hacks, I break um 
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
ADWOFF, the older versions didn't require those modules...
Ed, it's HTTP and HTTP::many others.
|
|
|
|
Joined: Dec 2000
Posts: 78
Member
|
Member
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
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Ed, would you mind telling us what did you tweak? 
|
|
|
|
Joined: Dec 2000
Posts: 78
Member
|
Member
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
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
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...
|
|
|
|
Joined: Dec 2000
Posts: 78
Member
|
Member
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
|
|
|
|
Joined: May 2001
Posts: 283
Member
|
Member
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...
|
|
|
|
Joined: May 2001
Posts: 283
Member
|
Member
Joined: May 2001
Posts: 283 |
Can anyone help with this?
|
|
|
|
Joined: May 2001
Posts: 283
Member
|
Member
Joined: May 2001
Posts: 283 |
I don't mean to be a pest, but I'm still looking for some help on this...
|
|
|
|
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. 
|
|
|
|
Joined: Dec 2000
Posts: 78
Member
|
Member
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. Ed 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
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Yeah, it's probably modules...
|
|
|
|
Joined: Mar 2001
Posts: 17
Junior Member
|
Junior Member
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?
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
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 (  ) 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.
|
|
|
|
Joined: Mar 2001
Posts: 17
Junior Member
|
Junior Member
Joined: Mar 2001
Posts: 17 |
Thanks. Hopefully, they'll follow your advice.
|
|
|
|
Joined: May 2001
Posts: 283
Member
|
Member
Joined: May 2001
Posts: 283 |
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. Ed
Thanks Ed. That did the trick.
|
|
|
|
Joined: Mar 2001
Posts: 17
Junior Member
|
Junior Member
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.
|
|
|
|
Joined: May 2001
Posts: 283
Member
|
Member
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.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
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).
|
|
|
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.
|
|
Posts: 69
Joined: January 2001
|
|
Forums63
Topics37,575
Posts293,931
Members13,824
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|