User Photogallery v 2.0.0
-------------------


Author: Andreas Niesen (qayqay)  2006

eMail : support@pressepage.de
Handy : 0176/26 27 15 16 (Mo-So ab 16:00 Uhr)

Datum: 06. April 2006

Fully translated by www.phpfusion-mods.net
~ Diemux
------------------------------------------------
Copyright: 

USers can freely use this infusion with PHP-Fusion 
as long as the complete copyright notice isn't removed.
------------------------------------------------

****************************************************************************************

NOTICE:
--------

The settings for the user gallery are the same as the start PHP-Fusion gallery settings 

****************************************************************************************
FEATURES:
---------

* Each user can create private photo album (limit 1 per user) *
* Each user can upload photos in his/her photo album (limited + jpg check) **
* The limits are set in the admin panel -> photogallery.php (so the same as the standard Fusion gallery) ***
* Comments can be deleted by the gallery owner.


17.10.2006

* Runs on all php-fusion software!

****************************************************************************************

DECLARATION:
----------

*   = Each user can create a photogallery / controlled with max set.
**  = Only real .jpg's can be uploaded. All images are chacked for safety.
*** = The limit of photoalbums is set to 10 as default.

****************************************************************************************

INSTALLATION:
-------------

1. Upload all files/folders to the corresponding folders on your webhost.
		       ------------

/images/usergalerie


/includes/ug_comments_include.php


/infusions/usergalerie/help.php
/infusions/usergalerie/index.php
/infusions/usergalerie/settings.php
/infusions/usergalerie/infusions.php
/infusions/usergalerie/edit_comments.php
/infusions/usergalerie/view_usergalerie.php
/infusions/usergalerie/edit_usergalerie.php
/infusions/usergalerie/edit_photos_usergalerie.php


/infusions/usergalerie/locale/German.php
/infusions/usergalerie/locale/English.php


NOTICE:
--------

You have to CHMOD the below folder to 777.
>> /images/usergalerie

****************************************************************************************

2. Go to admin panel -> system admin -> infusions and install the usergalerie infusion.

****************************************************************************************
*************************************BACKUP YOUR FILES BEFORE YOU DO ANY EDITING********

3. Open maincore.php:


surask:

define("THEMES", BASEDIR."themes/");

po juo dek:

define("USERGALERIE", IMAGES."usergalerie/");


****************************************************************************************

4. Open infusions/user_info_panel/user_info_panel.php:


Surask :

<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."messages.php' class='side'>".$locale['081']."</a><br>

po juo dek:

<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."infusions/usergalerie/edit_usergalerie.php' class='side'>Fotoalbum verwalten</a><br>

****************************************************************************************

5. Open profile.php:


surask :

if (!isset($userdata['user_id']) || $data['user_id'] != $userdata['user_id']) {
	echo "[<a href='messages.php?msg_send=".$data['user_id']."' title='".$locale['u060']."'>".$locale['u053']."</a>]\n";
}

po juo dek:

echo "[<a href='infusions/usergalerie/view_usergalerie.php?userid=".$data['user_id']."''>Galerie</a>]\n";


****************************************************************************************

6. Baigta!
