Hoşgeldin Misafir

[MOD] Extra Color / Extra Renkler

MiRaT

13 Kas 2017
2,077 Mesaj

Aktiflik

Seviye

Deneyim

TIM / GÖREV:
-Bu mod satesinde mesaj yazma alanındaki reklerin sayısını arttırabilr ve artık mesajlarınızı dahada renk seçeneği kullanarak yazabilrsiniz. --


Kod:
 ################################################################# 
## Mod İSMİ: XtraColors 
## Mod YAPIMCISI: Jamer <[email protected]> (Colin James) www.jamer.co.uk/scripts/phpbb2 
## Mod AÇIKLAMASI: This will add twelve additional colors to the drop down box, when posting/replying to a 
## message or private message. 
## Mod VERSİYONU: 1.0 
## 
## KURULUM SEVİYESİ: ORTA 
## KURULUM SÜRESİ 10 DK 
## Files To Edit: posting.php, privmsg.php,language\lang_english\lang_main.php,templates\subSilver\posting_body.tpl, 
## Included Files N/A 
################################################################# 
## For Security Purposes, Please Check: http://www.phpbb.com/mods/downloads/ 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/downloads/ 
################################################################# 
## Author Note: 
## Visit my site here for a DEMO: http://www.jamer.co.uk/scripts/phpbb2
## & use the Starting Grid Forum to test it! 
## support: [email protected] 
################################################################# 
## 
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD 
################################################################# 
# 
#-----[ OPEN ]------------------------------------------ 
#

posting.php 

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

'L_COLOR_BLACK' => $lang['color_black'], 

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

'L_COLOR_CADET_BLUE' => $lang['color_cadet_blue'], 
'L_COLOR_CORAL' => $lang['color_coral'], 
'L_COLOR_CRIMSON' => $lang['color_crimson'], 
'L_COLOR_TOMATO' => $lang['color_tomato'], 
'L_COLOR_SEA_GREEN' => $lang['color_sea_green'], 
'L_COLOR_DARK_ORCHID' => $lang['color_dark_orchid'],
'L_COLOR_CHOCOLATE' => $lang['color_chocolate'],
'L_COLOR_DEEPSKYBLUE' => $lang['color_deepskyblue'], 
'L_COLOR_GOLD' => $lang['color_gold'], 
'L_COLOR_GRAY' => $lang['color_gray'], 
'L_COLOR_MIDNIGHTBLUE' => $lang['color_midnightblue'], 
'L_COLOR_DARKGREEN' => $lang['color_darkgreen'], 


# 
#-----[ OPEN ]------------------------------------------ 
# 

privmsg.php 

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

'L_COLOR_BLACK' => $lang['color_black'], 

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

'L_COLOR_CADET_BLUE' => $lang['color_cadet_blue'], 
'L_COLOR_CORAL' => $lang['color_coral'], 
'L_COLOR_CRIMSON' => $lang['color_crimson'], 
'L_COLOR_TOMATO' => $lang['color_tomato'], 
'L_COLOR_SEA_GREEN' => $lang['color_sea_green'], 
'L_COLOR_DARK_ORCHID' => $lang['color_dark_orchid'],
'L_COLOR_CHOCOLATE' => $lang['color_chocolate'],
'L_COLOR_DEEPSKYBLUE' => $lang['color_deepskyblue'], 
'L_COLOR_GOLD' => $lang['color_gold'], 
'L_COLOR_GRAY' => $lang['color_gray'], 
'L_COLOR_MIDNIGHTBLUE' => $lang['color_midnightblue'], 
'L_COLOR_DARKGREEN' => $lang['color_darkgreen'], 

#
#-----[ OPEN ]------------------------------------------ 
# 

Language/lang_english/lang_main.php 

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

$lang['color_black'] = 'Black'; 

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

$lang['color_cadet_blue'] = 'Cadet Blue'; 
$lang['color_coral'] = 'Coral'; 
$lang['color_crimson'] = 'Crimson'; 
$lang['color_tomato'] = 'Tomato'; 
$lang['color_sea_green'] = 'Sea Green'; 
$lang['color_dark_orchid'] = 'Dark Orchid';
$lang['color_chocolate'] = 'Chocolate';
$lang['color_deepskyblue'] = 'Deepskyblue';
$lang['color_gold'] = 'Gold';
$lang['color_gray'] = 'Gray';
$lang['color_midnightblue'] = 'Midnightblue';
$lang['color_darkgreen'] = 'DarkGreen';

# 
#-----[ OPEN ]------------------------------------------ 
# 

templates/subSilver/posting_body.tpl 

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

<option style="color:black; background-color: {T_TD_COLOR1}" value="black" class="genmed">{L_COLOR_BLACK}</option> 

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

<option style="color:cadetblue; background-color: {T_TD_COLOR1}" value="cadetblue" class="genmed">{L_COLOR_CADET_BLUE}</option> 
<option style="color:coral; background-color: {T_TD_COLOR1}" value="coral" class="genmed">{L_COLOR_CORAL}</option> 
<option style="color:crimson; background-color: {T_TD_COLOR1}" value="crimson" class="genmed">{L_COLOR_CRIMSON}</option> 
<option style="color:tomato; background-color: {T_TD_COLOR1}" value="tomato" class="genmed">{L_COLOR_TOMATO}</option> 
<option style="color:seagreen; background-color: {T_TD_COLOR1}" value="seagreen" class="genmed">{L_COLOR_SEA_GREEN}</option> 
<option style="color:darkorchid; background-color: {T_TD_COLOR1}" value="darkorchid" class="genmed">{L_COLOR_DARK_ORCHID}</option> 
<option style="color:chocolate; background-color: {T_TD_COLOR1}"value="chocolate" class="genmed">{L_COLOR_CHOCOLATE}</option>
<option style="color:deepskyblue; background-color: {T_TD_COLOR1}" value="deepskyblue" class="genmed">{L_COLOR_DEEPSKYBLUE}</option>
<option style="color:gold; background-color: {T_TD_COLOR1}" value="gold" class="genmed">{L_COLOR_GOLD}</option>
<option style="color:gray; background-color: {T_TD_COLOR1}" value="gray" class="genmed">{L_COLOR_GRAY}</option>
<option style="color:midnightblue; background-color: {T_TD_COLOR1}" value="midnightblue" class="genmed">{L_COLOR_MIDNIGHTBLUE}</option>
<option style="color:darkgreen; background-color: {T_TD_COLOR1}" value="darkgreen" class="genmed">{L_COLOR_DARKGREEN}</option>

# 
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ 
# 
# EoM