but why in that case are you write a special function pun_trim() if i must use usual trim()???
27 2005-02-11 20:54
Re: Big Letter "k" in russian (15 replies, posted in PunBB 1.2 bug reports)
no. in the first piece there is not "chr(0xCA)" in code. but in 1.2 it is.
28 2005-02-10 05:55
Re: Big Letter "k" in russian (15 replies, posted in PunBB 1.2 bug reports)
may be. i don't know but is first piece of code rigth too?
29 2005-02-09 20:03
Re: Big Letter "k" in russian (15 replies, posted in PunBB 1.2 bug reports)
i has found two solutions:
function pun_trim($str)
{
$fishy_chars = array(chr(0x81), chr(0x8D), chr(0x8F), chr(0x90), chr(0x9D), chr(0xA0), ' ');
return trim(str_replace($fishy_chars, ' ', $str));
}
and
function pun_trim($str)
{
global $lang_common;
if (strpos($lang_common['lang_encoding'], '8859') !== false)
{
$fishy_chars = array(chr(0x81), chr(0x8D), chr(0x8F), chr(0x90), chr(0x9D), chr(0xA0), chr(0xCA));
return trim(str_replace($fishy_chars, ' ', $str));
}
else
return trim($str);
}
are both of them are rigth?
30 2005-02-09 20:00
Re: Big Letter "k" in russian (15 replies, posted in PunBB 1.2 bug reports)
i did. but now i found some topics, where this problem has been discussing, and now i fixed this bug.
31 2005-02-09 05:22
Re: Big Letter "k" in russian (15 replies, posted in PunBB 1.2 bug reports)
i don't know. i have punbb1.2 and i hope, that when i install v1.2.1 this problem will dissapear
32 2005-02-08 04:42
Topic: Big Letter "k" in russian (15 replies, posted in PunBB 1.2 bug reports)
It doesn't work on this forum, it doesn't work on my forum too! Can smb help me?
33 2005-02-08 04:36
Topic: [БАГ] Большая буква "к" (10 replies, posted in Archive)
?? ?????? ?? ???????? ??????? ??????? ????? "?". ??? ??? ????? ??????????
??: ?? ??????? ?
34 2005-02-06 07:17
Re: can't update (26 replies, posted in PunBB 1.2 bug reports)
i have a such problem. may be we need to create the search index with administration tool?
36 2005-01-09 13:26
Re: can't update (26 replies, posted in PunBB 1.2 bug reports)
and can i install new punbb to empty DB and new folder and than import users and topics from old version to it? (sorry for my english )
37 2005-01-08 21:01
Topic: перевод punbb 1.2 (6 replies, posted in Archive)
???-?????? ????? ??? ??????? ???? ??, ?? ??? ????? ?????? ??? ????? ???? ??? ? ????-?? ?????
38 2005-01-08 21:00
Re: Новые возможности новой версии (10 replies, posted in Archive)
1), 2) ????? ?? ???????, ?? ???????
3), 4) ????? ??????, ??????? ????? ????
39 2005-01-07 06:19
Re: Новые возможности новой версии (10 replies, posted in Archive)
??????? ?????. ? ???? ?? ?? ????? ?????????????, ? ??? ????????? ?????? ??? ? ??? ???????? ?? ?????? ???????????, ?? ? ???????????. ? ?????? 2) ? 3) ????? ? ?????? ??? ??????? ???????. ?????? ? ??? ???? ? ???? ??? ???????, ?? ??? ??? ????? ?? ??????? ??? ??? ?????? ????? ????? ? ?????? ??? ??????, ???? ??? ????????, ?? ????? ?? ?????... ?? ??????? ???? ??? ?? ????? ??????? ???? ?? ??????.
41 2004-12-19 20:56
Re: PunBB 1.2 (12 replies, posted in Archive)
à êîãäà âñå-òàêè áîëåå-ìåíåå íîðìàëüíàÿ âåðñèÿ âûéäåò? ìîæåò êòî ñëûøàë?
43 2004-12-11 15:32
Re: PunBB 1.2 (12 replies, posted in Archive)
ëàäíî, ïðîåõàëè. ïðîñòî ÿ ñàì èíîãäà âèæó, ÷òî íàïèñàë, à èíîãäà çàõîæó - à òóò îäíè çàêîðþ÷êè. õîòÿ òî, ÷òî îñòàëüíûå ïèøóò, âèæó íîðìàëüíî
44 2004-12-07 04:59
Re: PunBB 1.2 (12 replies, posted in Archive)
pochemu nikto nó ponimaet, chto ya zdes pishu?
45 2004-12-04 11:09
Topic: скрипт вывода последних тем форума (1 replies, posted in Archive)
...?????? ????????? ??? ??????
46 2004-12-04 11:05
Re: PunBB 1.2 (12 replies, posted in Archive)
áëèí... ñàì íàïèñàë, ñàì òåïåðü ïðî÷èòàòòü íå ìîãó
47 2004-11-28 09:26
Topic: PunBB 1.2 (12 replies, posted in Archive)
Êîãäà æå âûéäåò ïîëíàÿ âåðñèÿ? Ó êîãî-íèáóäü åñòü áîëåå-ìåíåå ðåàëüíûå äàííûå îá ýòîì? Èëè ìîæåò ÿ ïëîõî èñêàë?