[Submitted] -- Strikeout on lock

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment! No new topics are allowed in this forum.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: MOD Development Forum rules

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
Locked
Acecool
Registered User
Posts: 1013
Joined: Sat Jul 13, 2002 4:51 am
Location: Behind my computer
Contact:

[Submitted] -- Strikeout on lock

Post 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 < webmaster@acecoolco.com > (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
Visit Acecoolco.com :: Image

If you plan on contacting me, please read this: Legal Terms & Conditions

mm3guy
Registered User
Posts: 197
Joined: Tue Oct 14, 2003 8:13 pm

Post by mm3guy »

You should be proud that Rapid Dr3am is using it on his site :mrgreen:

ycl6
Translator
Posts: 5696
Joined: Sat Feb 15, 2003 10:35 am
Location: Taiwan
Contact:

Post by ycl6 »

so simple yet do the job :o

~Mac

Rapid Dr3am
Registered User
Posts: 198
Joined: Sun Jul 13, 2003 4:14 pm
Location: Incommunicado
Contact:

Post by Rapid Dr3am »

Works good, and a nice little cosmetic change. :D

Acecool
Registered User
Posts: 1013
Joined: Sat Jul 13, 2002 4:51 am
Location: Behind my computer
Contact:

Post 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
Visit Acecoolco.com :: Image

If you plan on contacting me, please read this: Legal Terms & Conditions

User avatar
smithy_dll
Former Team Member
Posts: 7630
Joined: Tue Jan 08, 2002 6:27 am
Location: Australia
Name: Lachlan Smith
Contact:

Post by smithy_dll »

Locked under this document. Details for reclaiming the thread are within.

Locked

Return to “[2.0.x] MODs in Development”