Can you restore this optional feature like in version 1.1.xx ("target=_blank" tag) ?

Censor words => Yes . Problem is present.

Site / DB encoding = windows-1251/cp1251.

28

(88 replies, posted in Archive)

Aleksei wrote:

w3c ?????? ?? ??????????? ????????? ????????? UTF-8 ? ??????.
??? ??????? ?????

URL ??????????. ??? ??? ??? ???? ? ????.

? 1.1.5 ????????. ? 1.2.5 - ???. ??? ??????? ????. ?? ?????????? ????????????. ????????????? ?????.

????????? ??????? ? ??? ????????? (windows-1251 / cp1251).

?????? ?????? - ?????? 1.2.??, ?? ????????? ? 1.1.5, ???????? ????????? ?????.

??? ???????, ??? ??? ???????? ??????, ??? ???, ??? ????? ?? PHP. ??? ? ?? ???????????.

ssb wrote:

I've uploaded an updated mod, please try that too.

BTW i installed punbb + highlight mod using windows-1251 encoding, and tried some russian posts. In fact i've copied and paste messages from your own forum.
Well, it works here, highlighting Russian keywords hmm

What's you apache/php versions ?

Now search for Russian words not working in general (no search results for any russian words) smile.

Are you sure that russian words stored in your DB and HTML output is NOT in HTML codes as on this topic?

Apache 2.0.53, PHP 4.3.10, MySQL 4.0.24 with default charset "cp1251", all datas in DB stored in windows-1251, FreeBSD 4.10.

ssb wrote:

I think i know what cause those errors. I'm currently working on this and Russian encoding.
In the meantime, please re-download updated mod and try it for errors.

"Notice: Undefined variable" bug in search.php fixed.

Russian words search highlighting not working.

????? - ??. ? ???? ? ???? ?????? ? ??????????? ?? ?????????? ????????? ??????. ????? ???????? ?????????? ?? ?????? ? ?????????? ????????????? ?????? ? ??????? ? ????.

? ?? 2 ??????, ? ????????? ?????? ????? ????????? ?????? ?????? ????????:

_http://forum/admin_forums.php?edit_forum=x

"Edit group permissions for this forum"

Multipage non highlighting bug fixed.

But I click http://adsh.ukrweb.net/radiohobby/searc … n=show_new - 1 new topic found and there are 4 errors on page:

Notice: Undefined variable: hl in /usr/local/httpd/www/adsh.ukrweb.net/radiohobby/search.php on line 619

Notice: Undefined variable: hl in /usr/local/httpd/www/adsh.ukrweb.net/radiohobby/search.php on line 633

Notice: Undefined variable: hl in /usr/local/httpd/www/adsh.ukrweb.net/radiohobby/search.php on line 641
   
Notice: Undefined variable: hl in /usr/local/httpd/www/adsh.ukrweb.net/radiohobby/search.php on line 664

Russian words search in any case not working:

http://adsh.ukrweb.net/radiohobby/viewt … F0&p=1

Search word is "http://adsh.ukrweb.net/radio/forum/programming/transistor.gif" ("transistor" on English) - there is no highlighting.

It is 2-nd word in this message on the page.

I think this is because search word is urlencoded. There are no urlencoding of English search words - in that case search work fine.

ssb wrote:

Sorry but could you please explain what you mean ?

For example search results contain many pages.

Link to 1-st page:

http://adsh.ukrweb.net/radiohobby/viewtopic.php?id=621&hl=adsh

Link to 2-nd page:

http://adsh.ukrweb.net/radiohobby/viewt … 21&p=2

...

Link to 11 page:

http://adsh.ukrweb.net/radiohobby/viewt … 1&p=11

There are no &hl=adsh at non 1-st pages.

ssb wrote:

Hmm, i cannot see that behavior in my own intranet forum. Please tell me, did you install this mod manually or using included files ?

I install included files viewtopic.php and search.php.

Error in http://adsh.ukrweb.net/radiohobby/searc … n=show_new take place if search results not emply only.

You can register and test any in this topic:

http://adsh.ukrweb.net/radiohobby/viewtopic.php?id=49

ssb wrote:

Also, are you using any other mods affecting search.php and viewtopic.php ?

There are NO any other mods / hacks on this forum.

This mod not working with non English words (Russian).

Locale is windows-1251.

And  highlighting not working on NOT first search results pages.

When user submit http://site/search.php?action=show_new there are many errors on the page:

Notice: Undefined variable: hl in /path/to/site/search.php on line 619

38

(10 replies, posted in Archive)

http://punbb.org/changelogs/1.2.3_to_1.2.4.txt

* Fixed pun_trim() stripping out 0xCA which is a valid character in certain
  locales.

39

(10 replies, posted in Archive)

Ign1111 wrote:

??-??, ?? ?????? ???? ? ???? ?? ?????? ??? ? ??????? ?????? ? ??? ???????. smile

??. changelog ? 1.2.4 wink.

40

(88 replies, posted in Archive)

Äà óæ smile.

Êñòàòè - â 1.2.4 óæå øòàòíî ïîôèêñèëè ðóññêóþ "Ê".

Êðîìå òîãî - ÿ äàë ó ñåáÿ íà ôîðóìå çàïðîñ èç FAQ ïî stopwords:

SELECT sw.word, COUNT(sm.post_id) AS hits FROM search_words AS sw INNER JOIN search_matches AS sm ON sw.id = sm.word_id GROUP BY sw.id ORDER BY hits DESC LIMIT 500

Ñëîâ 200 (!) ìîæíî ñìåëî çàíîñèòü â èãíîð. Òåì áîëåå, ÷òî áÎëüøóþ ÷àñòü áàçû (ïî ðàçìåðó) çàíèìàþò êàê ðàç ñëîâà äëÿ ïîèñêà.

There are 2 errors:

1. Error messages when creating new post and all options in admin_loader.php?plugin=AMP_Polls.php are set to "No":

Notice: Undefined variable: cur_user in /xxx/post.php on line 521

and

Notice: Undefined variable: cur_user in /xxx/include/punpoll/post_form.php on line 5

2. Admin can't post more than one vote in "Multivote" mode - radio buttons are disabled.

Paul wrote:

I thought he meant the Russian translation of "by" was a different word in each of the two cases so you need

'by topic author' =>
'by last poster' =>

Yes, You are correct smile .

43

(88 replies, posted in Archive)

K ñîæàëåíèþ, â âåðñèè 1.2 ïîëó÷àåòñÿ ïðîáëåìà ñ ïåðåâîäîì "by" â ñëó÷àå àâòîðà ïîñëåäíåãî ñîîáùåíèÿ è ñîçäàòåëÿ òîïèêà. Ãîâîðèòü âåçäå "îñòàâèë" íåêîððåêòíî, ò. ê. òåìà "ñîçäà¸òñÿ" à ñîîáùåíèå "îñòàâëÿåòñÿ":

http://adsh.ukrweb.net/radiohobby/viewt … 9957#p9957

 îáùåì - ÿ ïîïðîñèë àâòîðà ðàçäåëèòü ýòî íà äâå ÷àñòè:

http://punbb.org/forums/viewtopic.php?pid=37007#p37007

Please separate this word in lang file on the next relize:

'by'    =>    'xxx',    // as in last post by someuser

There is different meaning in this two cases in russian.

?????????????. ? 1.1.5 ????????.

??? ?????? "PHP ?????????????" smile.

MySQL_4:

./configure --prefix=/usr/local/mysql --localstatedir=/usr/local/mysql/data \
--enable-thread-safe-client --with-mysqld-user=mysql --without-debug \
--with-charset=cp1251 --with-extra-charsets=koi8_ukr,koi8_ru,win1251ukr,latin1

Apache_2:

./configure --prefix=/usr/local/httpd --enable-so --with-ssl=/usr/local --enable-ssl \
--enable-deflate --enable-rewrite

PHP_4:

./configure --prefix=/usr/local/httpd/php --with-apxs2=/usr/local/httpd/bin/apxs \
--with-config-file-path=/usr/local/httpd/php/etc --with-mysql=/usr/local/mysql \
--with-zlib=/usr/local --with-gd=/usr/local --with-jpeg-dir=/usr/local \
--with-png-dir=/usr/local --with-tiff-dir=/usr/local --with-gettext=/usr/local \
--with-regex=system --enable-calendar --enable-shared --enable-static

cp php.ini-dist /usr/local/httpd/php/etc/php.ini

edit php.ini

???? ??? ????????? - ??? ????? ????????.

? ???? ??? ???????? ? ?????? "????":

???-?? ??? ????????????????? ??? ???? ?????? ????. ????????? ???? ??? ???????????? ????? ?????? ?? ????????????. ????? ?????? ??????????, ?? ??????? ????, ?? ???? ?????? (a-z ??? 0-9). ??????????, ????????? ? ?????????? ?????? ???.

"login.php?action=forget" works with registered, but not verified users:

cat /usr/local/httpd/logs/www.server.com-access_log | grep "xxx.xxx.xxx.xxx"
xxx.xxx.xxx.xxx - - [24/Jul/2004:17:37:45 +0300] "POST /forum/register.php HTTP/1.1" 200 3102 "http://www.server.com/forum/register.php" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) Opera 7.23  [ru]"
xxx.xxx.xxx.xxx - - [24/Jul/2004:17:38:50 +0300] "POST /forum/register.php?action=register HTTP/1.1" 200 1139 "http://www.server.com/forum/register.php" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) Opera 7.23  [ru]"
xxx.xxx.xxx.xxx - - [24/Jul/2004:17:39:08 +0300] "GET /forum/login.php HTTP/1.1" 200 1717 "http://www.server.com/forum/register.php?action=register" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) Opera 7.23  [ru]"
xxx.xxx.xxx.xxx - - [24/Jul/2004:17:40:11 +0300] "POST /forum/login.php?action=in HTTP/1.1" 200 1100 "http://www.server.com/forum/login.php" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) Opera 7.23  [ru]"
xxx.xxx.xxx.xxx - - [24/Jul/2004:17:40:20 +0300] "GET /forum/login.php?action=forget HTTP/1.1" 200 1763 "http://www.server.com/forum/login.php?action=in" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) Opera 7.23  [ru]"
xxx.xxx.xxx.xxx - - [24/Jul/2004:17:40:38 +0300] "POST /forum/login.php?action=forget_2 HTTP/1.1" 200 1191 "http://www.server.com/forum/login.php?action=forget" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) Opera 7.23  [ru]"
xxx.xxx.xxx.xxx - - [24/Jul/2004:17:56:43 +0300] "GET /forum/profile.php?id=259&action=change_pass&key=8PLxG6zn HTTP/1.1" 200 1063 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) Opera 7.23  [ru]"
xxx.xxx.xxx.xxx - - [24/Jul/2004:17:56:54 +0300] "GET /forum/login.php HTTP/1.1" 200 1745 "http://www.server.com/forum/profile.php?id=259&action=change_pass&key=8PLxG6zn" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) Opera 7.23  [ru]"

smile

I get regestration message, but I do not post password to user sad.

See your previouse post (2004-06-21) about subject. I to be confronted with uncontrolled users registration.

User can visit "login.php?action=forget" and change your password sad.