Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 Need some input: proeder's file attachment mod V2
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

proeder
Junior Member

Australia
230 Posts

Posted - 08 June 2004 :  08:06:36  Show Profile  Visit proeder's Homepage
Ok, finally I decided to release v2 of the atachment mod. I played around with some improvements, most of the ideas come from users who had implemented v1 and had some more or less issues about the fnctionality.

Things that need to be done so far:

  • delete a post should also delete the attachment

  • allow / deny attchments per forum

  • display attchments as long as they are images

  • ability to choose different location rather than in the forum directoy

  • or: better store attachments as blob in the db?

  • support for using components



My big question is; would it be better to store attachments in the database rather than in the filesystem? Seems aesier to track the use of files in different posts / might be better if access to the filesystem is not allowed...

I am still not sure, how many people don't have acces to the filesystem; some might at least not have the possibility to allow uploads anonymously.

What about uploading files as blob to mySQL, does anoone know if that's possible?

What upload components should be included? So far I am raedy to go with ASPUpload and DundasUpload, what do you have installed on your ISPs machines?

Any input is greatly appreciated; I would like to complete the attchment mod as good and as easy to install as possible. Soon.

Btw: I am going to release it in english only, seems as the two versions were a bit cunfusing in the current release...


Looking for german Snitz forum? Suchst Du ein deutsches Snitz Forum?
Hier findest Du eins...

Hosting with ASP Support available: http://www.sharepointing.com

Classicmotorcycling
Development Team Leader

Australia
2084 Posts

Posted - 08 June 2004 :  16:17:35  Show Profile
I personally would not place it as a blob for Access users, other wise their DB's would grow way to big. Maybe an option to choose between a blob and the filesystem in the Admin options.

A new one would be to allow users to choose if it is an attachment or inline for image files and in the Admin options the abiltity for the Admin to turn on or off the inline or give the users the function. So 3 options.

Also the Allow attachments in posts in the Admin options could also have User level to allow who can put attachments in posts: Administrator / Administrator & Moderator / All users. Something like that.

Just what I would like to see.

Cheers,

David Greening
Go to Top of Page

proeder
Junior Member

Australia
230 Posts

Posted - 10 June 2004 :  20:27:52  Show Profile  Visit proeder's Homepage
So what would you think abou that:

If a user decides to attach a file the following procedure is fired:

1. the file is uploaded to a personal folder
2. file information is stored in database (link, fileID, userID)
3. attachment property is added to topic as a new db field

This will prevent users from uploading more than one file per topic but I don't think that this will be an issue.

Looking for german Snitz forum? Suchst Du ein deutsches Snitz Forum?
Hier findest Du eins...

Hosting with ASP Support available: http://www.sharepointing.com
Go to Top of Page

Classicmotorcycling
Development Team Leader

Australia
2084 Posts

Posted - 14 June 2004 :  19:00:55  Show Profile
I would suggest this...
quote:
Originally posted by proeder

1. the file is uploaded to a personal folder
By the way, am I the only one giving you feedback on this?

Cheers,

David Greening
Go to Top of Page

sr_erick
Senior Member

USA
1318 Posts

Posted - 14 June 2004 :  19:46:48  Show Profile  Visit sr_erick's Homepage  Send sr_erick a Yahoo! Message
I know what i'm going to do, but that's just me. For my next release, all images posted in the forum will be uploaded, renamed, and go into individual folders organized by userID so I don't have any linking issues with strange usernames. Next all of these folders will have the appropriate "resized" folder and/or thumbnail folder. Upon a user loading a page with a certain page resolution, they will be presented with the properly resized image which will fit in thier browser, and link to the originally sized image. If a user with a different screen res. connects, and an image hasn't already been resized for that size, it will be resized on the fly, saved, and displayed.




Erick
Snowmobile Fanatics

Go to Top of Page

daxl
Starting Member

16 Posts

Posted - 20 June 2004 :  08:04:18  Show Profile
Thank you proeder for the neat mod
would please consider using this script in the link below for us users that their host does not allow the File System Object to be used.


http://lewismoten.com/CodeLibrary/Code/Upload_Files_Without_COM_v3/Index.htm

if not would you please guys help an ASP newbie integrate it in to snitz.
Go to Top of Page

proeder
Junior Member

Australia
230 Posts

Posted - 20 June 2004 :  08:45:52  Show Profile  Visit proeder's Homepage
Wow...! That's cool, wasn't aware of sth like that...! I will implement that as well.

Looking for german Snitz forum? Suchst Du ein deutsches Snitz Forum?
Hier findest Du eins...

Hosting with ASP Support available: http://www.sharepointing.com
Go to Top of Page

Jamiekin
Starting Member

24 Posts

Posted - 18 July 2004 :  13:12:07  Show Profile
html upload progress bars!
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.2 seconds. Powered By: Snitz Forums 2000 Version 3.4.07