Author |
Topic |
burthold
Junior Member
USA
426 Posts |
Posted - 23 July 2002 : 03:32:52
|
I know there are other photo albums out right now but I feel I have a good strong candidate here :)
If you have any questions just post or email me.
Wes
Mod Name: Photo Album v.05 for Snitz 3.3.05 Version: v.05 Tested on: 3.3.05 only should work with any 3.3.x forums though Databases: Tested on MySQL v3.23.40NT and MS Access should work with MS-SQL though not tested with it yet. OS Tested: Windows 2000/IIS5 Mods Tested: tested with PM mod, Front page news mod, active users mod, and clean install of snitz 3.3.05 Creator Name: Wesley Brown Creator Email: Burthold@yahoo.com Download at: www.wesworld.net/mods/
For components you will need to download: www.wesworld.net/mods/photo_album_components_src.zip" target="_blank">http://www.wesworld.net/mods/photo_album_components_src.zip www.wesworld.net/mods/Aspexec.zip" target="_blank">http://www.wesworld.net/mods/Aspexec.zip www.wesworld.net/mods/EBInstall.exe" target="_blank">http://www.wesworld.net/mods/EBInstall.exe
For non-component you just need this: www.wesworld.net/mods/photo_album_no_components_src.zip" target="_blank">http://www.wesworld.net/mods/photo_album_no_components_src.zip
AS WITH ANY MOD, TEST IT BEFORE YOU GO LIVE WITH IT!
This mod was developed as a true modular add on for snitz. You must have FileSystemObject access for this to work! You must have write access to the folder you want to use! It can be a virtual directory as long as you have write permission! There are two versions bundled in this zip file.
Components version includes an asp component called aspexec you will need to have this installed and registered on your server. Also EyeBatch2 is bundled in. EyeBatch2 is a shareware product if you end up keeping this add-on past the evaluation period then please support these guys and register it. This installs as a normal program. You will need the absolute path to the executable i.e. c:\eyebatch2\ you will need this to setup your photo album please see the configuration item under admin_album.asp. You will need to copy the file thumbnailer.ebs into the eyebatch2 directory. With all the components and programs installed the photo album will generate thumbnails of about 1.2k in size. I have seen huge bandwidth savings generating thumbnails after uploading the photo.
No components version. Just like it says it doesn't use components at all. You will need access to the FileSystemObject and write permission to the photo album directory. This simply resizes the photo to make a thumbnail; the picture will still be as large as the original i.e. if the file uploaded is 150k then the thumbnail will be 150k. This version allows you to turn thumbnails on and off to save on bandwidth.
Insert this around line 383 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
Insert into admin_home.asp before this line: <LI><a href="javascript:openWindow3('admin_config_order.asp')">Configure Category/Forum Order</a></LI>
insert this: <LI><a href="admin_album.asp">Photo Album Administration</a></LI>
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.
If you have any questions just email me at burthold@yahoo.com.
Edited by - burthold on 26 July 2002 11:51:13 |
|
Anacrusis
Junior Member
USA
219 Posts |
Posted - 23 July 2002 : 08:02:48
|
Is there a demo for this?
Adam Tommasi www.inetclubhouse.com |
|
|
burthold
Junior Member
USA
426 Posts |
|
burthold
Junior Member
USA
426 Posts |
Posted - 23 July 2002 : 15:41:53
|
Found a bug that only added the admin as a photo album user DOH! Fixed it and all is now well. You will need to D/L the zip file again and replace the admin_album.asp with the one from the zip file. I am in the process of moving people into my photo album from the stand alone one if you would like to see what it looks like.
If you look in the photo album section for the admin you will see screen shots of the admin config page for the photo album.
All Paths that you will enter in the admin page are CASE SENSITIVE so if your uploads directory is UpLoads and you put in uploads you will not get thumbnails or pics. If you choose to install the thumbnail generator and your path isn't correct due to case you will not get thumbnails. You must delete the pics using the album editor or delete the user with the admin_album and reup the pics to get the thumbnails generated again. I know this sounds like a pain but once you get your setup done it is a breeze to add users and photos to the albums.
Wes
Edited by - burthold on 23 July 2002 15:43:28
Edited by - burthold on 23 July 2002 15:57:49 |
|
|
Classicmotorcycling
Development Team Leader
Australia
2084 Posts |
Posted - 23 July 2002 : 16:13:08
|
Wesley,
Only problem with this, is the file is 4.43MB which some people have already downloaded.
quote:
Found a bug that only added the admin as a photo album user DOH! Fixed it and all is now well. You will need to D/L the zip file again and replace the admin_album.asp with the one from the zip file.
As I am on a 56K modem it takes time to download again, do you have a link to just the updated file(s)?
Also could be a good idea to split the component version and the non-component version and have them in seperate zip files. Just a thought.
Cheers,
David |
|
|
burthold
Junior Member
USA
426 Posts |
Posted - 23 July 2002 : 16:52:00
|
I'll split them out. Sorry, I've been broadband so long I forget modem hell some folks are in. I'll do it right now.
Just download the src file you need components using eyebatch or non components.
Wes
Edited by - burthold on 23 July 2002 16:56:52 |
|
|
Etymon
Advanced Member
United States
2385 Posts |
Posted - 23 July 2002 : 21:03:06
|
Hi burthold,
Did you get to put your demo online yet?
Your MOD sounds interesting!
Etymon
|
|
|
burthold
Junior Member
USA
426 Posts |
|
Etymon
Advanced Member
United States
2385 Posts |
Posted - 24 July 2002 : 01:43:52
|
Ok, I see how it works. Pretty cool! I've downloaded it. I've not gotten to the file upload portion of my forum. I'll crack it open then.
On the side ...
When I started to drive home from work last night, I glanced down at the gas and odometer gauges, and I noticed that I had finally hit 195,000 miles on my 1991 Mits Galant!!!
I'd like to join your forum eventhough I am over here in South Carolina.
Ok, enough for the chat ... I'd don't want to get canned for getting off track here. LOL!
Thanks for the download and the code. I am sure I will find it interesting when the time comes.
Cheers,
Etymon
|
|
|
Classicmotorcycling
Development Team Leader
Australia
2084 Posts |
Posted - 24 July 2002 : 02:25:50
|
Wes,
Have you managed to split them yet? I only need the no-commonent version *grin*..
quote:
I'll split them out. Sorry, I've been broadband so long I forget modem hell some folks are in. I'll do it right now.
Just download the src file you need components using eyebatch or non components.
Cheers,
David
|
|
|
burthold
Junior Member
USA
426 Posts |
|
antracit
Starting Member
Sweden
33 Posts |
Posted - 26 July 2002 : 02:30:18
|
Hi
Just tested the non-component Mod. Looks ok but not everything on the road yet (uploading). But before, is it possible that there will be more features like adding files with extensions like gif, bmp, jpg, tiff and so on? Maybe I can ad it myself if anyone just told what to do. Otherwise it looks just perfect for a members-album. thanks.
Note: The first download-link does not work.
Johan
|
|
|
burthold
Junior Member
USA
426 Posts |
Posted - 26 July 2002 : 11:48:41
|
I am working on allowing admins to pick file types right now. Also, photos will show up in their own window sized to fit. Should be out first of next week.
Wes
|
|
|
aecio
Junior Member
Brazil
120 Posts |
Posted - 29 July 2002 : 23:37:08
|
You forgot to include the file that makes the database tables with respective fields, didn't you? Or am I batty in my old age? Anyway, I will try to create them based on your ASP files....
Cheers!
Visit the Healthy Planet online support community: http://www.xsaude.com.br/healthyplanet/ |
|
|
aecio
Junior Member
Brazil
120 Posts |
Posted - 30 July 2002 : 00:07:06
|
Please ignore my last post. I found the photo_album_setup.asp file... geez, gotta change my glasses!!!
Cheers!
Visit the Healthy Planet online support community: http://www.xsaude.com.br/healthyplanet/ |
|
|
aecio
Junior Member
Brazil
120 Posts |
Posted - 30 July 2002 : 01:23:45
|
Well, in all a great little mod! Congratulations. It's setup and running on my forums now.
Well, just one comment: importing all the users in a large forum can be quite a task, since you have to select one by one and create them by hand in the admin page. That is, unless again I am blind and did not see an import script. I hope there wasn't one, for I created one:
http://www.xsaude.com.br/healthyplanet/forum/photo_album_import.asp.txt
It imports users from the Members table into the Album_Users table and creates a folder for them.
Did you think of such a process for when a new member joins the boards? And automated folder creation and adition to the users table little sniplet?
Cheers!
Visit the Healthy Planet online support community: http://www.xsaude.com.br/healthyplanet/ |
|
|
Topic |
|