|
Joined: Jan 2003
Posts: 45
User
|
User
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!
|
|
|
|
Joined: Aug 2000
Posts: 1,609
Addict
|
Addict
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
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 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.
|
|
|
|
Joined: Jan 2003
Posts: 45
User
|
User
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
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
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 at the moment - but expanding all the time....)
|
|
|
|
Joined: Jan 2003
Posts: 45
User
|
User
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 -->
|
|
|
|
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
Joined: Jan 2003
Posts: 45 |
Kiitos Josh! (Thanks Josh!)
I'll try that.
|
|
|
|
Joined: Jan 2003
Posts: 45
User
|
User
Joined: Jan 2003
Posts: 45 |
All right, now it works!
Thanks!
|
|
|
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
|
|
|
|