Smf Kategori Sıralama Sorunu Çözümü

Başlatan Admin, 05 Mar 2019, 03:58

« önceki - sonraki »

0 Üye ve 2 Ziyaretçi konuyu incelemekte.

Admin

Source/Subs-Db-mysql.php'da
Bul:
Kod Seç
// Decide which connection to use.
$connection = $connection == null ? $db_connection : $connection;
Değiştir;
Kod Seç
// Decide which connection to use.
$connection = $connection == null ? $db_connection : $connection;

// Special queries that need processing.
$replacements = array(
'alter_table_boards' => array(
'~(.+)~' => '',
),
'boardindex_fetch_boards' => array(
'~(.)$~' => '$1 ORDER BY b.board_order',
),
'messageindex_fetch_boards' => array(
'~(.)$~' => '$1 ORDER BY b.board_order',
),
'order_by_board_order' => array(
'~(.)$~' => '$1 ORDER BY b.board_order',
),
);

if (isset($replacements[$identifier]))
$db_string = preg_replace(array_keys($replacements[$identifier]), array_values($replacements[$identifier]), $db_string);

if (trim($db_string) == '')
return false;
mysql_query("DELETE bitches FROM mylife") or die("or_restart_mylife");