MOD: Photo Album for snitz 3.4.x version 1.82 - Posted (38569 Views)
Junior Member
burthold
Posts: 426
426
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
 Sort direction, for dates DESC means newest first  
 Page size 
Posted
New Member
baabaashep
Posts: 84
84
Sitting here going through old posts I don't seem to be able to find an answer so here goes:
I am not an asp coder so please go gently with me.
I am using V 34_07 for Burts photo mod. I select: Admin>PHOTO ALBUM CONFIG

and get this error:

Active Server Pages error 'ASP 0126'
Include file not found
/forum/admin_album.asp, line 2
The include file 'inc_functions.asp' was not found.
Here are lines 1-12 in the admin_album.asp file:

<!--#INCLUDE FILE="config.asp" -->
<!--#INCLUDE file="inc_functions.asp" -->
<!--#include file="inc_photo_album_functions.asp"-->
<!--#INCLUDE file="inc_top.asp" -->
<%
'Snitz 3.4 includes
'<!--#INCLUDE FILE="config.asp" -->
'<!--#INCLUDE FILE="inc_sha256.asp"-->
'<!--#INCLUDE FILE="inc_header.asp" -->
'<!--#INCLUDE FILE="inc_func_admin.asp" -->
'<!--#include file="inc_photo_album_functions.asp"-->

I dont have the following files in my forum at all
inc_functions.asp
inc_top.asp

Can I assume the first 4 lines are for an older release of the forum that I don't need ?
Can I delete them?
Thanks
Pete blush
Posted
Advanced Member
Etymon
Posts: 2396
2396
To see if it will work, change inc_top.asp to inc_header.asp.
The file inc_functions.asp is now called inc_func_common.asp. The base code you are using should already include inc_func_common.asp in the inc_header.asp file.
You Must enter a message