? ?????, ????? ??? ?????? ????... :-)
2 2006-07-28 05:15
Re: Не сохраняются настройки форума (12 replies, posted in Archive)
? ???? ?? ? ???? ?? http://www.megabotans.noka.ru/forum1 ?? ???????????? ??????. ???? ??????????? index.html ?? ??????-?? ??????????? (?? ?????????). ? ????? ??? ???? ?? ??????. ????? ? ????? ????????????? ????? ?????????
? ???????? ??, ??????? ??????????? ??? ????????? ?????????, ????? ?? ???? ??????? ????????? ????? ?? ???????. ?? ??? Base URL ?? ??????. ? ? ??????? ??? ?????? ?? ?????, ???? ? ?????????? ????????? ????????, ??? ?????.
3 2006-07-27 12:55
Re: Не сохраняются настройки форума (12 replies, posted in Archive)
?? ??-???????? ?????????? ?? ? ??? ???????????. :-)
??????? ?? ?????? ??????????? ? ???????? ????. ?? ??????? ?????? ??? ??? ?????????, ?? ??? ?????? ????????????. ? ???? ????????? ?????? ? ??????? "cache"? ????? ????? ??????, ? ??? ????????? ? ?ase URL.
4 2006-07-27 05:11
Re: Не сохраняются настройки форума (12 replies, posted in Archive)
phpMyAdmin ????? ?????? ???????? ????? ??? SQL-????????. ??? ?????? ???????? ??? ????? ?????????:
UPDATE config SET conf_value='Russian' WHERE conf_name='o_default_lang'
??? ???? ??????? ??? ?????????. ?????? ????? ????? ??? ??? ?????????, ????? ????????????? ?? ???? ????? ????????.
?????? ??? ??? ?? ????, ????? ??????? ??????. ????? ? ??????????? ??????? ???-?? ?? ???...
5 2006-07-26 04:47
Re: Не сохраняются настройки форума (12 replies, posted in Archive)
??? ????????, ???????? ??? ??? ????????. ?? ???? ?????? ?????, ??????? phpMyAdmin ? ??????? ??????? ? ????. ???????? ???, ??? ? ?????.
6 2006-07-20 14:00
Re: Íóæíà ïîìîùü ñ GESHI (7 replies, posted in Archive)
Âî âñåõ íàäî ìåíÿòü, â òîì òî è äåëî, ÷òî íå íàøåë, êàê îäíèì ìàõîì ñìåíèòü.
Ò.å. Oxygen.css, Mercury.css...
8 2006-07-20 06:05
Re: Удаление форума (7 replies, posted in Archive)
??????? ?? ????????? ??????? ??? ??????. ? ???? - ????? ??????, ????? ? ?????...
9 2006-07-19 05:08
Re: Раскажи здесь о своём форуме. (23 replies, posted in Archive)
http://forum.visp.ru/ - ??????????? ????? ?? ?????? ??? ????????.
?????? - 25.08.2003.
?????? ?????? - 1.0.1 (?????? ????????????????).
?????????? - ??????????. ;-)
10 2006-07-19 05:04
Re: Íóæíà ïîìîùü ñ GESHI (7 replies, posted in Archive)
åñëè äëÿ ïîñëåäíèõ âåðñèé äâèæêà, òî èùè â ôàéëå Èìÿ_ñòèëÿ.css ÷òî-òî òèïà:
.pun {FONT-SIZE: 11px; LINE-HEIGHT: normal}
Ïîïðîáóé 11 çàìåíèòü íà äðóãîå, ó ìåíÿ ïîëó÷èëîñü.
À â áàçîâîì ñòèëå íå íàøåë.
13 2006-02-20 07:48
Re: Хочу молек подлатать punbb под себя (1 replies, posted in Archive)
?? ??????? ??????, ????? ? edit.php ???????? ?????????? ? ?????????? ????:
time() - $cur_post['posted'] >= 300
14 2006-01-24 16:06
Re: rss (3 replies, posted in Archive)
?? ? ???????? ????????, ???? ?? ?????????, ?????? ??? ?? ??????????, ????? ????? ?????? ?????????.
15 2006-01-19 05:51
Re: localhost (3 replies, posted in Archive)
×èòàé äîêè ïî ìóñêóëþ, êàêîé òàì äåôîëòíûé ïàðîëü. ß äàê äëÿ ëîêàëüíîé îòëàäêè ñòàâëþ denwer, òàì óæå íàñòðîåííûé MySQL è PHPMyAdmin â êîìïëåêòå.
16 2006-01-17 06:43
Re: форум hostel.nstu.ru (9 replies, posted in Archive)
???. ????? ? ??? ? ?????????? pun-?????????. :-) ??????? ?????? ??????????. ?????? ??? ????????? ??????, ??? ????????? ??????????? ???-??.
17 2006-01-16 07:37
Re: форум hostel.nstu.ru (9 replies, posted in Archive)
? ??? ????? PunBB? ? ??? ?????????-?????????, ??? ? ?? ???????????. ???? ??, ?? ????? ?????? ?????????????, ?????? ????? ? ???? ??????????.
18 2005-12-30 06:26
Re: Àäìèíèñòðàòîðû ïðîòèâ ìîäåðàòîðîâ (6 replies, posted in Archive)
Ñèñòåìà ïðîñòàÿ: êîëè÷åñòâî îòêðûâàþùèõ ôèãóðíûõ ñêîáîê â ñêðèïòå äîëæíî áûòü ðàâíî êîëè÷åñòâó çàêðûâàþùèõ. :-)
Ïðîäâèíóòûå PHP-ðåäàêòîðû ñàìè çà ýòèì ñëåäÿò.
 òîì ñëó÷àå ñêîáîê äîáàâëÿòü íå íàäî.
Ïðîâåðêó ñòàòóñà äåëàòü ñðàçó ïîñëå ïîëó÷åíèÿ ñòàòóñà, ò.å. ïîñëå ñòðî÷êè:
list($ban_user, $ban_email, $status) = $db->fetch_row($result);
19 2005-12-09 06:33
Re: Открываем ссылки в новом окне (2 replies, posted in Archive)
? ???????? ? ????????? ????? ?????? ? ??????, ??? ??? ?????? ?? ??????? ?????? ??????????? ? ??? ?? ????. ? ???? ?? ????? ??? ??????, ??? ?? ?????????. ??? ?????, ? ????????? ????????? ??? ????? ???? ????? ???????? ????? ??????.
20 2005-12-09 06:31
Re: Запрет на ред. юзером поста отредакт. админ&# (5 replies, posted in Archive)
? ? ? ????? ??????? ? ??????? ?????????? ????? ???????. ??????.
21 2005-12-04 07:40
Re: Àäìèíèñòðàòîðû ïðîòèâ ìîäåðàòîðîâ (6 replies, posted in Archive)
Äà, ó ìåíÿ âòîðîé ïîäîáíûé áëîê èäåò ñðàçó ïîñëå ïåðâîãî. ß ñìîòðåë íå âíèìàòåëüíî, âðîäå áû â çàâèñèìîñòè îò òîãî, îòêóäà âûçûâàåòñÿ ñêðèïò, îòðàáàòûâàåò îäèí èëè äðóãîé áëîê.
22 2005-12-02 06:42
Re: Àäìèíèñòðàòîðû ïðîòèâ ìîäåðàòîðîâ (6 replies, posted in Archive)
×óþ, îïÿòü ìíå îòâå÷àòü... ;-)
Ñêàæèò, ïîæàëóéñòà, ÷òî íóæíî â ñêðèïòå äîáàâèòü/ïîäðåäàêòèðîâàòü, ÷òîáû ìîäåðàòîðû íå ìîãëè áàíèòü àäìèíîâ
Èùåøü â admin_bans.php, âíóòðè áëîêà if (isset($_REQUEST['add_ban'])) ... (îí â ñàìîì íà÷àëå)
$result = $db->query('SELECT username, email FROM '.$db->prefix.'users
çàìåíÿåøü íà:
$result = $db->query('SELECT username, email, status FROM '.$db->prefix.'users
íèæå èùåøü:
list($ban_user, $ban_email) = $db->fetch_row($result);
çàìåíÿåøü íà:
list($ban_user, $ban_email, $status) = $db->fetch_row($result);
è íèæå ñòàâèøü ïðîâåðêó:
if ($status < 2)
message($lang_common['No permission']);
Òàêèõ èçìåíåíèé íóæíî ñäåëàòü äâà. ×óòü íèæå ïîäîáíûé áëîê, ñ íåáîëüøèìè îòëè÷èÿìè, òàì ïðèìåðíî òî æå ñàìîå äåëàåøü.
è ÷òîáû àäìèíîâ íåëüçÿ áûëî óäàëèòü (ïî êðàéíåé ìåðå ïåðåä óäàëåíèåì àäìèíà, ïîíèçèòü åãî â çâàíèè).
Îòêðûâàåøü profile.php, èäåøü â áëîê if (isset($_POST['update_status'])) ...
 íåãî äîáàâëÿåøü ïîñëå ïðîâåðêè ñòàòóñà cur_user:
$result = $db->query('SELECT status FROM '.$db->prefix.'users WHERE id='.$id) or error('Unable to fetch user status', __FILE__, __LINE__, $db->error());
list($status) = $db->fetch_row($result);
if ($status == 2)
message($lang_common['No permission']);
Ñóäÿ ïî òâîèì çàïðîñàì, ó òåáÿ òàì íåõèëàÿ âîéíóøêà íà ôîðóìå... :-)
23 2005-12-02 06:28
Re: Колличество запросов к БД в час (6 replies, posted in Archive)
????? ?? ?????, ?? ????? ????? 5 ????????? ? ???? ??? ?????????? ????????. ?????? 1.2.?, ? ?????? ??????. ? ????? ?????? ???????????? ?????, ?? ??? ?????????? ?? ???????? ??????? ?????-???? ????????. ? ????? ? ??????? ???? ????
24 2005-11-29 16:20
Re: Модераторы + Администраторы (2 replies, posted in Archive)
?? ??????, ? ?????? 490-? ????? ???:
else if (isset($_POST['delete']) || isset($_POST['comply'])) {
if ($cur_user['status'] < 2)
message($lang_common['No permission']);
? ??????? 2 ?? 1.
?????, ? ????? ???? ??????? ????????
<input type="submit" name="delete" value="<?php print $lang_profile['Delete user'] ?>">
? ?????????? ???????? ??????, ?????? ????? if ($user['status'] == 1): ... endif;
????????, ????? ???.
25 2005-11-12 12:04
Re: Çàãðóçêà êàðòèíîê (3 replies, posted in Archive)
Ïîèùè çäåñü: http://www.punres.org/ ìîæåò åñòü.