=====================================================
=====================================================
============= Photo Popup Installation ==============
=====================================================
=====================================================

http://www.vbulletin.org/forum/misc.php?do=producthelp&pid=photo_popup


1. Extract the archive.

2. Upload the contents of folder "UPLOAD" to your forum root. Note how the folder structure in this folder mirrors the folder structure in your forum root, so every file will be in the right place. 

2. If you intend to use only the vBulletin forums albums, proceed to step 4.
If you intend to use any other gallery product, find the corresponding config-file in "UPLOAD - product configurations/includes" folder. Open it and check whether any settings have to be made. Whith Photoplog and vBGallery there are no mandatory settings, while there are vital settings there for Photopost Pro. 
Upload the config files for all products you intend to use to the includes-folder in your forum root. 
Note: The configruation file for the built in albums will be uploaded with the main script.

4. Install the product.

5a. If you are using Template Modification System (TMS), you're done.

5b. If not, do the template modifications explained in the next section manually.


Credits: The icon contained in the package is taken from the silk icon set.





===========================================
=== Photo Popup Template Modifications ====
===========================================

Note: Templates modifications have not changed for the upgrade from 2.x to 3.0.


============ FOR INSERT YOUR FOTOS LINK IN MAIN EDITOR ============



In template editor_smiliebox look for:
--------------------------------------------------------------------------------
<div id="smiliebox" style="display:none"></div>
</if>
--------------------------------------------------------------------------------

Add below:
--------------------------------------------------------------------------------
<fieldset id="photobox" title="$vbphrase[photo_popup_my_photos]">
    <legend>$vbphrase[photo_popup_my_photos]</legend>
    <table cellpadding="4" cellspacing="0" border="0" align="center">
        <tr>
            <td class="smallfont" colspan="$vboptions[smcolumns]">
                       [<a href="#" onclick="window.open('$vboptions[bburl]/photo_popup.php?e=$editorid','fotos','scrollbars=yes,resizable=yes,width={$vbulletin->options['photo_popup_width']},height={$vbulletin->options['photo_popup_heigth']}'); return false" title="$vbphrase[photo_popup_insertlink]">$vbphrase[photo_popup_insert]</a>]</td>
            </td>
</td>
        </tr>
    </table>
</fieldset>
--------------------------------------------------------------------------------







============ FOR BUTTON IN QUICKEDIT ============



In template postbit_quickedit look for
--------------------------------------------------------------------------------
			<td><div class="imagebutton" id="{$editorid}_cmd_wrap0_quote"><img src="$stylevar[imgdir_editor]/quote.gif" width="21" height="20" alt="$vbphrase[wrap_quote_tags]" /></div></td>
--------------------------------------------------------------------------------

Add below:
--------------------------------------------------------------------------------
		<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>

		<td> <a href="#" onclick="window.open('$vboptions[bburl]/photo_popup.php?e=$editorid','fotos','scrollbars=yes,resizable=yes,width={$vbulletin->options['photo_popup_width']},height={$vbulletin->options['photo_popup_heigth']}'); return false" title="$vbphrase[photo_popup_insertlink]">
<img src="$stylevar[imgdir_editor]/photo_popup.png" border="0" /></a></td>
--------------------------------------------------------------------------------






============ FOR BUTTON IN QUICKREPLY ============



In template showthread_quickreply look for:
--------------------------------------------------------------------------------
	<if condition="$show['quote_bbcode']">
		<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
		<td><div class="imagebutton" id="{$editorid}_cmd_wrap0_quote"><img src="$stylevar[imgdir_editor]/quote.gif" width="21" height="20" alt="$vbphrase[wrap_quote_tags]" /></div></td>
	</if>
--------------------------------------------------------------------------------

Add below:
--------------------------------------------------------------------------------
		<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>

<td> <a href="#" onclick="window.open('$vboptions[bburl]/photo_popup.php?e=$editorid','fotos','scrollbars=yes,resizable=yes,width={$vbulletin->options['photo_popup_width']},height={$vbulletin->options['photo_popup_heigth']}'); return false" title="$vbphrase[photo_popup_insertlink]">
<img src="$stylevar[imgdir_editor]/photo_popup.png" border="0" /></a></td>
--------------------------------------------------------------------------------