Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Jan 2003
Posts: 45
User
User
Offline
Joined: Jan 2003
Posts: 45
Spell Check doesn't work well with finnish.

How do I get rid of it?

I tried to delete lines code
<input type="button" name="spellcheck" value="{$ubbt_lang['SPELL_CHECK']}" onclick="window.open('http://www.spellcheck.net/cgi-bin/spell.exe?action=checkpg&string='+escape(document.replier.Body.value + '\\r\\n\\r\\n'), 'message', 'toolbar=yes,menubar=no,location=no,resizable=yes,scrollbars=yes,status=no,width=400,height=500');" class="buttons" />

from showflat and threaded, but no luck.

So far my trial and error has been just error...

Thanks for your patience!

Sponsored Links
Joined: Aug 2000
Posts: 1,609
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,609
So you're saying that after deleting that from the tmpl files, the button is still there?

Joined: Jan 2003
Posts: 45
User
User
Offline
Joined: Jan 2003
Posts: 45
No. There are some error in addpost.php.

I don't remember what it said, and now I've put the code back.

I was wondering if that code is exactly what I should delete?





Joined: Feb 2002
Posts: 2,286
Veteran
Veteran
Joined: Feb 2002
Posts: 2,286
Why not just rem it out - you can always then un-rem it if required.

Use // for a php code or <!-- text --> for a template or HTML code.

Always a good way of trying things before physically deleting code.



Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Yes, that code is the spell check button. It shouldn't have anything to do with addpost though.... the spellcheck button just opens up a window to another site.

Sponsored Links
Joined: Jan 2003
Posts: 45
User
User
Offline
Joined: Jan 2003
Posts: 45
Yeah Josh, I tried that too, but it gave me error.

I'm not 100% sure it was addpost thing.

Well I'll try again.

Thanks.

(to be contiuned...)


Joined: Jan 2003
Posts: 45
User
User
Offline
Joined: Jan 2003
Posts: 45
Ok. I put those <!-- --> marks and this is what I get..

Parse error: parse error, unexpected '"' in /data/www/ylexubb/ubbthreads/templates/default/showflat.tmpl on line 293


Joined: Jun 2003
Posts: 1,025
Junior Member
Junior Member
Offline
Joined: Jun 2003
Posts: 1,025
What's on line 293 of your showflat.tmpl ?

Joined: Feb 2002
Posts: 2,286
Veteran
Veteran
Joined: Feb 2002
Posts: 2,286
Post a few lines before and after the code in question.


Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)
Joined: Jan 2003
Posts: 45
User
User
Offline
Joined: Jan 2003
Posts: 45
<br />
<br />
<input type="submit" name="textcont" value="{$ubbt_lang['TEXT_CONT']}" class="buttons" />
<input type="submit" name="preview" value="{$ubbt_lang['PREVIEW_REPLY']}" class="buttons" />
<input type="button" name="spellcheck" value="{$ubbt_lang['SPELL_CHECK']}" onclick="window.open('http://www.spellcheck.net/cgi-bin/spell.exe?action=checkpg&string='+escape(document.replier.Body.value + '\\r\\n\\r\\n'), 'message', 'toolbar=yes,menubar=no,location=no,resizable=yes,scrollbars=yes,status=no,width=400,height=500');" class="buttons" />
</form>
</td></tr>
$tbclose
<!-- UBBTPRINT; -->
<!-- } //UBBTREMARK -->


This is strange. Now when I remove those <!-- --> marks it gaves me the same error.

Line 293:
<!-- } //UBBTREMARK -->

Sponsored Links
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Have you been using the online template editor (under Admin)? There's currently a bug with that adding extra space and causing errors.

Try starting with a clean template.... use a regular text editor to do changes and leave that spell check button out. I think the online editor has munged it up.

Joined: Jan 2003
Posts: 45
User
User
Offline
Joined: Jan 2003
Posts: 45
Kiitos Josh! (Thanks Josh!)

I'll try that.

Joined: Jan 2003
Posts: 45
User
User
Offline
Joined: Jan 2003
Posts: 45
All right, now it works!

Thanks!


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
Posts: 70
Joined: January 2007
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
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)