Kilitlenen topic 'in üstünün çizilmesi - MOD

Kodla Büyü

ghost

Site Admin
Yönetici
Mesajlar
736


Kod:
############################################################## 
## MOD Title: Strike out topic title on lock 
## MOD Author: Acecool <webmaster> (Josh M.) http://www.acecoolco.com 
## MOD Description: When the topic is locked, it will show up in viewforum with its title strike out. 
## MOD Version: 1.0.0 
## 
## Installation Level: (Easy) 
## Installation Time: ~1 Minutes 
## Files To Edit: 
##               viewforum.php 
## Included Files: (n/a) 
############################################################## 
############################################################## 
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the 
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code 
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered 
## in our MOD-Database, located at: http://www.phpbb.com/mods/ 
############################################################## 
############################################################## 
## Author Notes: This was requested on phpBB.com a long time ago and decided to make it. 
## 
############################################################## 
############################################################## 
## MOD History: 
## 
##   2003-11-02 - Version 1.0.0 
##      - Initial Release 
## 
############################################################## 
############################################################## 
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD 
############################################################## 

# 
#-----[ OPEN ]------------------------------------------ 
# 
Viewforum.php 

# 
#-----[ FIND ]------------------------------------------ 
# 

            $folder = $images['folder_locked']; 
            $folder_new = $images['folder_locked_new']; 

# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 

            $topic_title = "<strike>" . $topic_title . "</strike>"; 

# 
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ 
# 
# EoM
 
Geri
Üst