I customized DAlbum so that there is a button for posting a comment to a page. The comment form only appears after the user has clicked the button. This saves more screen real estate for the image.
This package will only work with DAlbum version 1.41 build 154.
############################################################################### POST COMMENT BUTTON =================== Copyright (c) 2006 Chad Parry The Post Comment Button is a customization of the DAlbum photo album. DALBUM LICENSE ============== Copyright (c) 2003 Alexei Shamov, DeltaX Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ############################################################################### SUMMARY ======= This DAlbum customization will add an online file manager to DAlbum. DAlbum administrators will be able to upload photos without needing to be familiar with FTP. ############################################################################### INSTALLATION ============ 1) Unpack or copy all the files into the DAlbum installation directory. For example: > tar -xzf postCommentButton.tgz -C /usr/share/dalbum These files should be present: comments.php.diff custom.php.diff README 2) Install the customization that allows users to add comments. This code is described at http://dalbum.org/index.php?go=ImageComments. 3) Next change to the DAlbum installation directory. For example: > cd /usr/share/dalbum 4) Next edit config/custom.php to add the text for the button that will allow users to post comments. The changes that need to be made are shown in the custom.php.diff file. Some of the lines in that file start with a '+' sign; those are the lines that need to be added anywhere to the file. There is also a utility called patch that may be able to do this automatically, depending on what other changes you have made to your custom.php file. For example: > patch < custom.php.diff 5) Finally edit comments.php. The changes that need to be made are shown in the comments.php.diff file. You should be able to use the patch utility to make this change automatically also. For example: > patch < comments.php.diff ############################################################################### RELEASE NOTES ============= This is version 0.1, released August 25, 2006.