Author |
Topic |
proeder
Junior Member
Australia
230 Posts |
Posted - 19 May 2004 : 19:17:54
|
Obvously another bug I did not realize. There is a varchar definition missing in the dbs script.
As you know propably already have the records in CONFIG_NEW you may fire up the following code in the 'Alternative Mod Setup' Page
[DROP]
UPSIZE
CONFIG_EXTENSION
[END]
[CREATE]
UPSIZE
ID
UPLOAD_VAR#VARCHAR (20)#NULL#
UPLOAD_VALUE#int#NULL#
[END]
[CREATE]
CONFIG_EXTENSION
ID
EXTENSION#VARCHAR (15)#NULL#
[END]
[INSERT]
UPSIZE
(UPLOAD_VAR,UPLOAD_VALUE)#('STRTIMEOUT','3600')
(UPLOAD_VAR,UPLOAD_VALUE)#('STRUPLOADFILESIZE','100000')
[END]
This will drop and create all the tables again - now with the correct varchar value. Shold work like this.
Sorry for any inconveniance... < |
Looking for german Snitz forum? Suchst Du ein deutsches Snitz Forum? Hier findest Du eins...
Hosting with ASP Support available: http://www.sharepointing.com |
|
|
proeder
Junior Member
Australia
230 Posts |
|
wchyrchel
Starting Member
6 Posts |
Posted - 19 May 2004 : 20:37:57
|
Limit uploads to Moderators and Admins
I saw in a previous reply that someone was able to limit the uploads to Moderators and Admins only. Does anyone know how to do that?
Thanks for the help!< |
|
|
wchyrchel
Starting Member
6 Posts |
Posted - 19 May 2004 : 20:44:08
|
Sorry, one more.
In the My Files area or even in a post if I click on the file to view or display it, I receive an page cannot be displayed error. Any idea's?< |
|
|
proeder
Junior Member
Australia
230 Posts |
Posted - 19 May 2004 : 23:52:28
|
Download Add-On
Okay, as some people had the idea to restrict attachments a bit more here is my proposal:
- activate attachments globally on the board will only give admins the possibility to allow attachments in a forum
- admins or mods need to activate attachments explicitely (?)in their forums
- even if attachments are not allowed in a specific forum, admins and moderators will still have the ability to attach files
Please donwload the add-on and try implementing it, if it works for you too, I am going to include that in the mod and re-release it. It is quit a bit coding, but it worked fine for me. In the download included are two additional files: post.asp and post_info.asp which you might use directly if you did not make any further changes to your files.
Please let me know how it works.
Download Add-On
I think this is better than allowing attachments in private forums or where ever as this gives you full control over where attachements are possible and where not.< |
Looking for german Snitz forum? Suchst Du ein deutsches Snitz Forum? Hier findest Du eins...
Hosting with ASP Support available: http://www.sharepointing.com |
Edited by - proeder on 19 May 2004 23:55:27 |
|
|
proeder
Junior Member
Australia
230 Posts |
Posted - 19 May 2004 : 23:57:03
|
@wchyrchel: How does the link to the attachment look like? Looks the path ok?< |
Looking for german Snitz forum? Suchst Du ein deutsches Snitz Forum? Hier findest Du eins...
Hosting with ASP Support available: http://www.sharepointing.com |
|
|
wchyrchel
Starting Member
6 Posts |
|
proeder
Junior Member
Australia
230 Posts |
Posted - 22 May 2004 : 01:03:58
|
Sorry, I had some major server problems... Link is now working again!< |
Looking for german Snitz forum? Suchst Du ein deutsches Snitz Forum? Hier findest Du eins...
Hosting with ASP Support available: http://www.sharepointing.com |
|
|
hkozlovsky
Starting Member
17 Posts |
Posted - 24 May 2004 : 17:05:21
|
Proeder - I noticed that you state the last change to this zip was made on 5-9-04. I noticed no timestamp on any files beyond 5-2-04.
I tried installing and encountered a number of errors in test. I want to be sure before I pursue again that the zip I downloaded was the latest and greatest without any known bugs.
Is all ok with this zip? If yes I will try again and let you know what I encounter.
Thank you.< |
|
|
FatherFrench
Starting Member
6 Posts |
Posted - 26 May 2004 : 03:41:12
|
Hi Proeder, I have updated your mod and its looking good, but, the dropdown for allowing attachments in the forums keeps re-setting back to not allowed, bar this is all seems to work fine, any ideas? Kindest regards.< |
|
|
proeder
Junior Member
Australia
230 Posts |
|
proeder
Junior Member
Australia
230 Posts |
Posted - 26 May 2004 : 04:40:17
|
Hm... it does not behave like that in my testforum. Did you use the attched post.asp or did you follow you the readme?< |
Looking for german Snitz forum? Suchst Du ein deutsches Snitz Forum? Hier findest Du eins...
Hosting with ASP Support available: http://www.sharepointing.com |
|
|
proeder
Junior Member
Australia
230 Posts |
Posted - 26 May 2004 : 04:42:36
|
hkozlovsky: I think the latest update was regarding the download link; the zip which you can download from the link should be the latest.
But be aware that I am rigth before releasing a new version with enhanced features in the next few days.< |
Looking for german Snitz forum? Suchst Du ein deutsches Snitz Forum? Hier findest Du eins...
Hosting with ASP Support available: http://www.sharepointing.com |
|
|
Spiff
Starting Member
USA
1 Posts |
Posted - 26 May 2004 : 23:58:33
|
After realizing (not mentioned in the instructions) to add code to POST.ASP from either POST.DEUTSCH.ASP or POST.ENGLISH.ASP, and ignore the supplied (and buggy) POST.ASP, the mod went in without a hitch. It's a very nice enhancement.
I do have a question though...
Have I overlooked an admin option somewhere that deletes uploaded files??? I could delete the files manually, but that doesn't clean up DB entries and eventually the tables would become huge even if the upload directories were empty.
Thanks.< |
|
|
proeder
Junior Member
Australia
230 Posts |
Posted - 27 May 2004 : 01:39:44
|
Spiff:
You may delete files when you're logged in as admin and go to myfiles.asp. You are right that this does not delete the links in the regarding posts.
I am working on a new release which will store information to attachments in a database field rather than just writing a link in the post to it. < |
Looking for german Snitz forum? Suchst Du ein deutsches Snitz Forum? Hier findest Du eins...
Hosting with ASP Support available: http://www.sharepointing.com |
|
|
Topic |
|