kurulum süresi 1 dakika , kolay gelsin
- Kod: Tümünü seç
##############################################################
## MOD Title: Locked at the end 1.2.5
## MOD Author: Niels < ncr@db9.dk > (Niels Chr. Rød) http://mods.db9.dk
## MOD Description: Makes locked topic shows last in the topic's
## page list that way, making them "out of
## sigt, out of mind".
## MOD Version: 1.2.5
## MOD Compatibility: 2.0.x
##
## Installation Level: Easy
## Installation Time: 2 Minutes (1mn by EasyMOD of Nuttzy)
## Files To Edit: 3
## modcp.php
## search.php
## viewforum.php
##
## Included Files: 0
##
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ OPEN ]------------------------------------------------
#
modcp.php
#
#-----[ FIND ]------------------------------------------------
#
ORDER BY t.topic_type DESC
#
#-----[ IN-LINE FIND ]----------------------------------------
#
t.topic_type DESC
#
#-----[ IN-LINE AFTER, ADD ]----------------------------------
#
, t.topic_status ASC
#
#-----[ OPEN ]------------------------------------------------
#
search.php
#
#-----[ FIND ]------------------------------------------------
#
$sql .= " ORDER BY ";
#
#-----[ AFTER, ADD ]------------------------------------------
#
// Start add - Locked at the end MOD
$sql .= ' t.topic_type DESC,t.topic_status ASC, ';
// End add - Locked at the end MOD
#
#-----[ OPEN ]------------------------------------------------
#
viewforum.php
#
#-----[ FIND ]------------------------------------------------
#
ORDER BY t.topic_type DESC
#
#-----[ IN-LINE FIND ]----------------------------------------
#
t.topic_type DESC
#
#-----[ IN-LINE AFTER, ADD ]----------------------------------
#
, t.topic_status ASC
#
#-----[ SAVE/CLOSE ALL FILES ]--------------------------------
#
# EoM
buyrun demosu;