Gallery 2.40 - Jan 12 2007
Last changes: Tensh - Feb 14 2010

Installation:

1. Unzip all files from archive
2. Copy Plugin folder to your FTP
3. Copy System folder to your FTP (it has the changed PFS files with corehacks)
4. Chmod 777 the folders /plugins/usergal/slideshow and /plugins/usergal/th_ptow
5. from the folder /docs/ select the usergal_createnew_240.sql file and run it in your MySQL DB
6. Navigate to your site (Administration->Plugin->Usergal) and Install the plugin
7. Navigate to your site (Administration->Plugin->Usergal_Structure) and Install the second plugin
8. Add categories by adding items in (Administration->Tools->Usergal_Structure) 

Customization -->

9. This plugin uses thumbnailviever script, so if you have the plugin thumbnailviewer, you don't have to do anything.
HOWEVER if you DIDN'T install Thumbnailviever, see the TPL file of usergallery - it has some commented out lines. You can uncomment them, but it's best to copy them to header.tpl in your skin if you want to make a use of Picture of the Week on Index page.

10. Customize thumbnailviewer.css (in thumbnailviewer plugin folder or in plugins/usergal/thumbnailviewer/thumbnailviewer.css
11. Customize gallery TPL and CSS at plugins/usergal/usergal_style.css and plugins/usergal/tpl/usergal.tpl - currently the style is pretty dark so it will need it.

9. Call the Plug with <YourSite.com>/plug.php?e=usergal

Attention:

DATABASE: This plugin requires adding new fields into the database, and also altering the standard pfs table. If your database prefix is different than "sed_":
1. change the delivered SQL file (by the tool "find and replace"), replacing 'sed_' by your prefix.
2. edit the files:
- plugins/usergal/usergal.php, 
- plugins/usergal/usergal.potwidx.inc.php, 
- plugins/usergal_structure/usergal_structure.admin.php
- system/core/pfs/pfs.editfolder.inc.php
- system/core/pfs/pfs.inc.php
Change the database names at the beginning of the files (in "pfs" files, search for '// UserGallery 2.40' comment).

CORE HACKS: This plugin requires changes in core/pfs files. The files delivered in this package contain changed files so it's best to just overwrite old files. Remember that, like in all cases, you should store old files just in case (also to compare the changes made to files).

Known issues:

## in the file plugins\usergal\usergal.potwidx.inc.php somehow the standard $L[''] variables aren't working. I used the lang calls from the skin language file - please edit it to see it in action. The second string is untranslated - you can add the translation to your skin's lang file. I'll investigate it further and seek assistance, it seems so odd.

## the design is not accomodated to standard Cotonti skin - UserGallery uses its own css files. Change them to reflect your skin.

## The english lang file contains some additional fields - I don't know other languages so they are missing in other lang files.




Versions & Changes:

1.1 --
- supports international skins
- uses the lightbox 2.0 function from http://www.huddletogether.com
- added german translation
- added one mysql table sed_pfs_potw
- coded a non-lightbox version (its hidden inside the code but ready to use)

1.2 --
- added tag support
- setting added for change the userlevel of usergroup what can tag
- added screenshots to the download package
- added support for userfolder on/off (thanks to: SnorixX and IceMan)
- added one mysql table [i]sed_pfs_tags[/i]

1.2.1 --
- added some new translations in the english language file
- rebuild some security options sed_cc

1.2.2 --
- added the function to search the tags with LIKE tagname='%$searchvar%'

1.2.3 --
- fixed the userfolder problem with userid-
- redesigned the search function

1.2.4 --
- added the function to edit tags
- added some new language translations
- changed some html code in the template file
- changed the path from the recent POTW's to th_dir
- fixed the lightbox path from closelabel.gif
- added Russian Language translation (Thanks to: motor2hg)

1.2.5 --
- added extended tag administration
- minor changes in template file
- seperated usergal.php file and split them in many files

2.0 --
- added comment support
- added rating support
- fixed some errors within the template file
- fixed a small error with setting POTW on the mainpage

2.1 --
- added POTW index Tag for Displaying on Index.tpl
- fixed problem with emtpy folders
- fixed settings and added a string field
- changed the css for the litebox 2.0
- hopefully fixed the paging problem
- added new settings for POTW index
- added more secure ways to add things to your DB

2.2 to 2.4 --
- fixed problems with empty folders
- fixed problems with pagnation
- fixed problems with taging an image
- added sed auth functions
- added categories
- added slideshow function
- added potw and tag switch (on/off)
- full recode of internal variables
- full recode of the skin file
- full recode of the lang file

- added admin panel for category-support (usergal_structure)

Screenshots:


Support:
http://neocrome.net/forums.php?m=posts&p=107308


Download Plugin:

------------------------------------
http://www.projekt-map.de/list.php?c=neocrome
http://saatan.doodoodoo.de/usergal240.rar
------------------------------------
