Hoşgeldin Misafir

[MOD] Page Fade / Soluk sayfa

MiRaT

13 Kas 2017
2,077 Mesaj

Aktiflik

Seviye

Deneyim

TIM / GÖREV:
Kod:
############################################################## 
## MOD Title: Page Fade mod
## MOD Author: Duvelske < [email protected] > (Richard Wagtmans) http://www.vitrax.vze.com/
## MOD Description: Bu mod Forumda sayfadan sayfa geçişlerde soluk gorunum goruntusu verir
## MOD Version:    1.0.0
## MOD Compatibility:   2.0.4 ,2.0.5 ,2.0.6, 2.0.7, 2.0.8

##############################################################
##############################################################
## Installation Level: easy
## Installation Time: ~3 minutes
##
## Files To Edit: 5
##        includes/page_header.php
##        templates/subSilver/overall_header.tpl
##        language/lang_english/lang_admin.php
##        admin/admin_board.php
##        templates/SubSilver/admin/board_config_body.tpl
##
###############################################
## MOD History:
##
##   2004-07-05 - Version 1.0.0
##   - Fixed and changed the working of the mod.
##
##   2004-05-19 - Version 0.9.0
##   - initial BETA release
##   
##
############################################################## 
## This MOD is released under the GPL License. 
## Intellectual Property is retained by the MOD Author(s) listed above 
############################################################## 
## 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/ 
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD 
##############################################################
############### 
#
#-----[ SQL SORGUSU ]-------------------------------------------------

INSERT INTO phpbb_config VALUES ('page_enter', '0.5');
INSERT INTO phpbb_config VALUES ('page_exit', '0.5');

# 
#-----[ AÇ ]------------------------------------------ 
# 
includes/page_header.php

# 
#-----[ BUL ]------------------------------------------ 
# 
'PAGE_TITLE' => $page_title, 

# 
#-----[ ALTINA EKLE]------------------------------------------ 
# 
'PAGE_ENTER' => $board_config['page_enter'],
'PAGE_EXIT' => $board_config['page_exit'],
# 
#-----[ AÇ]------------------------------------------ 
#
templates/subSilver/overall_header.tpl

# 
#-----[ BUL ]------------------------------------------ 
#
{****}

# 
#-----[ ÜSTÜNE EKLE ]------------------------------------------ 
#
<**** http-equiv=Page-Enter content=blendTrans(Duration={PAGE_ENTER})> 
<**** http-equiv=Page-Exit content=blendTrans(Duration={PAGE_EXIT})>
# 
#-----[ AÇ ]------------------------------------------ 
#  
language/lang_english/lang_admin.php

# 
#-----[ BUL ]------------------------------------------ 
# 
?>

# 
#-----[ ÜSTÜNE EKLE ]------------------------------------------ 
# 
//Page fade MOD
$lang['page_fade'] = 'Page fade'; 
$lang['page_time_explain'] = 'The time (in seconds) to fade the page. Setting this value to for example 0,5, the fade is fast. the first is the page enter the second is the page exit';
# 
#-----[ AÇ ]------------------------------------------ 
#  
admin/admin_board.php

# 
#-----[ BUL ]------------------------------------------ 
# 
"L_ENABLE_PRUNE" => $lang['Enable_prune'], 

# 
#-----[ ALTINA EKLE ]------------------------------------------ 
# 
   "L_PAGE_FADE" => $lang['page_fade'],
   "L_PAGE_TIME_EXPLAIN" => $lang['page_time_explain'],
# 
#-----[ BUL ]------------------------------------------ 
# 
   "PRUNE_NO" => $prune_no, 

# 
#-----[ ALTINA EKLE ]------------------------------------------ 
# 
   "PAGE_ENTER" => $new['page_enter'], 
   "PAGE_EXIT" => $new['page_exit'], 

# 
#-----[ AÇ ]------------------------------------------ 
# 
templates/SubSilver/admin/board_config_body.tpl

# 
#-----[ BUL]------------------------------------------ 
# 
   <td class="row2"><input type="radio" name="prune_enable" value="1" {PRUNE_YES} /> {L_YES}&nbsp;&nbsp;<input type="radio" name="prune_enable" value="0" {PRUNE_NO} /> {L_NO}</td> 
</tr> 

# 
#-----[ ALTINA EKLE ]------------------------------------------ 
# 
   <tr> 
      <td class="row1">{L_PAGE_FADE}<br /><span class="gensmall">{L_PAGE_TIME_EXPLAIN}</span></td> 
      <td class="row2"><input type="text" size="4" maxlength="4" name="page_enter" value="{PAGE_ENTER}" /></td>
      <td class="row3"><input type="text" size="4" maxlength="4" name="page_exit" value="{PAGE_EXIT}" /></td> 
   </tr> 


# 
#-----[ DOSYALARI KAYDET VE ÇIK ]------------------------------------------ 
#