T O P I C R E V I E W |
korayem |
Posted - 01 May 2003 : 08:51:28 <font size="4"><u><b>Short description:</b></u> </font id="size4"> -Well this file sharing mod was made especially for the Snitz forums.And as the name suggests, it gives members the ability to upload and share files with other members. -Members can attach their files to posts and pm and even use pictures as avatars. -Features are even extended more to allow members to change type of sharing of individual files to share (any member can view/download the file) ,hide (any member can download by knowing the URL to the file but not list the file in the owners folder) and not shared (cant be view or shared). -Members can also add description to files, choose which category the file being uploaded falls into and even delete and rename files and folders.
<font size="4"><u><b>How it works?:</b></u> </font id="size4"> -Each member has his own folder that he/she may upload files into. Member can create subfolders within their folder but only limited to one level of subfolders. -Members can browse each other members folders and be able to download their files and thus applying the concept of sharing.
<font size="4"><u><b>DEMO:</b></u> </font id="size4"> logon to http://HASdot.COM/forumSnitz/membersfiles.asp U:test P:test and then view members' Files
<font size="4"><b><u>Download File Sharing MOD (FINAL 2.51 updated 28-8-03):</u></b> </font id="size4"><br /> -Requires mouseover forum add-on File_Sharing_MOD_2.51_28-8-2003.zip -Without the mouseover forum add-on File_Sharing_MOD_2.51_NOMOUSEOVER_28-8-2003.zip You will need this logon info U:test P:test
<i>Please Note:</i> this mod started growing from <b>mike's file attachment MOD</b>. Although the original code is completly overwritten, a person should always respect original work. <i>Please Note2:</i> this mod is completly independent and doenst need any other preinstalled MODs.
<font size="4"><u><b>Whats new in 2.51:</b></u> </font id="size4"> -Added a part in the inc_uploadConfig.asp that i accidently forgot to add. -Various here and there code updates
<font size="4"><u><b>Whats new in 2.5:</b></u> </font id="size4"> -Search feature now implemented -New file library to list files by their category -New 3 main admin switches: 1-disableUpload -> use to disable uploading 2-disableDownload -> use to disable downloading (case you exceed your monthly quota) 3-disableAllFileSharing -> use to disable the whole file sharing mod -Enhanced and optimized many parts of the ASP code -Upload pop up window is now larger in size and resizable too. 8-D
<font size="4"><u><b>UPDATING to 2.5 from 2.51:</b></u> </font id="size4"> 1-overwrite ALL files except inc_uploadConfig.asp (its in a separate folder in the zip file) 2-open inc_uploadConfig.asp and delete EVERYTHING starting from <b>DO NOT EDIT PAST THIS PART</b> till the end and replace it with the following code
'#######################################################
' DO NOT EDIT PAST THIS PART
'#######################################################
if sharedFilesMode=2 then
%><!--#INCLUDE FILE="inc_UploadFuncForum.asp" --><%
end if
'split allowedModeratorList to an array
if trim(allowedModeratorList)<>"" then
allowedModeratorList=split(trim(allowedModeratorList),",")
end if
'#####################################################
'Change Current Path case 2nd mode and forumID exist
'#####################################################
if request("forumID")<>"" and sharedFilesMode=2 then
physicalUploadFolder = physicalUploadFolder & "\" & request("forumID")
physicalUploadTextFolder = physicalUploadTextFolder & "\" & request("forumID")
end if
'#################################################################
' change global link of membersFiles.asp according to mode
' NOTE: the "?d=d" doesnt do anything at all.BUT DONT REMOVE IT!
'#################################################################
if sharedFilesMode=1 then
commonMemFilesURL = "membersFiles.asp?d=d"
elseif sharedFilesMode=2 then
if request("forumID")<>"" then
commonMemFilesURL = "membersFiles.asp?forumID=" & request("forumID")
elseif request("catID")<>"" then
commonMemFilesURL = "membersFiles.asp?d=d"
else
commonMemFilesURL = "membersFiles.asp?d=d"
end if
end if
%>
<!--#INCLUDE FILE="inc_UploadFunc.asp" -->
<font size="4"><u><b>UPDATING to 2.5 from 2.4:</b></u> </font id="size4"> 1-overwrite ALL files except inc_uploadConfig.asp (its in a separate folder in the zip file) 2-see in the readme the new part of editing the pop_help.asp page. 3-dont forget to add new links to the MOD: -membersFiles.asp -> lists all members folders -searchFiles.asp -> search files -filesLibrary.asp -> lists file by their category -membersFiles.asp?memberFldrID=%memberID% -> add it to the user's menu so user may access his own folder and start using it for uploading and sharing. 4-add the following to your inc_uploadConfig.asp under <b>ADMIN SETTINGS</b>
disableUpload=false
disableDownload=false
disableAllFileSharing=false
5-you're done
<font size="4"><u><b>FRESH INSTALLATION:</b></u> </font id="size4"> 1-Copy and paste all zipped files to your root forum folder. 2-Edit inc_uploadConfig.asp and change settings. (each variable has a description of what it does) 3-read readme file in the <b>editingOtherFiles</b> folder 4-add new links to the MOD: -membersFiles.asp -> lists all members folders -searchFiles.asp -> search files -filesLibrary.asp -> lists file by their category -membersFiles.asp?memberFldrID=%memberID% -> add it to the user's menu so user may access his own folder and start using it for uploading and sharing.
<i>NOTE:</i> all admin options and settings are edited in the inc_uploadConfig.asp file
<font size="4"><u><b>NOTE:</b></u></font id="size4"> MAKE SURE IF YOU ALREADY HAVE FILE UPLOADING MODS (SUCH AS MYFILES AND FILES DIRECTORY MODS) TO CHANGE THE UPLOAD FOLDER PATH
THIS MOD DEPENDS ON THAT ALL FOLDERS MUST BE NUMBERS REFERING TO MEMBERS' IDs. IF YOU SPECIFY FOLDER FULL OF FOLDER NAMES THAT ARE USERNAMES, THIS MOD WONT WORK(WILL GIVE YOU AN ERROR!!)
ie virtual path to your file sharing: forum/files then the members files should be like forum/files/member1 forum/files/member2 etc...
it should be forum/files/1 forum/files/5 forum/files/13 etc...
<hr noshade size="1"> <center><u><b><font size="6">FEATURES IN DETAILS</font id="size6"></b></u></center> <hr noshade size="1">
<u><b>Current Features:</b></u> -Each user has his own unique directory which is <b>the same as his member ID</b>. -Members can't upload to another members directory. -Each use may upload only file types that are restricted by admin. -Individial file upload size is set by admin -Any member may view any other members' files -Attachment of files is available when posting a message or sending a pm -Max file uploads is set for moderators and members seperatly by admin.(0 to "unlimited") -Max subfolders to be created is set for moderators and members seperatly by admin.(0 to "unlimited") -Delete files, subfolders with contents or ALL files granted only for folder owner and admins (ofcourse). -Members can rename their files' and folders' names. -For security ,members <b>CAN'T</b> change the file extension of their uploaded files -When viewing files, if file is an image, the displayed link is a thumbnail. -After a successful upload, file list is refreshed. -Setting total upload size limit (ie each user has for example only 7MB of total upload files limit)
<u><b>General Features:</b></u> -knowing each member's total files, size and folders when browsing membersFiles.asp page -displays a cool status at the top right corner showing free space left and number of uploaded files and number of subfolders for current member. -Two modes of operation: 1-Normal File Sharing: where each member has his own folder which is accesable by other members/guests 2-Forum File Sharing: where each forum has its own folder and each member will have his own folder inside that forum. Perfect for forums having several different communities on several forums whom have different file types (ie music, pictures etc..) -attaching to posts,pm and even upload your own avatars
<u><b>Attaching:</b></u> -when posting a message or sending a pm, member may choose one of the files he uploaded and attach it. -Attachment in post or PM will display the number of times the file has been downloaded ,file description and file size. and case file doenst exist. it write file doesnt exist.
<u><b>File Lister:</b></u> -browse other members files -view file name ,size, upload date ,description ,category and number of downloads -thumbnail of allowed picture files. -file true path on server is hidden and not revealed for (anti-leeching). You can even save your files not inside the virtual path and download.asp will send the file to the user.
<u><b>For members:</b></u> -ability to upload files (duh!) -rename files (without extension) -delete files -move files from among subfolders and root folder -May create up to 1 level of subfolders ONLY -add/edit individual file description -set file category from a list of categories created by admin -set guest and member sharing of file mode: 1-shared:for normal sharing 2-hidden: so it is not listed but yet downloadable (used when sending someone a private file and you dont want it to be accisable by the publie 3-not shared: the file cant be downloaded nor viewed by anyone except owner and admin -Attach uploaded files to topics and Private messages -Upload an avatar and use it.
<u><b>for moderators:</b></u> -ALL the previous members' privelages -They can see hidden files <u><b>for Admins:</b></u> -ALL the previous members' privelages -Enable/Disable the whole file sharing system. This is critical if for some reasone you want to shutdown the whole thing for debugging or anti-hack anything -set general MOD properties (ie colors, file paths etc...) -set allowed file types -set individial file size limit -set total allocated size allowed for each member -create category list -set member/moderator total file numbers limit and total subfolders limit -set file description characters length -change the file's total downloaded times number -unlimited number of uploads and unlimited space (admin baby) -can share/hide/not share any file's setting EVEN IF HE ALREADY DISABLED THIS FEATURE FOR MEMBERS. <u><b>Security:</b></u> -Members can set the share type of their files to both guests and members. -File real URL is hidden, ie no one will know where the files are really stored at. this gives the admin the capability to even put the shared files directory outside the virtual path!! -downloading of files now forces the open/save window. -members can rename files but can NEVER change file extensions (u dont want any one to upload a hack.jpg and then rename it to hack.asp and voila he gets control over your site) LOL -Download counter doesnt increment by one unless the file download is completed.
<u><b>Searching(NEW):</b></u> -search ALL files by filename,description, category, size and extension -hidden files ARENT listed.
<u><b>File Library(NEW):</b></u> -Lists all files by their category. -Gives members ability to browse files among many members by simply specifying the file category.
<u><b>Admin Switches(NEW):</b></u> -New 3 main admin switches can be set in the inc_uploadConfig.asp 1-disableUpload -> use to disable uploading 2-disableDownload -> use to disable downloading (case you exceed your monthly quota) 3-disableAllFileSharing -> use to disable the whole file sharing mod
<u><b>Extended Features:</b></u> -Made a new forum code tag [file][/file] which will refer to files by member id and file name. ie [file]winxpicons1.gif,7,,0[/file]. why is this so important. well its VERY important since if we use it <i>my way</i>, then if an admin changed the actual virtual path of uploaded files on the server wont affect a single post. while <i>old method</i> of posting direct link and if path changes, all posts refering to old location become broken links. using the [file][/file] tag idea, path changes dynamically according to the current virtual path -creating asp-processed smaller byte sized thumbnails ,using commercial non-free asp components (ie those 300KB pic are thumbnailed to 2KB !!!) -time and date of upload is now adjusted according to the time offset of the server set in the admin options -User can select wether or not guests are allowed to view their files -Deletion requires confirmation by opening a javascript yes/no dialog box so that accidental click on delete button wont delete file(s)/folder from first click! -supports <b>ASPUpload component </b> that opens a <b>status bar</b> to tell u the speed of upload and shows the upload percentage bar -now when viewing member profile, it gives u details about total files uploaded and their total size, plus the number of subfolders.(EXAMPLE:VIEW ANY MEMBER PROFILE AT MY SITE) -a new icon has been added to the list of icons that display for each member when viewing a topic, or seeing member list (ie, icons of profile,homepage, send email etc..) which is a shortcut to the current memebrs' files and onmouse over displays the total uploaded files (EXAMPLE:VIEW MEMBERS LIST OR OPEN ANY TOPIC AT MY SITE) -brother <b>ez4Arab</b>'s idea of adding an icon according the file type -changed the FAQ to tell user how to use the file sharing thing.(note that all,and i mean all, forums if they have file uploading supported they totally forget about changing the FAQ page and still have the old "<i><b>Attaching Files:</b> For security reasons, you may not attach files to any posts. However, you may cut and paste text into your post.</i>" yea right!! LOL you can download my faq.asp file by clicking here)
<u><b>Design Change Feature:</b></u> -The design of the mod blends with Snitz design. feels like its part of the forum.
<u><b>Future Features:(NOT DONE YET)</b></u> -setting admin options in the admin section instead of editing the asp file. -<s>Search tool. by member, file name size date etc...</s> DONE!!! -membersfiles_stats.asp-> to display statistical info such as top downloaded, top uploader etc.. -log file to monitor all upload/download/edit/delete/everything actions |
15 L A T E S T R E P L I E S (Newest First) |
Netz |
Posted - 12 July 2007 : 07:31:07 Hi All,
I been using Snitz for a long time... (Use Image fantastic Portal - It rocks)
However... I just needed a small "Support" site for communication (people in different time zones) and a forum is cool to keep things organized.
So I installed a fresh raw snitz 3.4.06 and just to added this FILE SHARE MOD .. That I had to download from Snitbitz (their login don't even work any more.. Script error!! :()
Very little adjustment... And the thing just lid up! - IT WORKS!! Thanks to all - And have a fantastic day! < |
Aaron Cake |
Posted - 06 December 2006 : 19:54:40 Ah, nevermind. I've just decided to use Mike's File Sharing Mod and modify the code for my purpose.< |
Aaron Cake |
Posted - 05 December 2006 : 20:08:53 I've been battling this mod for about two weeks now and can't get it to work. When I attach a file and press the "Upload" button, the button momentarily changes to "Please Wait" and then returns to "Upload" and the form fields clear. As far as I can tell the file goes nowhere as it does not end up in the sharedfiles folder nor the temp folder.
I've hacked around in the code to try and find out exactly what is happening when that "Upload" button is pressed and cannot find any reason why it does not work. There's no error or other indication that something is wrong other then I do not get redirected to the progress display...and of course nothing happens. Tried under NT4/IIS4 and Win2K3/IIS6 with the same resuls.
Any ideas?< |
Max0005 |
Posted - 26 November 2006 : 10:25:23 Korayem, I have to say, that the links are BROKEN. So, I just wanted to tell everyone, that if you want to download the mod, go to:
http://www.snitzbitz.com/mods/details.asp?Version=All&mid=150
That's all!
Oh, and Korayem, I'll let you know what I think of your mod when I've tried it! < |
DarrenLuxton |
Posted - 26 March 2006 : 17:38:58 This is an excellent mod, in which i've been using for ages, however, i now require the need to RESIZE images if they are larger than xxx.
Basically, as we know, when you upload an Image into a post, that image is shown in full size, wether it is a JPG, GIF, PNG etc, what i would like to have is, if the image is larger than 650x650 pixels, it will auto resize the image to 650x650.
Example, if the image is 500x500, it would do nothing, however, if the image is 1024x768, it would resize the image displayed to 650x650.
Any help or mod that would enable me to do this i would be much appreicated, i've looks at the Auto-Resize Image mod, but that works with [img] tages, and i know this mod has its own unique [file] tages.
Thanks in advance.< |
jobryan26 |
Posted - 21 February 2006 : 17:29:31 Still hoping for solution. thz< |
HuwR |
Posted - 14 February 2006 : 08:15:38 quote: Originally posted by Gizmo3
Thought this was the right forum
No, this is the forum to post MOD releases, if you have problems installing a MOD you should post in the "Mod Implementation" forum< |
Gizmo3 |
Posted - 14 February 2006 : 08:05:32 Thought this was the right forum< |
HuwR |
Posted - 14 February 2006 : 03:23:20 gizmo3, pleae do not flood the forums with your question, once is more than enough. But also try to post it in the correct forum, ie MOD Implementation if you are having problems.< |
Gizmo3 |
Posted - 13 February 2006 : 21:48:44 I have installed Mod 2.51 mouse over on forum 2000
It says I have uploded the file successfully but the file does no show. in my profile it saya I have uploded no files. I check the directory and the files are no there.
I am running win 2003 server with access datebase.
the address is www.ontbus.com if you want to give it a try. user guest pass guest
Hope someone can help.< |
Gizmo3 |
Posted - 13 February 2006 : 21:42:31 I installed Mod 2. 51 Mouseover I am having some issues with the mod.
It says the file was uploaded but nothing gets uploaded.
in my profile it says I have uploaded no files.
I am running win server 2003 Access Database forum 2000
If you wish to try your sef the address is www.ontbus.com user guest pass guest
< |
jobryan26 |
Posted - 11 February 2006 : 15:56:07 quote: Originally posted by bsmither
quote: Originally posted by ehoffman73
This is also happening to me...the member folders don't exist before they upload, does this not auto-create those folders for a member....can't manually make folders for thousands of members.
Thanks!
quote: Originally posted by mortioli
Scripting error '800a0046'
Permission denied
/forum/membersfiles.asp, line 424
Would this be a problem with the server creating the folders?
How would I get round this
Running into the same problem.
What I've discovered, but have not yet implemented due to other problems, is that according to some, the CreateFolder method cannot make more than one folder at a time. That includes nesting.
So, here's some code I found:
Sub MkDeepDir(ByVal Path)
Dim fso
Set fso = CreateObject("Scripting.FileSystemObject")
If not fso.FolderExists(fso.GetParentFolderName(Path)) Then
MkDeepDir(fso.GetParentFolderName(Path))
End If
fso.CreateFolder(Path)
End Sub ' MkDeepDir
It's recursive so that it finds the highest parent that exists, then adds children, one at a time, until the full path exists.
Problem is, one may need to add this to every occurance of CreateFolder throughout the forum code.
Anyway...
Same problem here. Anyone have a fix for this?< |
sadra |
Posted - 21 January 2006 : 23:25:57 Salamon Alaykom Va Rahmatollah korayem ßíÝ ÇÕÈÍ íÇ ÇÎí ÇäÇ ÇíÑÇäí æ ÇÓãí ÓÌÇÏ¡ áØÝÇ íæäíßÏ æÑÒä Please Unicode Version!!< |
ckvkkeek |
Posted - 17 January 2006 : 22:36:43 So some of us newbies don't have to wade through 80 post... where are the latest files?< |
wildfiction |
Posted - 07 January 2006 : 12:41:27 I have been using this mod for over 6 months now and it works well. I have always had this little annoying error that I haven't been able to fix but I am now determined to find a solution to it.
Whenever I post a reply to a topic that has had an image uploaded in a previous topic the forum then tries to download the image to my computer. Because I have a popup blocker on IE it says that it is trying to download a file and so it doesn't download but this is obviously not how it's supposed to function...
Any ideas?< |
|
|