bestbuildpc: Forums
 

 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

XtraColors mod
 
 
Post new topic   Reply to topic    bestbuildpc Forum Index -> RavenNuke -> Mods and Hacks
View previous topic :: View next topic  
Author Message
bestbuildpc
Site Admin
Site Admin


Joined: Jun 30, 2012
Posts: 213
Location: NL

PostPosted: Mon Jun 10, 2013 12:24    Post subject: XtraColors mod Reply with quote

Code:
################################################################# 

## Mod Title: XtraColors
## Mod Author: Jamer <webmaster@jamer.co.uk> (Colin James) www.jamer.co.uk/scripts/phpbb2
## Mod Description: This will add twelve additional colors to the drop down box, when posting/replying to a
## message or private message.
## Mod Version: 1.0
##
## Installation Level: Moderate
## Installation Time: 10 mins
## 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: webmaster@jamer.co.uk
#################################################################
##
## 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
  
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic    bestbuildpc Forum Index -> RavenNuke -> Mods and Hacks All times are GMT + 2 Hours
 
 Page 1 of 1

 

Jump to:   
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001-2008 phpBB Group
 
Forums ©