Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
#198062 05/29/2003 12:21 PM
Joined: May 2001
Posts: 283
Member
Member
Offline
Joined: May 2001
Posts: 283
In which file? ubb_spell.cgi?

Sponsored Links
#198063 05/29/2003 4:21 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
Did any of you use the multihack file? I was getting an error with it. What it was supposed to do was add the spellcheck button after the preview post button, but what it placed the spellcheck_button in the middle of the declaration of the the previewpost button

Code
[/code]^not good, if you have that, remove the $spellcheck_button and add it after

[code]
that might fix it for one of you

#198064 06/01/2003 8:27 PM
Joined: May 2003
Posts: 40
jlm Offline
Member
Member
Offline
Joined: May 2003
Posts: 40
This works great and installed perfect the first time. A couple questions:

1. Can we have the pop up window close after clicking add text to ubbform?

2. How can I put this in the edit post page?

Thanks!

#198065 06/02/2003 6:56 AM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
1. in ubb_spell, where it has a button, add window.close() in the onclick part (untested).

2. it should already be in edit post. if it isn't, what you did in new topic form, do exactly the same in public_edit_form

#198066 06/04/2003 3:20 PM
Joined: May 2001
Posts: 283
Member
Member
Offline
Joined: May 2001
Posts: 283
Quote
quote:
Originally posted by LK:
When you use it on quick reply you have to replace all ' (single-quote) with \' (two backslashes and a single-quote).
quote:
[qb]Originally posted by catcherman:
In which file? ubb_spell.cgi?[/qb]

Sponsored Links
#198067 06/05/2003 1:10 AM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
no, public_topic_page.pl

#198068 06/05/2003 12:43 PM
Joined: May 2001
Posts: 283
Member
Member
Offline
Joined: May 2001
Posts: 283
LK, that didn't work.

I don't think it's the modules because it works on all the other instances besides quick reply.

I added the \ before every ' in public_topic_page.pl.

#198069 06/05/2003 3:56 PM
Joined: Dec 2000
Posts: 78
Ed Offline
Member
Member
Offline
Joined: Dec 2000
Posts: 78
Hi Catcherman,
I do not have "Quick Reply" installed but I have been reading this conversation you are having with LK and I am wondering if you need to do the backslash thing in all the hacked files.
That is:
In files - Open public_new_topic_form.pl, public_new_reply_form.pl,
public_pm_form.pl and
public_edit_post.pl

Ed

#198070 06/05/2003 4:15 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
Code
[/code]use that, it works  :) 

then add $spellcheck_button right after the $preview_button in public_topic_page.pl

Also, make sure you added the code right after
[code]
That worked for me fine

#198071 06/15/2003 1:44 AM
Joined: Jun 2003
Posts: 9
Junior Member
Junior Member
Offline
Joined: Jun 2003
Posts: 9
Hmm, nevermind my original post (contained below) I was tired... hadn't chmod'd the dang file. sleep

But, now I get the 'blank page' problem, after I hit the spellcheck button.

Nevermind this:
I'm getting this error in my Apache log:
Quote
quote:

Premature end of script headers: /home/virtual/site33/fst/var/www/cgi-bin/ubb_spell.cgi
Running UBB.classic 6.5.0

Any help would be greatly appreciated!

Thanks,

Zammit

Sponsored Links
#198072 01/05/2004 9:44 AM
Joined: May 2000
Posts: 1,168
Member
Member
Offline
Joined: May 2000
Posts: 1,168
Does anyone know if this works or will work for 6.6.1?

- MT

#198073 01/05/2004 6:16 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
it SHOULD work, all but the Modification CP Addon that we're all anticipating a 6.7 release on...


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
#198074 02/10/2004 12:00 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
smile Should be simple to remove the cp integration?


- Allen wavey
- What Drives You?
#198075 02/10/2004 12:32 PM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Very... Just where you see $vars_modification{spellcheck_height} replace it with 625 or something, and with "width" replace it with 500 or something.

#198076 02/10/2004 12:49 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
thank you LK smile


- Allen wavey
- What Drives You?
#198077 02/10/2004 2:08 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
Why not just use $vars_display{'PopupHeight'} and $vars_display{'PopupWidth'} which are defined in ubb_lib.cgi?


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
#198078 02/10/2004 3:32 PM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Because they're too small for this popup...

#198079 02/10/2004 4:50 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
Lol the width is smaller by 50 and the height doesn't really matter, they can scroll...


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
#198080 02/10/2004 5:04 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
there is one thing left and that would be:

$vars_modifications{spellcheck_enable} ne "no"

would be ok to just delete that? It's for the button smile


- Allen wavey
- What Drives You?
Page 2 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
isaac
isaac
California
Posts: 1,157
Joined: July 2001
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
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)