Author |
Topic |
RichLondoner
Starting Member
United Kingdom
43 Posts |
Posted - 07 May 2004 : 06:09:06
|
Proeder,
Regarding the configurable upload directory. Can this be on a different server?
We have two servers here running identical copies of Snitz, however when an attachment is uploaded using mikes attachment mod it's only uploaded to server A and not B, anybody who is attached to server B can't see the upload on server A. And of course visaversa...
Could we have a single upload directory on, say, server C?
Thanks, Richard< |
Richard Mills http://www.mysector.co.uk |
Edited by - RichLondoner on 07 May 2004 06:09:48 |
|
|
Battalion
Starting Member
6 Posts |
Posted - 07 May 2004 : 11:13:59
|
Proeder,
when I click on the download link the file is missing. is there a new location?< |
|
|
Panhandler
Average Member
USA
783 Posts |
|
Jag24
Junior Member
182 Posts |
Posted - 08 May 2004 : 01:44:07
|
hmm Anything in english? < |
|
|
Panhandler
Average Member
USA
783 Posts |
Posted - 08 May 2004 : 08:53:03
|
quote:
hmm Anything in english?
Oops. You're right. I just downloaded it last week or so. . .now can't find it. So I emailed proeder, asking for him to look at the link.
< |
"5-in-1 Snitz Common Expansion Pack" - five popular mods packaged for easy install ". . .on a mote of dust, suspended in a sunbeam. . ." HarborClassifieds Support Snitz Forums
|
|
|
proeder
Junior Member
Australia
230 Posts |
Posted - 09 May 2004 : 00:13:04
|
I am sorry, I recently moved to a new server, so all the download links are broken right now. I am going to fix that ASAP; please give it another try on Monday evening!
@Rich: I do not think that this is posssible with the current version as is. If you have access to your database for direct editing records you might work around by just editing the link in the datbase. The download link which is displayed in html gets populated by the link record in the db - you could point that to any server you like. That's not so conveniant if you have a lot of changes in your download section, but for the moment that's 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 |
|
|
proeder
Junior Member
Australia
230 Posts |
|
ping
Starting Member
31 Posts |
Posted - 10 May 2004 : 05:44:12
|
hi,proeder ,i very like your mod,but i have a question about the File Attachment Mod 1.0 . when a file was uploaded,then it would be saved in a folder which it been named user's name. if the user's name is english,i will be OK,and the ie can be view it. but if the user's name is chinese(because i am in china,so some friend regist by chinese character.),although the file can be upload,but it would be saved in a chinese character folder.And you know the Internet Explorer Address can't auspice the chinese character< |
|
|
koolio
Starting Member
6 Posts |
Posted - 10 May 2004 : 15:01:11
|
Do I have to install any mod before this? I tried many times but can't get this mod work. Thanks.< |
|
|
FatherFrench
Starting Member
6 Posts |
Posted - 17 May 2004 : 05:45:12
|
Hi, Your Mod is great and works very well. I have a small question you or someone else may be able to answer. I would like the Mod to only appear in a private forum. I have had a look and think that a conditional if statement around your mod in the post page would do the trick, I am just unable to find the correct parameter to test against. (E.G. if (private) show mod). I have tried several, but as yet failed, if any of you experts know what I should be testing against > any help would be much appreciated.< |
|
|
proeder
Junior Member
Australia
230 Posts |
Posted - 17 May 2004 : 20:22:45
|
Yeah, sth like
if forum is private then show attachment link end if
is it that what you mean? Then have a look at inc_func_secure.asp there is a function 'chkForumAccess(fForum, UserNum, Display)' which should give you an idea on how to write sth. similar for checking if a forum is a private one.
Let say you write a funkction CheckForumStatus(fForum) in post.asp you would add a statement like
if CheckForumStatus(strRqForumID) then '### Code for displaying the attachment row end if
Simply let the function return true in these cases you would like to be able to attach files. If you need help with the function let me know. < |
Looking for german Snitz forum? Suchst Du ein deutsches Snitz Forum? Hier findest Du eins...
Hosting with ASP Support available: http://www.sharepointing.com |
|
|
FatherFrench
Starting Member
6 Posts |
Posted - 18 May 2004 : 05:13:24
|
Thanks very much, I will give it a go and see how we get on. Thanks again.< |
|
|
FatherFrench
Starting Member
6 Posts |
Posted - 19 May 2004 : 16:48:25
|
Hi proeder, I just cant get this function thing working, its totaly beyond me. Any chance of some help? I would really appreciate it. :-(< |
|
|
wchyrchel
Starting Member
6 Posts |
Posted - 19 May 2004 : 17:20:33
|
I followed all the instructions on setting this thing up in the read me and when I get to the step where I go to the Administration section I get this error when I click the Attachment Administration link,
ADODB.Field (0x800A0BCD) Either BOF or EOF is True, or the current record has been deleted. Requested operation requires a current record. /controltec/supportforums/admin_attach.asp, line 65
Anyone know what I am doing wrong?< |
|
|
wchyrchel
Starting Member
6 Posts |
Posted - 19 May 2004 : 17:52:04
|
I think I narrowed down the problem to the create table statement. After running dbs_attach_newinstall.asp I get the following error at the bottom.
Adding new records.. INSERT INTO FORUM_CTEC_PRODUCTSUPSIZE (UPLOAD_VAR,UPLOAD_VALUE) VALUES ('STRTIMEOUT','3600') INSERT INTO FORUM_CTEC_PRODUCTSUPSIZE (UPLOAD_VAR,UPLOAD_VALUE) VALUES ('STRUPLOADFILESIZE','100000') INSERT INTO FORUM_CTEC_PRODUCTSUPSIZE (UPLOAD_VAR,UPLOAD_VALUE) VALUES ('STRUPLOADFILESIZE','100000') -2147217833 | String or binary data would be truncated.
It seems when this error, "-2147217833 | String or binary data would be truncated." occurs that no records are actually added to the database.
Anyone have a solution?< |
|
|
Topic |
|