Topic: Could you add a few things~!

Hi

I have a few very nice mods to release, but I have been waiting for some simple things to be added before releasing these mods!

1. user select language

I really would like to see this, so that one of my mods 'PunBB Spell Check' could be based on the user language interface!

I am going to release it in a day or two, but having the $var -> $cur_user['lang'] would give the user more control and also allow me to add more language based features by just knowing the language the user is using!

I will put a demo of it tonight, when my DNS gets updated to my laptop server for one of my domain's. As it is now, it contains the following...

1. spell check
2. ignore ( HTML, PunBB code )
3. registered user can have personal dictionaries (admin option)
4. add a word or word list to your personal dictionary
5. remove words from your personal dictionary

It runs under Unix/Linux/Windows, using PHP configured with Pspell

I'll post the demo late tonight, and will release it in a day or two (working on a few nice templates with 14 different languages that will be supported)

Spell Check = English
Correcteur Orthographique = Européen (Français), Canadien (Français)
Verificador Ortográfica = Europeo (Castellano), Argentino (Español)
Spel Controleur = Europeaaan (Nederlands)
Stavekontrol = Europæisk (Dansk)
Verificador Ortográfica = Brazilian (Português), Europeu (Português)
Oikeinkirjoituksen Tarkistus  = Eurooppalainen (Suomi)
Rechtschreibprüfung = Europäisch (Deutsch)
Controllo Ortografico = Europeo (Italiano)
Stavekontroll = Europeer (Norsk)
Stavningskontroll = Europé (Svenska)
???????? ?????????? = ??????????? (???????)

I will also include Russian, when I have a chance to finish the button set(s) for the russian language!


F!

2

Re: Could you add a few things~!

Nice. Which English, UK or Ameriglish

Re: Could you add a few things~!

This what you want?

4

Re: Could you add a few things~!

Smartys wrote:

This what you want?

No. I just wanted to know which English the spell checker was going to use because in the case of French and Spanish more than one derivation was specified.

Re: Could you add a few things~!

Cool stuff! PunBB 1.2 will most likely have user selection on a per user basis.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: Could you add a few things~!

Paul: I meant for the user select language thing tongue

Re: Could you add a few things~!

Rickard wrote:

Cool stuff! PunBB 1.2 will most likely have user selection on a per user basis.

Didn't you mean "language selection on a per user basis"?

Re: Could you add a few things~!

Hehe, yes I did :)

"Programming is like sex: one mistake and you have to support it for the rest of your life."

9 (edited by Fataqui 2004-06-18 15:59)

Re: Could you add a few things~!

Hi Everyone

Introducing PunBB Spell Check Version 0.9 <- hehe

Some notes....

The example uses template (1), I will give you this template (buttons/images) when I release this tomorrow (14 languages)!. The example is in English, and the dictionary is also English, because I do not want to load my laptop with junk. But the spell checker and the 'regex(s)' it uses can handle all languages supported by Aspell!

PunBB Spell Check works off PunBB, so it will only work with PunBB! PunBB Spell Check is completely template driven and works of language files!

Language en_spell.php

<?php
$lang_spell = array (

'spell_load'            =>     'Spell Checker Loading...',
'spell_wait'            =>    'Please Wait',
'spell_done'            =>    'Spell Check Complete.',
'spell_none'            =>    'No Errors Found...',
'not_found'                =>    'Not in dictionary',
'dictionary'            =>    'Dictionary',
'current_lang'            =>    'American (English)',
'suggest_word'            =>    'Suggestions',
'change_to'                =>    'Change to...',
'show_options'            =>    'Spell Check Options',
'just_finish'            =>    'Finish Spell Check',
'just_cancel'            =>    'Cancel Spell Check',
'add_word'                =>    'Add Word',
'change_all'            =>    'Change All',
'change_word'            =>    'Change Word',
'ignore_all'            =>    'Ignore All',
'ignore_word'            =>    'Ignore Word',
'spell_title'            =>    'PunBB Spell Checker',
'bad_error'                =>    'Critical Error...',
'bad_request'            =>    'Access Disallowed.',
'cancel_now'            =>    'Spell Check Canceled.',
'correct_name'            =>    'Corrected:',
'spell_words'            =>    'words'

);
?>

I will include (14) different language files.


LAST NOTE: the 'OPTIONS' is not active in the example, if it was active, it would allow you to manage your personal dictionaries if the administrator allowed this option. If the administrator does not then 'OPTIONS and ADD WORD' would not be active! I have left 'ADD WORD' on so you can see how it learns to 'IGNORE' words that you have added to the dictionary! I am now working on a simple 'FILTER' that will allow the administrator to 'FILTER' words that can never be added to the user(s) personal dictionaries!


Please try it out, and tell me what you think! Also if you want something added before I release it, please tell me that also!

SCREEN SHOT

http://zip.ya-right.net/img/punbb_spell.gif



URL to try it....


http://zip.ya-right.net/post.php?fid=1


Well, that's all, let me go read some posts...

F!

10

Re: Could you add a few things~!

I really like the functionality... but wouldn't it be better if its design was based upon the punBB themes, not its own layout?

Re: Could you add a few things~!

Hi Andy...

That is just (1) template. I have another that matches the default PunBB theme, when I get home I will change it so you can see it. Also, because it is template driven just changing the template buttons and the CSS will give you any style you want!


F!

12

Re: Could you add a few things~!

Great smile

13 (edited by Fataqui 2004-06-18 19:12)

Re: Could you add a few things~!

Hi Andy.....

template has been changed!

SCREEN SHOT

http://www.dartmouth-online.com/bb/punbb_org.gif


C, ya...