|
Joined: May 2001
Posts: 283
Member
|
Member
Joined: May 2001
Posts: 283 |
In which file? ubb_spell.cgi?
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
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]^not good, if you have that, remove the $spellcheck_button and add it after
[code] that might fix it for one of you
|
|
|
|
Joined: May 2003
Posts: 40
Member
|
Member
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!
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
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
|
|
|
|
Joined: May 2001
Posts: 283
Member
|
Member
Joined: May 2001
Posts: 283 |
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]
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
|
|
|
|
Joined: May 2001
Posts: 283
Member
|
Member
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.
|
|
|
|
Joined: Dec 2000
Posts: 78
Member
|
Member
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
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
[/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
|
|
|
|
Joined: Jun 2003
Posts: 9
Junior Member
|
Junior Member
Joined: Jun 2003
Posts: 9 |
Hmm, nevermind my original post (contained below) I was tired... hadn't chmod'd the dang file. 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:
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
|
|
|
|
Joined: May 2000
Posts: 1,168
Member
|
Member
Joined: May 2000
Posts: 1,168 |
Does anyone know if this works or will work for 6.6.1?
- MT
|
|
|
|
Joined: Jan 2000
Posts: 5,834 Likes: 20
UBBDev Owner Time Lord
|
UBBDev Owner Time Lord
Joined: Jan 2000
Posts: 5,834 Likes: 20 |
it SHOULD work, all but the Modification CP Addon that we're all anticipating a 6.7 release on...
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
 Should be simple to remove the cp integration?
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
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.
|
|
|
|
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 
|
|
|
|
Joined: Jan 2000
Posts: 5,834 Likes: 20
UBBDev Owner Time Lord
|
UBBDev Owner Time Lord
Joined: Jan 2000
Posts: 5,834 Likes: 20 |
Why not just use $vars_display{'PopupHeight'} and $vars_display{'PopupWidth'} which are defined in ubb_lib.cgi?
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Because they're too small for this popup...
|
|
|
|
Joined: Jan 2000
Posts: 5,834 Likes: 20
UBBDev Owner Time Lord
|
UBBDev Owner Time Lord
Joined: Jan 2000
Posts: 5,834 Likes: 20 |
Lol the width is smaller by 50 and the height doesn't really matter, they can scroll...
|
|
|
|
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 
|
|
|
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: 87
Joined: December 2001
|
|
Forums63
Topics37,575
Posts293,931
Members13,824
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|