The Forum has been Updated
The code has been upgraded to the latest .NET core version. Please check instructions in the Community Announcements about migrating your account.
PLEASE POST ALL BUGS OR PROBLEMS IN THE MOD HELP FORUM!
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=36636
UPDATE AGAIN! Update posted on my website.
http://www.wesworld.net/mods/
photoalbum182.zip
Please post all bugs and help questions in this thread.
Thanks,
Wes
Mod Name: Photo Album v1.82 for Snitz 3.4.xx
Version: v1.82
Tested on: 3.4.04 only should work with any 3.4.x forums though
Databases: Tested on MySQL v4.0.20a, MS Access, and MS-SQL 2000 should work with 7.0 as well though not tested with it. OS Tested: Windows 2000/IIS5 Windows 2003
Creator Name: Wesley Brown
Contributors: Aecio Lemos, Lewis Moten, Mike Shaffer, David Roades(whether they know it or not)
Creator Email: Burthold@yahoo.com
Download at: www.wesworld.net/mods/default.asp
AS WITH ANY MOD, TEST IT BEFORE YOU GO LIVE WITH IT!
Install notes:
On Brinkser Servers you may need to add
on error goto 0 just before the last %> in each file where you are having problems. Internet Guest Account IUSR_ must have full access to the forum directory and the directory where the photos are stored
Everyone must have read and execute list folder contents read and write to the forum directory and photo directory if you wish to use Nconvert.exe. You must set write permissions in IIS for the folder where photos will be stored. You must have FileSystemObject access for this mod to work. There are three thumbnail options, image resize, using Ncovert.exe that is available on my website, and ASPJpeg if it is installed on the server.
Using Nconvert.exe:
You must have ASPExec installed on the web server. You must copy Nconvert.exe to a folder that has execute permissions. You must set the group Everyone to have read, execute, and list permissions on the folder it also must have read and write to the directory where the photos are stored. Nconvert is part of xnview. This is a GPL'ed program and should be registered if used on sites that are commercial in nature. Support the authors of this fine product. You will need the absolute path to the executable i.e. c:\thumbnailer\ you will need this to setup your photo album please see the configuration item under admin_album.asp. With all the components and programs installed the photo album will generate thumbnails of the original picture about 1.2k in size and save the thumbnail as a Jpeg to save on space. If you don't use the nconvert.exe to make thumbnails the photo album gives you the option to turn thumbnail images on and off. If for some reason the thumbnail images don't get generated the album will use the resize option unless the display thumbnail option is turned off. If a valid thumbnail image is available it will use it regardless of the thumbnail option being turned on or off. The thumbnail on/off option is for those not using the thumbnail generator to save on bandwidth.
Upgrading from 1.80 photo album:
Copy the new album files into your forums directory. No database changes in this version release. DO NOT RUN THE UPDATER!
Upgrading from 1.50 photo album:
Copy the new album files into your forums directory. No database changes in this version release. DO NOT RUN THE UPDATER!
Installing for the first time:
Unzip all files into your snitz forum folder.
Insert this around line 568 in default.asp before these lines
if strShowStatistics = "1" then
WriteStatistics
'photo album insert into main page
%>
<!--#include file="inc_photo_album.asp"-->
<%
'end insert
admin_home.asp around 135
insert this:
" <LI><span class=""spnMessageText""><a href=""admin_album.asp"">Photo Album Configuration</a></span></LI>" & vbNewLine & _
Before this line:
" <LI><span class=""spnMessageText""><a href=""admin_config_colors.asp"">Font/Table Color Code Configuration</a></span></LI>" & vbNewLine & _
Goto the Photo Album administrator page in the admin options. If you want the setup to make a directory then give it a directory name to create. If not, please create a directory on your web site or a virtual directory attached to your web site.
That's it folks the only two lines of code you have to insert into your forums. I got tired of seeing mods that required a ton of changes to your forum code and always broke when the next version of snitz would come along. Hopefully this add-on will not be that way.PLEASE
POST ALL BUGS OR PROBLEMS IN THE MOD HELP FORUM! http://forum.snitz.com/forum/topic.asp?TOPIC_ID=36636
UPDATE AGAIN! Update posted on my website.
http://www.wesworld.net/mods/
photoalbum182.zip
Please post all bugs and help questions in this thread.
Thanks,
Wes
Mod Name: Photo Album v1.82 for Snitz 3.4.xx
Version: v1.82
Tested on: 3.4.04 only should work with any 3.4.x forums though
Databases: Tested on MySQL v4.0.20a, MS Access, and MS-SQL 2000 should work with 7.0 as well though not tested with it. OS Tested: Windows 2000/IIS5 Windows 2003
Creator Name: Wesley Brown
Contributors: Aecio Lemos, Lewis Moten, Mike Shaffer, David Roades(whether they know it or not)
Creator Email: Burthold@yahoo.com
Download at: www.wesworld.net/mods/default.asp
AS WITH ANY MOD, TEST IT BEFORE YOU GO LIVE WITH IT!
Install notes:
On Brinkser Servers you may need to add
on error goto 0 just before the last %> in each file where you are having problems. Internet Guest Account IUSR_ must have full access to the forum directory and the directory where the photos are stored
Everyone must have read and execute list folder contents read and write to the forum directory and photo directory if you wish to use Nconvert.exe. You must set write permissions in IIS for the folder where photos will be stored. You must have FileSystemObject access for this mod to work. There are three thumbnail options, image resize, using Ncovert.exe that is available on my website, and ASPJpeg if it is installed on the server.
Using Nconvert.exe:
You must have ASPExec installed on the web server. You must copy Nconvert.exe to a folder that has execute permissions. You must set the group Everyone to have read, execute, and list permissions on the folder it also must have read and write to the directory where the photos are stored. Nconvert is part of xnview. This is a GPL'ed program and should be registered if used on sites that are commercial in nature. Support the authors of this fine product. You will need the absolute path to the executable i.e. c:\thumbnailer\ you will need this to setup your photo album please see the configuration item under admin_album.asp. With all the components and programs installed the photo album will generate thumbnails of the original picture about 1.2k in size and save the thumbnail as a Jpeg to save on space. If you don't use the nconvert.exe to make thumbnails the photo album gives you the option to turn thumbnail images on and off. If for some reason the thumbnail images don't get generated the album will use the resize option unless the display thumbnail option is turned off. If a valid thumbnail image is available it will use it regardless of the thumbnail option being turned on or off. The thumbnail on/off option is for those not using the thumbnail generator to save on bandwidth.
Upgrading from 1.80 photo album:
Copy the new album files into your forums directory. No database changes in this version release. DO NOT RUN THE UPDATER!
Upgrading from 1.50 photo album:
Copy the new album files into your forums directory. No database changes in this version release. DO NOT RUN THE UPDATER!
Installing for the first time:
Unzip all files into your snitz forum folder.
Insert this around line 568 in default.asp before these lines
if strShowStatistics = "1" then
WriteStatistics
'photo album insert into main page
%>
<!--#include file="inc_photo_album.asp"-->
<%
'end insert
admin_home.asp around 135
insert this:
" <LI><span class=""spnMessageText""><a href=""admin_album.asp"">Photo Album Configuration</a></span></LI>" & vbNewLine & _
Before this line:
" <LI><span class=""spnMessageText""><a href=""admin_config_colors.asp"">Font/Table Color Code Configuration</a></span></LI>" & vbNewLine & _
Goto the Photo Album administrator page in the admin options. If you want the setup to make a directory then give it a directory name to create. If not, please create a directory on your web site or a virtual directory attached to your web site.
That's it folks the only two lines of code you have to insert into your forums. I got tired of seeing mods that required a ton of changes to your forum code and always broke when the next version of snitz would come along. Hopefully this add-on will not be that way.PLEASE
POST ALL BUGS OR PROBLEMS IN THE MOD HELP FORUM! http://forum.snitz.com/forum/topic.asp?TOPIC_ID=36636