############################################################## 
## MOD Title:  ImageShack Panel Addon for SQR
## MOD Author:  NightriderXP < phpBB@4fxearth.net > (N/A) http://4fxearth.net/phpBB2
## MOD Description:
##			This mod adds the ImageShack Upload Panel to the SQR panel so that you can
##			upload your pictures directly to ImageShack where an offsite link will be 
##			made available to include in your messages...
##
## MOD Version:		1.0.0
## 
## Installation Level:	Easy
## Installation Time:	~5 Minutes ( < 1 Minute w/EasyMod ) 
## Files To Edit: 1
##			viewtopic_quickreply.tpl
## Included Files: 0
##
############################################################## 
## 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: 
##
## The ImageShack MOD version 1.0.0 by Nightrider MUST BE installed before this
## MOD addition can work.  This version will not work with the ImageShack MOD version
## 1.2.0 also by Nightrider.  There is a separate ImageShack SQR Addon MOD specifically
## designed for version 1.2.0...
##
## http://4fxearth.net/phpBB2/downloads/phpBB/MODs/Add_Ons/ImageShack/ImageShack_120_SQR_Plus_Addon.zip
## 
## The background color for the ImageShack Panel is set in the iframe.php file.  The color 
## normally matches the color stored in the tr_color2 setting in the theme.info.cfg file 
## found in most templates. Typically to match the ImageShack Panel background color to the  
## template color, just change the body STYLE="background-color setting in the iframe.php 
## file using the hexidecimal value found in the theme.info.cfg file tr_color2 setting...
##
############################################################## 
##
## MOD History:
##
##   2008-05-20 - Version 1.0.0 
##	    - creation date			
## 
############################################################## 
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD 
##############################################################
# 
#-----[ DIY INSTRUCTIONS ]------------------------------------------ 
#
The ImageShack MOD version 1.0.0 by Nightrider MUST BE installed before this
MOD addition can work.  This version will not work with the ImageShack MOD version
1.2.0 also by Nightrider.  There is a separate ImageShack SQR Addon MOD specifically
designed for version 1.2.0...
 
The background color for the ImageShack Panel is set in the iframe.php file.  The color 
normally matches the color stored in the tr_color2 setting in the theme.info.cfg file 
Found in most templates. Typically to match the ImageShack Panel background color to the  
template color, just change the body STYLE="background-color setting in the iframe.php 
file using the hexidecimal value found in the theme.info.cfg file tr_color2 setting...

If you are using multiple templates, you will want to manually edit the viewtopic_quickreply.tpl
file in each alternate template and change subSilver to the name of your template.  The text 
that you need to find and modify looks like this:

templates/subSilver/iframe.php

You will want to change only the word subSilver to the name of your template.  Font case
is important, so make sure the template name you uses matches the name of your template
exactly how you see it in your templates folder...

# 
#-----[ OPEN ]------------------------------------------ 
#
viewtopic.php
# 
#-----[ FIND ]------------------------------------------ 
#
'PAGE_NUMBER' =>
# 
#-----[ AFTER, ADD ]------------------------------------------ 
#
	'THEME_NAME' => $theme['template_name'],
# 
#-----[ OPEN ]------------------------------------------ 
#
templates/subSilver/viewtopic_quickreply.tpl
# 
#-----[ FIND ]------------------------------------------ 
# The actual lines will be longer
<textarea name="message"
# 
#-----[ FIND ]------------------------------------------ 
#
</tr>
# 
#-----[ AFTER, ADD ]------------------------------------------ 
#
		  <tr>
		  	  <td colspan="9"><iframe src="templates/{THEME_NAME}/iframe.php" scrolling="no" frameborder="0" width="100%" height="45">You must have an iframe-compatable browser to view the ImageShack.us upload form.</iframe></td>
		  </tr>
# 
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ 
# 
# EoM