OSDN Git Service

NP_gallery v0.95
[nucleus-jp/nucleus-plugins.git] / NP_gallery / tags / v0.95 / gallery / Install notes.txt
diff --git a/NP_gallery/tags/v0.95/gallery/Install notes.txt b/NP_gallery/tags/v0.95/gallery/Install notes.txt
new file mode 100644 (file)
index 0000000..7b4ef4b
--- /dev/null
@@ -0,0 +1,135 @@
+NP_gallery\r
+johnkbradshaw@yahoo.com\r
+\r
+See bottom for version history.\r
+Current release is 0.77 (5-4-05)\r
+\r
+To Upgrade:\r
+ -- To upgrade from 0.61, run np_gallery_update061.php in your base nucleus directory\r
+ -- To upgrade from 0.75, run np_gallery_update075.php\r
+ -- Delete both np_gallery_update files\r
+\r
+To install:\r
+1. make a skin called NPGallery with a call to <%gallery%> in it. For example mine looks like this:\r
+       <%ExtraSkin(header2)%>\r
+       <div id="contents">\r
+          <%gallery%>\r
+       </div>\r
+       <%ExtraSkin(menu2)%>\r
+       <%ExtraSkin(footer2)%>\r
+\r
+2. Create a link to the gallery in another skin with the skinvar <%gallery(link)%>, i.e. with this code: <a href="<%gallery(link)%>">Gallery</a>.\r
+\r
+3. upload the files in the zip to your webserver into the base directory (add_picture.php should be in the same directory as your index.php)\r
+\r
+4. create the folder media/gallery and make it writable (chmod 0777 or 0755)\r
+\r
+5. add the following to your CSS file:\r
+               #NPG_gallery {\r
+                       margin-top: 5px;\r
+                       margin-bottom: 5px;\r
+                       padding-left: 5px;\r
+                       padding-right: 5px;\r
+                       position:relative;\r
+               }\r
+\r
+               /*thumbnails are displayed as a 'list'*/\r
+               ul.thumbnail {list-style: none;}\r
+               \r
+               ul.thumbnail li {\r
+                       float: left; \r
+                       width: 115px; \r
+                       height: 140px;\r
+                       padding: 10px;\r
+                       margin: 10px;\r
+                       background-color: rgb(225,225,225);\r
+               } \r
+       \r
+               /*thumbnail container*/\r
+               #NPG_thumbnail {\r
+                       margin-top: 5px;\r
+                       margin-bottom: 5px;\r
+                       padding-left: 5px;\r
+                       padding-right: 5px;\r
+                       position:relative;\r
+               }\r
+               /*footer container -- used so that the footer contents are actually displayed below the thumbnails, without clear:both the footer is displayed under the thumbnails*/\r
+               #NPG_footer {\r
+                       clear:both;\r
+               }\r
+\r
\r
+6. install the plugin\r
+\r
+7. play around with it and let me know what you think.\r
+\r
+version history:\r
+--NP_gallery v0.4 alpha 3-8-2005: first alpha release\r
+--NP_gallery v0.45 alpha 3-9-2005:\r
+       fixed bugs with permission system\r
+       changed the way albums are modified (moved to admin area)\r
+       added preliminary album team support\r
+       other bug fixes\r
+--NP_gallery v0.5 alpha 3-9-2005:\r
+       album teams (in admin area)\r
+       delete album (in admin area)\r
+       delete picture\r
+       can now select add album permission level\r
+       next, previous nav links on picture view\r
+       move picture to different album\r
+       bug fixes\r
+--NP_gallery v0.55 alpha 3-17-2005:\r
+       changed the default media directory style -- used to be something like ./foo/, now it is just foo/\r
+       (previous change will mean that you should uninstall the plugin and delete the pictures in your gallery folder and reinstall them)\r
+       thumbnail size can be changed\r
+       rethumb (which resizes the thumbnails and intermediate pictures) function in admin area\r
+       some bug fixes to address base_redirect\r
+--NP_gallery v0.56 alpha 3-19-2005:\r
+       fixed so that the plugin will work with 3.2\r
+       couple other bug fixes\r
+--NP_gallery v0.6 alpha 3-21-2005:\r
+       new feature: promote to blog\r
+               please configure this option in the admin area before using\r
+               I need to do cosmetic cleanup for the forms and the post, but wanted to try out the concept\r
+       bug fixes to re-thumb admin function\r
+--NP_gallery v0.61 alpha 3-22-2005\r
+       *changes made in this release require uninstall/reinstall       \r
+       added title template var -- displays title under thumbnail by default\r
+       updated default css class: ul.thumbnail li (see above for change)\r
+       fixed message after adding promo post\r
+       fixed sql error when adding pictures\r
+       when deleting a picture, there is an option to delete promo post associated with the picture\r
+       number of picture upload slots is now an option in the admin area\r
+       removed reference to a file in album_class.php that was triggering open_basedir problems\r
+       added allowable tag to item body: <%gallery(link,picture|album,#)%>\r
+       added cancel promo post\r
+       promo post now uses bookmarklet.php edititem form\r
+       fixed another bug with the rethumb function -- now works (on my system) with gd or imagemagick\r
+--NP_gallery v0.75 4-6-2005\r
+       moved to a class to handle admin page (like nucleus)\r
+       started the move to allowing for translation to other languages (see english.php)\r
+       added album template vars: centeredtopmargin(height, offset) and pictureviews\r
+               centeredtopmargin inserts a margin-top that will vertically align a thumbnail using inline css (ie <img style="<%centeredtopmargin(140,-7)%>" src= ...)\r
+               pictureviews displays the number of time a picture has been viewed\r
+       comment system\r
+       multiple templates\r
+--NP_gallery v0.76 4-12-2005\r
+       comment system works with np_captcha plugin\r
+       new templatevars: \r
+               <%albumdescription%> and <%picturedescription%> in album view\r
+               <%if(next)%>, <%if(prev)%>, <%description%> in picture view\r
+               <%if(commentsallowed)%> in picture view\r
+               <%albumthumbnail%> in gallery list view\r
+       album option for thumbnail\r
+       album option for comments allowed or not\r
+       plugin hooks: NPgPrePicture, NPgPostAddPicture, NPgPostUpdatePicture, NPgPostDeletePicture, NPgAddPictureFormExtras, NPgEditPictureFormExtras\r
+       new default templates\r
+       pictures are now prefixed by a random string\r
+--NP_gallery v0.77 5-4-2005\r
+       plugin hooks: NPgCollectionDisplay\r
+       included NP_GalleryMostViewed\r
+       bug fixes: \r
+               problems with templates\r
+       absolute filenames for pictures and links\r
+       modified <%breadcrumb%> tag to have an option for a different separator: <%breadcrumb(separator)%>, default is >\r
+       the word 'Gallery' as part of the breadcrumb is now defined in english.php
\ No newline at end of file