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/Code)
 proeder's File Attachment Mod 1.0
 New Topic  Reply to Topic
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 13

RichLondoner
Starting Member

United Kingdom
43 Posts

Posted - 07 May 2004 :  06:09:06  Show Profile  Visit RichLondoner's Homepage  Reply with Quote
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
Go to Top of Page

Battalion
Starting Member

6 Posts

Posted - 07 May 2004 :  11:13:59  Show Profile  Reply with Quote
Proeder,

when I click on the download link the file is missing. is there a new location?<
Go to Top of Page

Panhandler
Average Member

USA
783 Posts

Posted - 07 May 2004 :  16:07:02  Show Profile  Visit Panhandler's Homepage  Reply with Quote
I think this is it:
http://www.sharepointing.com/download.asp?mc=4<


"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


Go to Top of Page

Jag24
Junior Member

182 Posts

Posted - 08 May 2004 :  01:44:07  Show Profile  Visit Jag24's Homepage  Send Jag24 an ICQ Message  Reply with Quote
hmm Anything in english?
<
Go to Top of Page

Panhandler
Average Member

USA
783 Posts

Posted - 08 May 2004 :  08:53:03  Show Profile  Visit Panhandler's Homepage  Reply with Quote
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


Go to Top of Page

proeder
Junior Member

Australia
230 Posts

Posted - 09 May 2004 :  00:13:04  Show Profile  Visit proeder's Homepage  Reply with Quote
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
Go to Top of Page

proeder
Junior Member

Australia
230 Posts

Posted - 09 May 2004 :  05:52:08  Show Profile  Visit proeder's Homepage  Reply with Quote
Link updated!<

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

ping
Starting Member

31 Posts

Posted - 10 May 2004 :  05:44:12  Show Profile  Reply with Quote
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<
Go to Top of Page

koolio
Starting Member

6 Posts

Posted - 10 May 2004 :  15:01:11  Show Profile  Reply with Quote
Do I have to install any mod before this? I tried many times but can't get this mod work. Thanks.<
Go to Top of Page

FatherFrench
Starting Member

6 Posts

Posted - 17 May 2004 :  05:45:12  Show Profile  Reply with Quote
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.<
Go to Top of Page

proeder
Junior Member

Australia
230 Posts

Posted - 17 May 2004 :  20:22:45  Show Profile  Visit proeder's Homepage  Reply with Quote
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
Go to Top of Page

FatherFrench
Starting Member

6 Posts

Posted - 18 May 2004 :  05:13:24  Show Profile  Reply with Quote
Thanks very much, I will give it a go and see how we get on. Thanks again.<
Go to Top of Page

FatherFrench
Starting Member

6 Posts

Posted - 19 May 2004 :  16:48:25  Show Profile  Reply with Quote
Hi proeder,
I just cant get this function thing working, its totaly beyond me. Any chance of some help?
I would really appreciate it.
:-(<
Go to Top of Page

wchyrchel
Starting Member

6 Posts

Posted - 19 May 2004 :  17:20:33  Show Profile  Reply with Quote
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?<
Go to Top of Page

wchyrchel
Starting Member

6 Posts

Posted - 19 May 2004 :  17:52:04  Show Profile  Reply with Quote
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?<
Go to Top of Page
Page: of 13 Previous Topic Topic Next Topic  
Previous Page | Next Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.12 seconds. Powered By: Snitz Forums 2000 Version 3.4.07