|
phpBB forumunda phpBB 2.0.8 Çıktı (2.0.7 dan 2.0.8 e değişecek dosyalar) konu başlığının kısa özeti; 2.0.7 dan 2.0.8 e değişecek dosyalar
Dosyaları editledikten sonra www.phpbb.com dan indireceğiniz phpBB 2.0.8 klasöründeki install klasörünü phpBB dosyalarınızın olduğu ana dizine atın ve http://do...
|
1. sayfa (Toplam 1 sayfa) |
Bu başlığı gezen kullanıcılar:0 Kayıtlı, 0 Gizli, 0 Misafir ve 0 Bot Kayıtlı Kullanıcılar: Yok
|
| Yazar |
Mesaj |
taNGo
WebMaster


Kayıt: 23 Haziran 2003
Mesajlar: 2514
Tema: FI Subgrey (33)
Nerden: Geriden
Yaş: 27


Puan: 5248
|
2.0.7 dan 2.0.8 e değişecek dosyalar
Dosyaları editledikten sonra www.phpbb.com dan indireceğiniz phpBB 2.0.8 klasöründeki install klasörünü phpBB dosyalarınızın olduğu ana dizine atın ve http://domainadresiniz.com/phpBBdizini/install/update_to_208.php adresine gidip yüklemenin tamamlanmasını bekleyin.Daha sonra install klasörünü olduğu gibi silin.
Kodlar için Türkçe Çeviriler;
FIND = KODU BUL
LINE = SATIR NUMARASI
AFTER,ADD = DOSYADAKİ KODUN ALTINA(ARDINDAN) EKLE
REPLACE,WITH = KODU BUNUNLA DEĞİŞTİR
BEFORE,ADD = DOSYADAKİ KODUN ÖNCESİNE EKLE
- admin/admin_forumauth.php
-
FIND - Line 105
$simple_ary = $simple_auth_ary[$HTTP_POST_VARS['simpleauth']];
for($i = 0; $i < count($simple_ary); $i++)
{
$sql .= ( ( $sql != '' ) ? ', ' : '' ) . $forum_auth_fields[$i] . ' = ' . $simple_ary[$i];
}
$sql = "UPDATE " . FORUMS_TABLE . " SET $sql WHERE forum_id = $forum_id";
}
else
{
for($i = 0; $i < count($forum_auth_fields); $i++)
{
$value = $HTTP_POST_VARS[$forum_auth_fields[$i]];
REPLACE WITH
$simple_ary = $simple_auth_ary[intval($HTTP_POST_VARS['simpleauth'])];
for($i = 0; $i < count($simple_ary); $i++)
{
$sql .= ( ( $sql != '' ) ? ', ' : '' ) . $forum_auth_fields[$i] . ' = ' . $simple_ary[$i];
}
if (is_array($simple_ary))
{
$sql = "UPDATE " . FORUMS_TABLE . " SET $sql WHERE forum_id = $forum_id";
}
}
else
{
for($i = 0; $i < count($forum_auth_fields); $i++)
{
$value = intval($HTTP_POST_VARS[$forum_auth_fields[$i]]);
-
FIND - Line 60
$mode = ( isset($HTTP_POST_VARS['mode']) ) ? $HTTP_POST_VARS['mode'] : $HTTP_GET_VARS['mode'];
AFTER, ADD
$mode = htmlspecialchars($mode);
-
FIND - Line 54
$mode = ( isset($HTTP_POST_VARS['mode']) ) ? $HTTP_POST_VARS['mode'] : $HTTP_GET_VARS['mode'];
AFTER, ADD
$mode = htmlspecialchars($mode);
-
FIND - Line 43
$mode = ($HTTP_GET_VARS['mode']) ? $HTTP_GET_VARS['mode'] : $HTTP_POST_VARS['mode'];
AFTER, ADD
$mode = htmlspecialchars($mode);
-
FIND - Line 62
$mode = ( isset($HTTP_POST_VARS['mode']) ) ? $HTTP_POST_VARS['mode'] : $HTTP_GET_VARS['mode'];
AFTER, ADD
$mode = htmlspecialchars($mode);
-
FIND - Line 319
$smiley_id = ( !empty($HTTP_POST_VARS['id']) ) ? $HTTP_POST_VARS['id'] : $HTTP_GET_VARS['id'];
AFTER, ADD
$smiley_id = intval($smiley_id);
-
FIND - Line 340
$smiley_id = ( !empty($HTTP_POST_VARS['id']) ) ? $HTTP_POST_VARS['id'] : $HTTP_GET_VARS['id'];
AFTER, ADD
$smiley_id = intval($smiley_id);
-
FIND - Line 61
$mode = ( isset($HTTP_GET_VARS['mode']) ) ? $HTTP_GET_VARS['mode'] : $HTTP_POST_VARS['mode'];
AFTER, ADD
$mode = htmlspecialchars($mode);
-
FIND - Line 492
$style_id = $HTTP_GET_VARS['style_id'];
REPLACE WITH
$style_id = intval($HTTP_GET_VARS['style_id']);
-
FIND - Line 707
WHERE template_name = '$template_name'";
REPLACE WITH
WHERE template_name = '" . str_replace("\'", "''", $template_name) . "'";
-
FIND - Line 60
$user_id = intval($user_id);
$group_id = intval($group_id);
AFTER, ADD
$adv = intval($adv);
$mode = htmlspecialchars($mode);
-
FIND - Line 280
$where_sql .= ( ( $where_sql != '' ) ? ', ' : '' ) . $user_list[$i];
REPLACE WITH
$where_sql .= ( ( $where_sql != '' ) ? ', ' : '' ) . intval($user_list[$i]);
-
FIND - Line 293
$where_sql .= ( ( $where_sql != '' ) ? ', ' : '' ) . $ip_list[$i];
REPLACE WITH
$where_sql .= ( ( $where_sql != '' ) ? ', ' : '' ) . str_replace("\'", "''", $ip_list[$i]);
-
FIND - Line 306
$where_sql .= ( ( $where_sql != '' ) ? ', ' : '' ) . $email_list[$i];
REPLACE WITH
$where_sql .= ( ( $where_sql != '' ) ? ', ' : '' ) . str_replace("\'", "''", $email_list[$i]);
-
FIND - Line 52
$mode = ( isset( $HTTP_POST_VARS['mode']) ) ? $HTTP_POST_VARS['mode'] : $HTTP_GET_VARS['mode'];
AFTER, ADD
$mode = htmlspecialchars($mode);
-
FIND - Line 842
$category = $HTTP_POST_VARS['avatarcategory'];
REPLACE WITH
$category = htmlspecialchars($HTTP_POST_VARS['avatarcategory']);
-
FIND - Line 44
$mode = ($HTTP_GET_VARS['mode']) ? $HTTP_GET_VARS['mode'] : $HTTP_POST_VARS['mode'];
AFTER, ADD
$mode = htmlspecialchars($mode);
-
FIND - Line 67
$word_id = ( isset($HTTP_GET_VARS['id']) ) ? $HTTP_GET_VARS['id'] : 0;
REPLACE WITH
$word_id = ( isset($HTTP_GET_VARS['id']) ) ? intval($HTTP_GET_VARS['id']) : 0;
-
FIND - Line 117
$word_id = ( isset($HTTP_POST_VARS['id']) ) ? $HTTP_POST_VARS['id'] : 0;
REPLACE WITH
$word_id = ( isset($HTTP_POST_VARS['id']) ) ? intval($HTTP_POST_VARS['id']) : 0;
-
FIND - Line 154
if( isset($HTTP_POST_VARS['id']) || isset($HTTP_GET_VARS['id']) )
{
$word_id = ( isset($HTTP_POST_VARS['id']) ) ? $HTTP_POST_VARS['id'] : $HTTP_GET_VARS['id'];
AFTER, ADD
$word_id = intval($word_id);
-
FIND - Line 59
redirect($url);
REPLACE WITH
redirect("index.$phpEx?sid=" . $userdata['session_id']);
-
FIND - Line 284
$text = preg_replace("#\[img\]((ht|f)tp://)([^\r\n\t<\"]*?)\[/img\]#sie", "'[img:$uid]\\1' . str_replace(' ', '%20', '\\3') . '[/img:$uid]'", $text);
REPLACE WITH
$text = preg_replace("#\[img\]((ht|f)tp://)([^ \?&=\"\n\r\t<]*?(\.(jpg|jpeg|gif|png)))\[/img\]#sie", "'[img:$uid]\\1' . str_replace(' ', '%20', '\\3') . '[/img:$uid]'", $text);
- includes/functions_search.html
-
FIND - Line 201
$value_sql .= ( ( $value_sql != '' ) ? ', ' : '' ) . '(\'' . $word[$i] . '\', 0)';
break;
case 'mssql':
AFTER, ADD
case 'mssql-odbc':
-
FIND - Line 226
VALUES $value_sql";
break;
case 'mssql':
AFTER, ADD
case 'mssql-odbc':
- includes/usercp_register.php
-
FIND - Line 180
$user_avatar_local = ( isset($HTTP_POST_VARS['avatarselect']) && !empty($HTTP_POST_VARS['submitavatar']) && $board_config['allow_avatar_local'] ) ? $HTTP_POST_VARS['avatarselect'] : ( ( isset($HTTP_POST_VARS['avatarlocal']) ) ? htmlspecialchars($HTTP_POST_VARS['avatarlocal']) : '' );
REPLACE WITH
$user_avatar_local = ( isset($HTTP_POST_VARS['avatarselect']) && !empty($HTTP_POST_VARS['submitavatar']) && $board_config['allow_avatar_local'] ) ? htmlspecialchars($HTTP_POST_VARS['avatarselect']) : ( ( isset($HTTP_POST_VARS['avatarlocal']) ) ? htmlspecialchars($HTTP_POST_VARS['avatarlocal']) : '' );
-
FIND - Line 86
$url = ( !empty($HTTP_POST_VARS['redirect']) ) ? htmlspecialchars($HTTP_POST_VARS['redirect']) : "index.$phpEx";
REPLACE WITH
$url = ( !empty($HTTP_POST_VARS['redirect']) ) ? str_replace('&', '&', htmlspecialchars($HTTP_POST_VARS['redirect'])) : "index.$phpEx";
-
FIND - Line 96
$redirect = ( !empty($HTTP_POST_VARS['redirect']) ) ? htmlspecialchars($HTTP_POST_VARS['redirect']) : '';
REPLACE WITH
$redirect = ( !empty($HTTP_POST_VARS['redirect']) ) ? str_replace('&', '&', htmlspecialchars($HTTP_POST_VARS['redirect'])) : '';
-
FIND - Line 111
$redirect = ( !empty($HTTP_POST_VARS['redirect']) ) ? htmlspecialchars($HTTP_POST_VARS['redirect']) : "";
REPLACE WITH
$redirect = ( !empty($HTTP_POST_VARS['redirect']) ) ? str_replace('&', '&', htmlspecialchars($HTTP_POST_VARS['redirect'])) : "";
-
FIND - Line 133
if (!empty($HTTP_POST_VARS['redirect']) || !empty($HTTP_GET_VARS['redirect']))
{
$url = (!empty($HTTP_POST_VARS['redirect'])) ? htmlspecialchars($HTTP_POST_VARS['redirect']) : htmlspecialchars($HTTP_GET_VARS['redirect']);
AFTER, ADD
$url = str_replace('&', '&', $url);
-
FIND - Line 143
$url = ( !empty($HTTP_POST_VARS['redirect']) ) ? htmlspecialchars($HTTP_POST_VARS['redirect']) : "index.$phpEx";
REPLACE WITH
$url = ( !empty($HTTP_POST_VARS['redirect']) ) ? str_replace('&', '&', htmlspecialchars($HTTP_POST_VARS['redirect'])) : "index.$phpEx";
-
FIND - Line 2079
if ( $row = $db->sql_fetchrow($result) )
{
AFTER, ADD
$i = 0;
-
FIND - Line 2114
$row_color = ( !($i % 2) ) ? $theme['td_color1'] : $theme['td_color2'];
$row_class = ( !($i % 2) ) ? $theme['td_class1'] : $theme['td_class2'];
AFTER, ADD
$i++;
-
FIND - Line 72
$search_id = ( isset($HTTP_GET_VARS['search_id']) ) ? $HTTP_GET_VARS['search_id'] : '';
$show_results = ( isset($HTTP_POST_VARS['show_results']) ) ? $HTTP_POST_VARS['show_results'] : 'posts';
AFTER, ADD
$show_results = ($show_results == 'topics') ? 'topics' : 'posts';
-
FIND - Line 148
else if ( $search_keywords != '' || $search_author != '' || $search_id )
{
$store_vars = array('search_results', 'total_match_count', 'split_search', 'sort_by', 'sort_dir', 'show_results', 'return_chars');
AFTER, ADD
$search_results = '';
|
|
_________________ phpBB Turkish Support | http://www.esqare.com
|
|
| Oylanmadı
|
       |
 |
Romulus
Lover of TurkiyeForum


Kayıt: 23 Mart 2004
Mesajlar: 784
Tema: Parthenos (27401)
Nerden: Chicago
Yaş: 85


Puan: 1780
|
esquare kardes valla bi program yokmu bunlari o otamatik yapsin  |
|
|
_________________
Ah Keskem Keskem of keskem keskem
|
|
| Oylanmadı
|
     |
 |
taNGo
WebMaster


Kayıt: 23 Haziran 2003
Mesajlar: 2514
Tema: FI Subgrey (33)
Nerden: Geriden
Yaş: 27


Puan: 5248
|
|
| Oylanmadı
|
       |
 |
DeJaVu
Slow Friend


Kayıt: 06 Şubat 2004
Mesajlar: 25
Tema: Parthenos (27401)
Nerden: Mersin
Yaş: 22


Puan: 33
|
ben de çok aradım böyle bir program ama yoq..Ama ilerde program la ilgili bir üniv. okursam ben yapacam |
|
|
_________________ http://www.eksiportal.com
|
|
| Oylanmadı
|
     |
 |
|
|
|
|
1. sayfa (Toplam 1 sayfa)
|
Bu başlığı gezen kullanıcılar:0 Kayıtlı, 0 Gizli, 0 Misafir ve 0 Bot Kayıtlı Kullanıcılar: Yok
Bu forumda yeni konular açamazsınız Bu forumdaki mesajlara cevap veremezsiniz Bu forumdaki mesajlarınızı değiştiremezsiniz Bu forumdaki mesajlarınızı silemezsiniz Bu forumdaki anketlerde oy kullanamazsınız Bu foruma eklenti dosyaları gönderemezsiniz Bu forumdaki dosyaları indiremezsiniz Bu forumda eklenti önizlemelerini/linklerini görebilirsiniz
|
|