Спасибо за раздачу и оценка релиза

Started by PheRum on 2011-07-06 15:21 — 407 replies, 90456 views

#51
Mr.ELDORADO, повтори этот шаг, только обрати внимание, чтобы кодировка была UTF-8! Notepad++ тебе в помощь.
#-----[ OPEN ]---------------------------------
#
includes/ucp/torrent_userprofile.php
#
#-----[ FIND ]---------------------------------
#
{
    $template->assign_block_vars('switch_leeching_none', array());
}

#
#-----[ AFTER, ADD ]---------------------------------
#
require(INC_DIR .'functions_thanks.php');

#
#-----[ FIND ]---------------------------------
#
    'LEECH_ROWSPAN'    => ($leeching_count) ? 'rowspan="'. ($leeching_count + 1) .'"' : '',

#
#-----[ AFTER, ADD ]---------------------------------
#
    'USER_THANKS_'    => '<b>' . @get_user_thanks($profiledata['user_id']) . '</b> / <b>' . @get_user_thanked($profiledata['user_id']) . '</b> (раз)',
    'USER_THANKS_LINK' => 'thanks.php?u=' . $profiledata['user_id'],
#
#52
whuru, не это.
Пусть файл /includes/ucp/torrent_userprofile.php переведёт в utf8 кодировку и всё.
#53
Locer, whuru, спс вам обоим!!! помогло!!!
#54
Deprecated: Function ereg_replace() is deprecated in /usr/share/phpmyadmin/libraries/check_user_privileges.lib.php on line 34

Deprecated: Function ereg_replace() is deprecated in /usr/share/phpmyadmin/libraries/check_user_privileges.lib.php on line 34

Deprecated: Function ereg() is deprecated in /usr/share/phpmyadmin/libraries/check_user_privileges.lib.php on line 67

Deprecated: Function ereg_replace() is deprecated in /usr/share/phpmyadmin/libraries/check_user_privileges.lib.php on line 70

Warning: Cannot modify header information - headers already sent by (output started at /usr/share/phpmyadmin/libraries/check_user_privileges.lib.php:34) in /usr/share/phpmyadmin/libraries/ob.lib.php on line 83

Warning: Cannot modify header information - headers already sent by (output started at /usr/share/phpmyadmin/libraries/check_user_privileges.lib.php:34) in /usr/share/phpmyadmin/libraries/header_http.inc.php on line 22

Warning: Cannot modify header information - headers already sent by (output started at /usr/share/phpmyadmin/libraries/check_user_privileges.lib.php:34) in /usr/share/phpmyadmin/libraries/header_http.inc.php on line 23

Warning: Cannot modify header information - headers already sent by (output started at /usr/share/phpmyadmin/libraries/check_user_privileges.lib.php:34) in /usr/share/phpmyadmin/libraries/header_http.inc.php on line 24

Warning: Cannot modify header information - headers already sent by (output started at /usr/share/phpmyadmin/libraries/check_user_privileges.lib.php:34) in /usr/share/phpmyadmin/libraries/header_http.inc.php on line 25

Warning: Cannot modify header information - headers already sent by (output started at /usr/share/phpmyadmin/libraries/check_user_privileges.lib.php:34) in /usr/share/phpmyadmin/libraries/header_http.inc.php on line 28
http://www.php.su/php/?migration53
#55
Один раз поблагодарил, делать вывод вам

Поблагодарил(a) / Поблагодарили:1 / 2
---------------------
Оценка:5 (Голосов: 1) Ваша оценка: 5
Поблагодарили:1 (список)
как запретить благодарить свои же раздачи ?
#56
Could not get Attachment Informations for post number *
Как все-таки лечится это? Что за звезды?
#57
код вставил не в то место в functions_attach.php
#58
Could not get Attachment Informations for post number 10109
лог: [04-Oct-2011 18:43:05] PHP Notice: Undefined variable: userdata in C:\nimp\htdocs\btclub.org\attach_mod\includes\functions_attach.php on line 457
На строчку $user_id = $userdata['user_id'];
Инструкция
#
#-----[ OPEN ]---------------------------------
#
attach_mod/includes/functions_attach.php

#
#-----[ FIND ]---------------------------------
  $attachments = array();

#
#-----[ AFTER, ADD ]---------------------------------
#
//Thanks mod
$user_id = $userdata['user_id'];
//End
Топик прочёл, в R298 нет второй $attachments = array();.
#59
Could not get Attachment Informations for post number 10109
лог: [04-Oct-2011 18:43:05] PHP Notice: Undefined variable: userdata in C:\nimp\htdocs\btclub.org\attach_mod\includes\functions_attach.php on line 457
На строчку $user_id = $userdata['user_id'];
Инструкция
#
#-----[ OPEN ]---------------------------------
#
attach_mod/includes/functions_attach.php

#
#-----[ FIND ]---------------------------------
  $attachments = array();

#
#-----[ AFTER, ADD ]---------------------------------
#
//Thanks mod
$user_id = $userdata['user_id'];
//End
Топик прочёл, в R298 нет второй $attachments = array();.

обновил архив первом посте. в инструкции написано подробно куда и что вставить. смотрите функционс аттач.

за одно и окраску добавил в список поблагодаривших
#60
PheRum Большое спасибо.Сейчас буду тестить.