26

(7 replies, posted in Archive)

Xan wrote:

Nyuk, ??????? ??????? ? ??????? ? ????????? ??? ?????? ????????? ????? ????? ???????? ? ?????:

      }
else

smile smile smile

?? ??????

27

(3 replies, posted in Archive)

Óðëàìè. Ïî÷èòàé ïðî bbCodes. Åñëè õî÷åòñÿ, ÷òîáû êàðòèíêè õðàíèëèñü íà ñàìîì ôîðóìå, èùè ñîîòâåòñòâóþùèé ìîä.

28

(10 replies, posted in Archive)

1. ???????? ???, ??????? ????????? ???? ????? ??????? ????? ? ????? ???????????.
2. ??????? ????, ???????????? ???????????? ????? ???? ?? ??????? ???????. ??????, ???? ???? ???? VARCHAR, ?? ???????????? ????? 255 ????????. ??????????????, ??? ??????????????? ????, ??? ??????? ??? ?? TEXT.

????? ????? ??????????, ????? ???, ? ????? ?? ????.

29

(25 replies, posted in Archive)

?? ??????, ????????? ???? ?? ?????? ??? ????? ????? :-) ????????? ?? ???? ???????????? ??????? ?? ?????.

30

(25 replies, posted in Archive)

?????? ??????, ?? ?????, ??? ???? ? ?????????, ? ???? ??????? ????? ?????????? ??????? ? ???????????? ??? ??? ?????. ?? ???? ?? ???????? ?? 1.0.1 ???????? :-)

???????? ? common.php ???? ??????? check_bans().
? ??? ????????? ?????????, ??? ?????? ??? ????????????? ?-??? ??????: $options['admin_email']

31

(25 replies, posted in Archive)

Xan wrote:

Nyuk, ?????? ???????? ??????? ???????? ? phpmyadmin?

? ???? PostgreSQL. :-) ? ??? MySQL ??, ? ??? ??????? ?????.

32

(4 replies, posted in Archive)

???-?? ?? ???? ????????? ??? ??????? ???????????? ????? ?? ???????...
???????, ???????? ????? ?? ???????, ?? ?????? ??????. :-)

33

(4 replies, posted in Archive)

??, ???.

Äåëî âêóñà íà ñàìîì äåëå. Ìíå ëè÷íî PunBB â ðàçû áîëüøå íðàâèòñÿ, íà phpBB íè çà ÷òî íå ïðîìåíÿþ. :-))))

35

(25 replies, posted in Archive)

Xan wrote:

nyuk, ? ???????? ??? ? bbcode'??? . ??? ?????? ???? ??? ??? edit.php ? post.php. ? ? "??????? ?????" ?? ??????????? sad ??? ???????? ?????? ???? ????? ?? ????????? ??? ??? ? ????? ? ????? , ??????? ???????? ?? "??????? ?????" ????? ?? ??  ???????? ????????? ??? ? ??? edit.php ? post.php? !

??. ?????? ? ?? ???? ? ??????? ????? ??????? ???????. ???? ????????? ????? ???????. :-) ??????? ??? ??. ??? ?????? ????, ??? ?????????????? ????????? ?? ?????? ??????? ????????, ?? ??? ???? ? ?? ????? ???????????.

P.S. ??? ??????? ?????????? ???? ???? ? ?? ????????? ??????? ??????????

???. ? install_db.txt ?????? ???????? ???????. ????? ?? ??? PostgreSQL.

Îé, òî÷íî âåäü. ×óâàê æå â äðóãóþ ñòîðîíó õî÷åò.
Íó, ôëàã â ðóêè...

 Downloads óæå çàãëÿäûâàë? PunBB Migration Tool òàêîé òàì åñòü. Ïîïðîáóé.

38

(1 replies, posted in Archive)

äèàïàçîí óêàçàòü íåëüçÿ, ìîæíî òîëüêî ÷àñòü IP-à, äëÿ ïîäñåòîê. Íàïðèìåð, ïèøåøü "192.168" ÷òîáû çàáàíèòü 192.168.0.0/16

http://punbb.org/forums/viewtopic.php?id=9052
????? ???? ?? ????????? ????-???? ????????? ??????? ??????????

??. ?????? ????????? ???????? ???????????.

? ????????, ? ?????? ??????? ????? ?????????? ????????:

define('PUN_ROOT', './????_?_????????_??????/');
require PUN_ROOT.'include/common.php';

? ????? ????? ??? ??????? ?????? ????? ???????? ? ?? ???????? ?????.
????? ? ???? ??????????? ??????????? ?? ????, ????? ????? ?? ?????? ?????? ??? ?? ????? ?????? ????? ??????????????. ? ????? ???????? ???????. ? ????? ?????? ?? ??????.

41

(25 replies, posted in Archive)

?????????? ??? ???????????-????????? 1.0.1 ????????? ??? ???? ??? ???? ??????, ? ?????-????? ????????? ??????????????.

http://nyuk.visp.ru/tmp/punbb/nyuk_punbb_mods_101.zip - ????????? ??????????? ????? (??? ??? ???? ??????? ?????? ???? ??? ?????) ? ?????? ?????????.

http://nyuk.visp.ru/tmp/punbb/photoalbum.zip - ??????????. ????? ????????? ??? MySQL ????? ????? ?????????. ???-?? ????? ????????? ??????? ?? ???, ?? ??? ? ???????? ???. ? ??? ?????? ?? ????????. ??????????? ??????.

http://nyuk.visp.ru/tmp/punbb/rss.zip - ??????? ????????? ? RSS 2.0 ???????? ?????????? ?????????????? ????? ??????????? ????????? ??????. ? ? 1.0.1 ??? ?????? ?? ????. ???????????  ?????.

? ??? ??? ?????????, 1.2.x ?????! ????? ?? ??????? ?? ????, ?? ??? ??????????, ??????? ????? ?? ??????? ?????? ??????????...

?????? ???????????? ????????? ????. ???? ?????? ??????????? ?????? ????? ??????, ?? ??? ??????? ??????? ? ???? ???? ??? ??? ???????. ????? ??????? ? ?????, ?????? ??????

?? ?? ???????? ?????, ??? ?????????????? ??????. :-)
??? ????? ?? ???????, ????? ? ?????????, ??????????? 15-??, ???? ????????? ????? ????? 25-?...

seva, prefix_ ????? ??????? ??????????, ?? ?? ????? ?????????? ? ?????. ?????????? ???????????? ?????????? $db_prefix.

? ???? ???????? ???????? ?????? ???:

        $db->query('UPDATE '.$db->prefix.'posts SET topic_id='.$new_tid.' WHERE topic_id='.$tid) or error('Unable to update posts', __FILE__, __LINE__, $db->error());
        $db->query('UPDATE '.$db->prefix.'topics SET num_replies=(SELECT COUNT(id) FROM posts WHERE topic_id='.$new_tid.') - 1 WHERE id='.$new_tid) or error('Unable to update new topic', __FILE__, __LINE__, $db->error());
        $db->query('UPDATE '.$db->prefix.'topics SET num_replies=(SELECT COUNT(id) FROM posts WHERE topic_id='.$tid.') - 1 WHERE id='.$tid) or error('Unable to update old topic', __FILE__, __LINE__, $db->error());

$tid - ?????? ?????.
$new_tid - ????? ?????.

? ??????? ?? ?????? ???????, ???? ??????????? ????????? ?? ??????????, ? ?????? ??? ????? ??????????.
???? ???????????? ??????? ??????? (??? ????????? ???????).
?? ????? ??? ?????? ???????, ????? ?????????? ????? ???????? ???????? last_post, last_post_id ? last_poster ? ???????.

P.S. ???????? ??? ?????? 1.0.1, ?? ????? ???-?? ???? ?????? ????????. ?? MySQL ?? ???????? (? ???? PostgreSQL).

45

(0 replies, posted in Archive)

? ????????? ?? ?????? 1.2.x ?????????? ???????? ??????????. ?????? ?????? ?????? ?????????? ???????? ??????????? ?????... ;-)

??? ??? ??????? ?????? ???? ????, ??? ??? ?????????????, ????? ????? ? ?????? ?? ??? ??????. ??????? ??? ????? ?? ??? ??????, ? ?? ?????????...

46

(25 replies, posted in Archive)

Xan wrote:

nyuk, ó òåáÿ íà ñàéòå èëè ó òåáÿ ëè÷íî îñòàëîñü îáíîâëåíèÿ/èñïðàâëåíèÿ äëÿ 1.0.1 ? Åñëè åñòü ìîæåøü ïðèñëàòü?

Äàëåêî íå âñ¸ åñòü â îòäåëüíîì âèäå, îáû÷íî ïàò÷èëîñü ïðÿìî â äâèæêå. Çàâòðà ïîñìîòðþ ÷òî åñòü.

Ç.Û. ïîñìîòðè òåìó "íèê" ìîþ òóò

Ïîñìîòðåë.

47

(7 replies, posted in Archive)

index.php, ?????, ??? ???? ?????? ?? online ? ????? ???? ? ????????????? ??????? ?????????????.
??????? ??? ???? ???????? ?? ????. ??? 1.0.1 ??? ????? ????????? ???:

        if ($cur_user_online['user_id'] == ????_ID)
            $users[] = '<a href="profile.php?id='.$cur_user_online['user_id'].'"><i>'.pun_htmlspecialchars($cur_user_online['ident']).'</i></a>';
        elseif ($cur_user_online['user_id'] > 0)
            $users[] = '<a href="profile.php?id='.$cur_user_online['user_id'].'">'.pun_htmlspecialchars($cur_user_online['ident']).'</a>';
        else
            $num_guests++;

??? ?????? ???? ?????.
???? ????? ???????? ???? ???????, ?? ???????? ? ??????? ??????? users, ????? ?? ??? status ? ?? ???? ?????????.

48

(25 replies, posted in Archive)

Evgeny wrote:

???? ????? ??????? ???????-????????? ??? ???????, ??? ????? ???? ????? ????? ??? ???????????????
????? ??? ?? ?????????, ??? ?????? ???? "?????????" ??? ????????

?? ????, ????? ??? ???.
? ??? ???????, ????? ?????? ??????, ??????? ???????? ??????? update_search_index ??? ??????? ?????????. ??????? ??????? ?? ????? ???????? ??? ??????? ???? ?????????...

49

(25 replies, posted in Archive)

HitMan wrote:

nyuk

?????? ?? ?????????? ??? ??????? ??????? ????? IRC?
??? ?????? ????? ???? ??? ??????? ???? ????? ? ??????? ????? ?? ????? ???? ??? ? ?????

??? ????? ?? ?, ? ?????? ?????? ?? ?????? ??????.
? ???, ??? ????? ircd ?? FreeBSD. ??? ????????? ? IRC ???? ?? ???? ??? ??????????. ? ????????? ??????? CGI:IRC, ??????? ??? ? ????. :-)

50

(51 replies, posted in Archive)

Evgeny wrote:

nyuk, ???? ????????????? ?????? ?? ???? ?????? ????????, ???????? ?????????? ?? ??????, ???? ??? ?? ??????.
???????

?????? ???????? ?? ???? ?? ????, ? ????? ?? ????? ?????????, ?? ? ?? ????? ?? ? ????. ;-)
?? ????????? ???????.