Add spanish characters/ or other language characters
This hack will let you add "spanish" characters to your
vbcode (á é í ó ú Ñ ñ ¡ ¿)! You can follow the same
format for other languages, (french, for example û ù, etc.)
This is a beta hack, mainly since it's my first "hack".
I created it on 2.2.1.
2. Edit vbcode.js:
At the end of the file, insert:
function extrachara(thechara) {
//inserts extra character text
document.vbform.message.value += thechara;
document.vbform.message.focus();
}
//end extra character text
3. Edit vbcode_language.js:
After:
closeall_text = "Close all open vbcode tags";
insert:
aaccent_text = "Insert 'á' into your message";
eaccent_text = "Insert 'é' into your message";
iaccent_text = "Insert 'í' into your message";
oaccent_text = "Insert 'ó' into your message";
uaccent_text = "Insert 'ú' into your message";
capitalene_text = "Insert 'Ñ' into your message";
loweene_text = "Insert 'ñ' into your message";
exinvert_text = "Insert '¡' into your message";
quesinvert_text = "Insert '¿' into your message";
I am using French. A simple CTRL 130 for exmaple gives me é
and so on
I agree, but not everyone understands what it means to
do a <Ctrl-130> or <Ctrl-225> etc.
This makes it easier for non-technical people that do not
have international keyboards to use these characters.
I wonder how could i do this for the current vB version