Page 1 of 1

[Submitted] -- Strikeout on lock

Posted: Sun Nov 02, 2003 2:13 pm
by Acecool
I saw this request a long time ago and decided to make it, took me 2 minutes, Ill put it into the mod template then release.

What does it do:
When a topic is locked, it adds the <strike> tag before the topic title, and at the end so its striked out...


##############################################################
## MOD Title: Strike out topic title on lock
## MOD Author: Acecool < [email protected] > (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

Posted: Mon Nov 03, 2003 1:02 am
by mm3guy
You should be proud that Rapid Dr3am is using it on his site :mrgreen:

Posted: Tue Nov 04, 2003 12:44 am
by ycl6
so simple yet do the job :o

~Mac

Posted: Tue Nov 04, 2003 12:55 am
by Rapid Dr3am
Works good, and a nice little cosmetic change. :D

Posted: Tue Nov 04, 2003 2:41 pm
by Acecool
Thanks :-) And yeah heh..

Im going to finish the search the web hack/mod that adds a form for google etc and a dropdown to change searchengine to search, its done but needs to be styled for subSilver and all that...

Then I can work on the admin special username post info area hack/mod and then we shall see heh

Posted: Sat Oct 08, 2005 11:34 am
by smithy_dll
Locked under this document. Details for reclaiming the thread are within.