Spellchecker mod for preview
Posted by Mensler
|
Re: Spellchecker mod for preview May 29, 2005 01:13PM |
Registered: 22 years ago Posts: 152 |
Hi,
you could check if $PHORUM["user"]["user_id"] is greater than 0 (it's 0 for guests):
--
Clemens Weiß
Webplain.de
you could check if $PHORUM["user"]["user_id"] is greater than 0 (it's 0 for guests):
if (!empty($_POST["preview"]) && function_exists("pspell_new") &&
(!isset($PHORUM["DATA"]["USERINFO"]["spellcheck"]) || $PHORUM["DATA"]["USERINFO"]["spellcheck"]==1) &&
$PHORUM["user"]["user_id"] > 0) {...
I can make it an option if I find the time :-)--
Clemens Weiß
Webplain.de
|
Re: Spellchecker mod for preview May 31, 2005 05:07PM |
Registered: 21 years ago Posts: 34 |
|
Re: Spellchecker mod for preview June 06, 2005 08:55AM |
Registered: 22 years ago Posts: 152 |
You can set danish in the mod settings (if Aspell is installed).
There's no danish language file yet, feel free to write one :-)
--
Clemens Weiß
Webplain.de
There's no danish language file yet, feel free to write one :-)
--
Clemens Weiß
Webplain.de
|
Re: Spellchecker mod for preview June 06, 2005 01:07PM |
Registered: 21 years ago Posts: 34 |
|
Re: Spellchecker mod for preview June 06, 2005 04:36PM |
Registered: 22 years ago Posts: 152 |
|
Re: Spellchecker mod for preview August 01, 2005 02:33PM |
Admin Registered: 24 years ago Posts: 9,240 |
|
Re: Spellchecker mod for preview August 19, 2005 11:24AM |
Registered: 22 years ago Posts: 152 |
Hi Thomas,
in my tests the bbcode was "executed" before the spellchecking, it ignores HTML tags. Your bbcode seems to be parsed after spellchecking, but why?
--
Clemens Weiß
Webplain.de
in my tests the bbcode was "executed" before the spellchecking, it ignores HTML tags. Your bbcode seems to be parsed after spellchecking, but why?
--
Clemens Weiß
Webplain.de
|
Re: Spellchecker mod for preview August 19, 2005 12:54PM |
Admin Registered: 24 years ago Posts: 9,240 |
|
Re: Spellchecker mod for preview August 19, 2005 04:01PM |
Registered: 21 years ago Posts: 609 |
|
Re: Spellchecker mod for preview August 21, 2005 11:11AM |
Registered: 22 years ago Posts: 152 |
Hi,
you find attached a new version which should strip bbcode tags before spellchecking.
I also updated the settings which didn't work right and added the option to turn off spellchecking for guest posters.
Unfortunately I can't test it at the moment, pspell isn't available at my server anymore. So I don't know if it works. I would be glad if you, Thomas, could try it out.
Bill, it sounds like you want a javascript GUI or something like that, unfortunately I'm not into this, so I can't help you, sorry...
--
Clemens Weiß
Webplain.de
Edited 1 time(s). Last edit at 08/21/2005 03:34PM by Mensler.
you find attached a new version which should strip bbcode tags before spellchecking.
I also updated the settings which didn't work right and added the option to turn off spellchecking for guest posters.
Unfortunately I can't test it at the moment, pspell isn't available at my server anymore. So I don't know if it works. I would be glad if you, Thomas, could try it out.
Bill, it sounds like you want a javascript GUI or something like that, unfortunately I'm not into this, so I can't help you, sorry...
--
Clemens Weiß
Webplain.de
Edited 1 time(s). Last edit at 08/21/2005 03:34PM by Mensler.
Sorry, only registered users may post in this forum.

