- Kod: Tümünü seç
##############################################################
## MOD Title: Lycos ad mod
## MOD Author: Duvelske (vitrax@planet.nl) http://www.vitrax.vze.com
## MOD Description: Taking the lycos advertising away, and fixes some lycos bugs
##
## MOD Version: 1.0.6
## Compatibility: all
##
## Installation Level: Easy
## Installation Time: 5 minutes (less then a 1mn by EasyMOD of Nuttzy)
##
## Included Files:
## lycos_db_update.php
## Printer-friendly_topic_add_remove.txt
## Complete_banner_add_remove.txt
##
##
## Files To Edit: 6
## templates/subSilver/overall_footer.tpl
## templates/subSilver/posting_topic_review.tpl
## templates/subSilver/posting_body.tpl
## templates/subSilver/profile_add_body.tpl
## templates/subSilver/viewtopic_body.tpl
## templates/subSilver/admin/page_footer.tpl
##
##############################################################
## For Security Purposes, Please Check: http://www.vitrax.vze.com/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum.
##############################################################
## Author Notes:
##
## This MOD is compatible and can be installed by EasyMOD
## of Nuttzy (but is not officially EasyMOD Compliant)!
## http://www.phpbb.com/phpBB/viewtopic.php?t=124436
##
## In any case, if you install this MOD manually or using an
## alpha release of EM, please run this file NOW, before
## editing phpBB files by EM or manually!!!
## Otherwise, you may have an error message during your next
## connection.
##
##############################################################
## MOD History:
## 2004-04-12 Version 1.0.6
## - Redirecting updated (the banner mod of niels mods.db9.dk)
## - Printer-friendly topic mod updated. (new version)
##
## 2004-01-31 Version 1.0.5
## - Printer-friendly topic mod supported
## - Made 2 new install files for the Printer friendly topic mod
## And for the Complete banner mod.
##
## 2004-01-21 Version 1.0.4
## - Redirecting supported (the banner mod of niels mods.db9.dk)
##
## 2004-01-02 Version 1.0.3
## - Admin panel Addfree
## - Some minor bug changes
##
## 2003-12-14 Version 1.0.2
## - Notice function disabled because of error after reply
## - lycos_db_update.php file added
##
## 2003-12-4 Version 1.0.1
## - Bug fix Attachment mod
## - Official Lycos Mod. (also approved by lycos! Read licence for
## further information)
##
## 2003-11-4 Version 1.0.0
## - Make it em compatible
##
## 2003-7-14 Version beta 0.9.0
## - fixed some beta errors
##
##############################################################
#
#-----[ SQL ]------------------------------------------------
#
# Clear the table topics_watch in your database.
# Run the automatic update.php file in the root of your forum!
#
#-----[ OPEN ]------------------------------------------------
#
templates/subSilver/admin/page_footer.tpl
#
#-----[ FIND ]------------------------------------------------
#
</html>
#
#-----[ AFTER, ADD ]------------------------------------------
#
<noscript><noscript><plaintext><plaintext>
#
#-----[ OPEN ]------------------------------------------------
#
templates/subSilver/overall_footer.tpl
#
#-----[ FIND ]------------------------------------------------
#
</html>
#
#-----[ AFTER, ADD ]------------------------------------------
#
<script language=javascript>
function lycosBreak()
{
if(typeof("DeleteCookie")=="function")DeleteCookie("adFrameForcePHP");
}
lycosBreak()
function resizeGoogleAdFrame() {
if (window != top) window.parent.document.body.cols = "*,0";
}
resizeGoogleAdFrame()
//setInterval("lycosBreak()",2000);
if (window != top) setInterval("resizeGoogleAdFrame()", 100);// lower is better
</script>
<noscript><noscript><plaintext><plaintext>
#
#-----[ OPEN ]------------------------------------------------
#
templates/subSilver/posting_topic_review.tpl
#
#-----[ FIND ]------------------------------------------------
#
</table>
<!-- END switch_inline_mode -->
#
#-----[ AFTER, ADD ]------------------------------------------
#
<script language=javascript>
function lycosBreak()
{
if(typeof("DeleteCookie")=="function")DeleteCookie("adFrameForcePHP");
}
lycosBreak()
function resizeGoogleAdFrame() {
if (window != top) window.parent.document.body.cols = "*,0";
}
resizeGoogleAdFrame()
//setInterval("lycosBreak()",2000);
if (window != top) setInterval("resizeGoogleAdFrame()", 100);// lower is better
</script>
<noscript><noscript><plaintext><plaintext>
#
#-----[ OPEN ]------------------------------------------------
#
templates/subSilver/posting_body.tpl
#
#-----[ FIND ]------------------------------------------------
#
<!-- BEGIN switch_notify_checkbox -->
<tr>
<td>
<input type="checkbox" name="notify" {S_NOTIFY_CHECKED} />
</td>
<td><span class="gen">{L_NOTIFY_ON_REPLY}</span></td>
</tr>
<!-- END switch_notify_checkbox -->
#
#-----[ REPLACE WITH ]---------------------------------------
#
<!-- Lycos mod -->
#
#-----[ OPEN ]------------------------------------------------
#
templates/subSilver/viewtopic_body.tpl
#
#-----[ FIND ]------------------------------------------------
#
{S_WATCH_TOPIC}
#
#-----[ REPLACE WITH ]---------------------------------------
#
<!-- Lycos mod -->
#
#-----[ OPEN ]------------------------------------------------
#
templates/subSilver/profile_add_body.tpl
#
#-----[ FIND ]------------------------------------------------
#
<tr>
<td class="row1"><span class="gen">{L_NOTIFY_ON_REPLY}:</span><br />
<span class="gensmall">{L_NOTIFY_ON_REPLY_EXPLAIN}</span></td>
<td class="row2">
<input type="radio" name="notifyreply" value="1" {NOTIFY_REPLY_YES} />
<span class="gen">{L_YES}</span>
<input type="radio" name="notifyreply" value="0" {NOTIFY_REPLY_NO} />
<span class="gen">{L_NO}</span></td>
</tr>
#
#-----[ REPLACE WITH ]---------------------------------------
#
<!-- Lycos mod -->
#
#-----[ SAVE/CLOSE ALL FILES ]--------------------------------
#
#EoM