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)
 File Sharing MOD (FINAL 2.51 updated 28-8-03 )
 New Topic  Reply to Topic
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 14

Carlos Miranda Levy
Starting Member

26 Posts

Posted - 05 September 2003 :  15:35:59  Show Profile  Reply with Quote
Thanks, definitely the error was in the file path. I thought it was ok, but closely looking at it, I found the error.<
Go to Top of Page

mortioli
Average Member

United Kingdom
898 Posts

Posted - 06 September 2003 :  03:14:03  Show Profile  Visit mortioli's Homepage  Send mortioli an AOL message  Send mortioli a Yahoo! Message  Reply with Quote
How would I make it to allow people to use uploaded files as an avatar?

I don't have this line:

	"<input class=newlogin type=""text"" name=""Avatar"" value=""" & strMyAvatar & """> <input class=buttons name=""pickavatar"" type=""button"" value=""Our Avatars"" onclick=""javascript:window.viewfull('inc_avatar.asp?box=Avatar')"">" & vbnewline &_


<
Go to Top of Page

choppermc
New Member

Australia
80 Posts

Posted - 06 September 2003 :  10:13:23  Show Profile  Send choppermc an AOL message  Reply with Quote
I also have the same problem as mortioli, and I don't have the lines specifed in the readme for pop_profile.asp
Does any one have a quick fix for this.<

Oh....Is that it?
Go to Top of Page

korayem
New Member

Egypt
72 Posts

Posted - 07 September 2003 :  07:01:09  Show Profile  Reply with Quote
will someone send me their file's code and i will look it up and send you the correct location to insert the ASP code that adds those buttons.

sorry guys but looks like my version is different....<


By the time you read this, you've already read it!!
http://HASdot.COM/
Go to Top of Page

choppermc
New Member

Australia
80 Posts

Posted - 08 September 2003 :  03:02:29  Show Profile  Send choppermc an AOL message  Reply with Quote
quote:
Originally posted by korayem

will someone send me their file's code


Here is a link to a zip file containing my pop_profile and inc_profile.

http://www.digitalmarketbiz.com/Files_Alter.zip

Thanks<

Oh....Is that it?
Go to Top of Page

mspetrillo
Starting Member

10 Posts

Posted - 09 September 2003 :  15:55:12  Show Profile  Reply with Quote
Hey korayem,

I tried sending the inc_uploadconfig file to you through the members links but it doesn't seem to have got to you. Where would you like me to send it. I don't have your email addy and it seems your site is under construction.

Thanks<
Go to Top of Page

sr_erick
Senior Member

USA
1318 Posts

Posted - 11 September 2003 :  22:52:57  Show Profile  Visit sr_erick's Homepage  Send sr_erick a Yahoo! Message  Reply with Quote
Could I get the inc_uploadconfig file from someone? erick atsnowmobilefanatics.com

Nevermind, I got it.<




Erick
Snowmobile Fanatics


Edited by - sr_erick on 14 September 2003 21:24:15
Go to Top of Page

AnhLong
Starting Member

23 Posts

Posted - 15 September 2003 :  05:31:11  Show Profile  Reply with Quote
i got the eror can some one help?

http://www.vietnam203.com/membersFiles.asp?d=d

Microsoft JET Database Engine error '80040e10'

No value given for one or more required parameters.

/inc_UploadFunc.asp, line 551


here is my inc_uploadconfig.asp

<%
'################################################
' ADMIN SETTINGS
'################################################

'###-change this to enable/disable part/ALL the file sharing MOD (uploading ,downloading and everything)
disableUpload=false
disableDownload=false
disableAllFileSharing=false

'################################################
' FILE SHARING MODE
'################################################
sharedFilesMode=1

'################################################
' THUMBNAIL MODE
'################################################

ASPThumbMode=1
'-set width and height of the thumbnail
thumbWidth=100
thumbHeight=100

'################################################
' FILE CATEGORY SETTINGS
'################################################

fileCatMode=true
redim fileCatList(3)
fileCatList(0)="mp3"
fileCatList(1)="swf"
fileCatList(2)="wma"
fileCatList(3)="image"

'MODERATOR SETTINGS:
'if following variable was set to true, then moderators will be able to
' edit,move,delete and rename any files and folders
' including admin and other moderators
allowFullModeratorAccess=true
'enter list if moderator member IDs SEPERATED BY COMMAS that you want to
' grant access to any member's files
'NOTE: if you want ALL moderators to have full access set following variable
' to empty string, ie ""
allowedModeratorList="2,3"


'array of allowed file types
allowFileType = Array("jpg", "jpeg", "gif", "zip", "doc", "swf", "rar", "wma", "mp3")
'maximum allowed individual file upload size in bytes
maxByteSize = 5*1024^2
'set colors used to display the file's type of share(show,hide,dont share) set by member
colorShare="#33CC00" 'files shared by all other members
colorHide="#FF0000" 'files hidden buy yet downloadable by other members(case link was enterd in a topic).
colorDontShare="#FF6600" 'files not shared at all. cant be viewed or even downloaded (except by owner ofcourse).

'set the maximum allowed file info text length to be entered per file
maxFileDescLength = 300
'maximum MINUTES to wait for upload (changes scriptTimeout value when uploading only)
maxUploadTime=25
'choose whether to use aspUpload Componenent or not
aspComponent=false
'Choose wether to display the upload status bar or not(NEEDS ASPUPLOAD 2 BE ENABLED FIRST)
aspComponentStatusBar=false
'Set where the files icons are placed using virtual path from root
fileIconsPath="/fileicons/"

maxMemberFileNo = 10
maxModeratorFileNo = 10
maxTotalFileSize=10*1024^2
'SUBFOLDERS:
maxMemberSubFolderNo = 5
maxModeratorSubFolderNo = 5
setMembersShare=true
setGuestsShare=false 'NOTE:setting this to 'true' will allow guests to view members files if member choose to

'################
' Paths
'################
physicalUploadFolder = "E:\web\wwwvn203com\httpd\uploaded\share"
physicalUploadTempFolder = "E:\web\wwwvn203com\httpd\uploaded\share\temp"
physicalUploadTextFolder = "E:\web\wwwvn203com\httpd\uploaded\share\filesText"
logFilePath = "E:\web\wwwvn203com\httpd\uploaded\share\"

'#######################################################
' DO NOT EDIT PAST THIS PART
'#######################################################<
Go to Top of Page

korayem
New Member

Egypt
72 Posts

Posted - 25 September 2003 :  09:45:04  Show Profile  Reply with Quote
Guys i am really sorry for the extremly long time in replying.

i will reply in order of the replies in this topic...

quote:
Originally posted by James

A couple things I ran across in the readme were that alot of the "find this code and replace with this" listed modded code such as Private messages. Some of the code to find was not in my code (an older version of Private messages, etc) and I ended up having to hunt down a proper place to put code (especially for pop_profile.asp). This may cause a problems for some users if they don't have those mods installed.



yeah i noticed that and i will correct this in the future releases god willing

mspetrillo
i checked your inc_uploadConfig.asp and you should change your


mortioli glad you got it to work correctly...and thanx for helping Carlos Miranda Levy..

choppermc i looked into the code you sent,well it was my fault as i thought that everyone has PM Mod installed!! here is what you should do

##################################
## in pop_profile.asp ##
##################################
search for this


				if strRecentTopics = "1" then
					strStartDate = DateToStr(dateadd("d", -30, strForumTimeAdjust))

and immediatly BEFORE that insert the following

				'files uploaded
				Response.Write	"                    <tr>" & vbNewLine & _
						"                      <td align=""center"" bgcolor=""" & strCategoryCellColor & """ colspan=""2""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strCategoryFontColor & """>Shared Files</font></b></td>" & vbNewLine & _
						"                    </tr>" & vbNewLine
				memberFileNo=GetFileNo(CStr(rs("MEMBER_ID")),true,mlev)
				memberSubFolderNo = GetSubFolderNo(physicalUploadFolder & "\" & CStr(rs("MEMBER_ID")))
				memberFileSize = convertSize(GetFileSize(CStr(rs("MEMBER_ID")),true,mlev))
				if memberFileNo="" then memberFileNo=0
				if memberSubFolderNo="" then memberSubFolderNo=0
				Response.Write	"                    <tr>" & vbNewLine & _
					"                      <td bgColor=""" & strAltForumCellColor & """ align=""right"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>Files Uploaded:</font></b></td>" & vbNewLine & _
					"                      <td bgColor=""" & strAltForumCellColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & vbNewLine 
				if memberFileNo<>0 then
					Response.Write "						<a href=""membersFiles.asp?memberFldrID="&rs("MEMBER_ID")&""">Browse</a>" & vbNewLine 
				else
					response.write memberFileNo & "<BR>"
					Response.Write "						No Files uploaded" & vbNewLine
				end if
				Response.Write	"		</font></td>"& vbNewLine&_
					"                    </tr>" & vbNewLine
				Response.Write	"                    <tr>" & vbNewLine & _
					"                      <td bgColor=""" & strAltForumCellColor & """ align=""right"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>Total File(s): </font></b></td>" & vbNewLine & _
					"                      <td bgColor=""" & strAltForumCellColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>"&memberFileNo&"</font></td>" & vbNewLine & _
					"                    </tr>" & vbNewLine
				Response.Write	"                    <tr>" & vbNewLine & _
					"                      <td bgColor=""" & strAltForumCellColor & """ align=""right"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>Subfolder(s): </font></b></td>" & vbNewLine & _
					"                      <td bgColor=""" & strAltForumCellColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>"&memberSubFolderNo&"</font></td>" & vbNewLine & _
					"                    </tr>" & vbNewLine
				Response.Write	"                    <tr>" & vbNewLine & _
					"                      <td bgColor=""" & strAltForumCellColor & """ align=""right"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>Total Size: </font></b></td>" & vbNewLine & _
					"                      <td bgColor=""" & strAltForumCellColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>"&memberFileSize&"</font></td>" & vbNewLine & _
					"                    </tr>" & vbNewLine
				'files uploaded






as for AnhLong
those are totally wrong, if you notice you'll find that physicalUploadTextFolder exist inside the physicalUploadFolder which will mess up everything!!

physicalUploadFolder = "E:\web\wwwvn203com\httpd\uploaded\share"
physicalUploadTempFolder = "E:\web\wwwvn203com\httpd\uploaded\share\temp"
physicalUploadTextFolder = "E:\web\wwwvn203com\httpd\uploaded\share\filesText"


make sure that all 3 paths dont exist inside each other, they should be independent and none should be the subfolder of the other

best values could be like this

physicalUploadFolder = "E:\web\wwwvn203com\httpd\uploaded\files"
physicalUploadTempFolder = "E:\web\wwwvn203com\httpd\uploaded\temp"
physicalUploadTextFolder = "E:\web\wwwvn203com\httpd\uploaded\filesText"

please make sure that the following directories are manually created and exist.<


By the time you read this, you've already read it!!
http://HASdot.COM/
Go to Top of Page

mvrp350
Starting Member

2 Posts

Posted - 26 September 2003 :  06:11:03  Show Profile  Reply with Quote
Hi I've trying to get your MOD up and running, but I've got a problem. Probably it's because I'm very stupid and I have overseen something

I have your mod set up, I click 'upload' in a reply, it goes to the first screen.
After selecting the file and adding the comment I click 'upload' After that it indicates it is busy. After a few second I receive an error 500 internal server error, stating that the page cannot be displayed.
What is it that I'm missing?

I've got the aspUpload component disabled, but it also goes limb when I've got it enabled.

Any help is very much appriciated,
Kind regards MvR
<
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 26 September 2003 :  06:16:44  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message  Reply with Quote
quote:
I have your mod set up, I click 'upload' in a reply, it goes to the first screen.
After selecting the file and adding the comment I click 'upload' After that it indicates it is busy. After a few second I receive an error 500 internal server error, stating that the page cannot be displayed.
What is it that I'm missing?

Turn off Friendly HTTP Errors in your browser (here are instructions on how to do that) and then post the real error message you get.<

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
Go to Top of Page

jeffery
Junior Member

USA
176 Posts

Posted - 26 September 2003 :  13:51:06  Show Profile  Reply with Quote
Korayem,
Any idea how I would get this mod topic.asp?TOPIC_ID=47947 to work with your file share mod so that the images are resized in posts with a java pop-up for the full image?<

www.thomasforum.com
Go to Top of Page

mvrp350
Starting Member

2 Posts

Posted - 01 October 2003 :  06:58:50  Show Profile  Reply with Quote
Hi,

Okay I got it working, except that I have 1 problem:
If I upload a file it processes and the second screen, stating the upload has completed, appears. If I look in my webpage the file is still in the tempfiles-folder, but has not been moved towards the user-folder.

Taken from pop_upload_new_result.asp:

if objFSO.FileExists(oldFileNamePath) then
'if exists then move file to its corresponding folder
' response.Write oldfilenamepath & vbnewline
' response.Write newfilenamepath
objFSO.MoveFile oldFileNamePath, newFileNamePath
end if

It must happen on this spot, but if I turn the response.write lines on it displays exactly the locations I'd expect to see. So the problem must be in the fso, but why?

Any ideas?<
Go to Top of Page

choppermc
New Member

Australia
80 Posts

Posted - 01 October 2003 :  07:57:55  Show Profile  Send choppermc an AOL message  Reply with Quote
Thank you for you help Korayem, it seems to be working fine except for one thing, the message is showing twice inside the one posting every time I post a new topic or reply to other posts. Any Ideas what could be causing that?
Cheers!!

Disregard that last little problem as it had nothing to do with your mod, it was the poll mod I had just installed, your mod works great <

Oh....Is that it?

Edited by - choppermc on 03 October 2003 09:40:22
Go to Top of Page

n8pbm
Junior Member

USA
212 Posts

Posted - 04 October 2003 :  22:38:33  Show Profile  Visit n8pbm's Homepage  Reply with Quote
quote:
Originally posted by mortioli

How would I make it to allow people to use uploaded files as an avatar?

I don't have this line:

	"<input class=newlogin type=""text"" name=""Avatar"" value=""" & strMyAvatar & """> <input class=buttons name=""pickavatar"" type=""button"" value=""Our Avatars"" onclick=""javascript:window.viewfull('inc_avatar.asp?box=Avatar')"">" & vbnewline &_






Has that been resolved? I do not have that line in my pop_profile.asp. I read through all the replies but maybe I missed it somewhere?<

Mike
Great Lakes Pop Up Club Camping
Go to Top of Page
Page: of 14 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.15 seconds. Powered By: Snitz Forums 2000 Version 3.4.07