vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - Files Upload Center - Upload Your Files To External Server (https://vborg.vbsupport.ru/showthread.php?t=113583)

beebi 04-19-2006 10:00 PM

Files Upload Center - Upload Your Files To External Server
 
Description
allow your users to upload files by a highly rules. which can be customized in your ACP


for 3.5.x AND 3.6.x

Features List:
1- Folder for each member or one folder to all members.
2- You can customize file size, type and the folder size.
3- Full statistics about each file uploaded, by who and the time.
4- Have the option to delet specifiec file or all files for specifiec member.
5- Any member can delet all files he uploaded.
6- Work with safe mode without problems.
7- You can choose specifiec member and give him the right to upload with any size or type.
8- Full information about every member using the uploading center.
9- You can make make any member folder : Unlimited
10- Giving the member (bbcode) to use it on his posts.
11- Customize a setting for each group.
12- Ban member when he try to upload a file that can cause to hack the site (php, htm, cgi)
13- Block specifiec members.
14- upload your files to AN external server. .
15- (NEW) Moderators control panel
16- (NEW) Real name even when you using the digital names.
17- (NEW) Description for uploaded files.
18- (NEW) Disable [tags].
19- (NEW) 16 hooks location built-in. to use it in stores systems
20- (NEW) Upload from post,PM,newthread.

100% Valid XHTML 1.0 Templates
https://vborg.vbsupport.ru/external/2010/10/30.jpg

Installation:
1. Upload the contents of 'upload' to your forum directory.
2. Import product-uploader.xml into your products be going to Plugin System -> Manage Products -> Add/Import Product.
3. Create a directory called 'uploaded' (just make sure it has the same name as the directory in your settings) and make it writable and executable (777 permissions).
4. Go to your 'Usergroup Manager' and assign usergroups permissions.
5. Go to the 'Settings' menu under 'Files upload center options' in your admincp and fill them out accordingly.

upgrade:
1. Upload the contents of 'upload' to your forum directory.
2. Import product-uploader.xml into your products be going to Plugin System -> Manage Products -> Add/Import Product with YSE in Allow Overwrite
3. Go to your 'Usergroup Manager' and assign usergroups permissions.
4. Go to the 'Settings' menu under 'Files upload center options' in your admincp and fill them out accordingly.

Template Edits:
Inside template 'navbar':

Find:
Code:

<td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
Add Below:
Code:

<!-- uploader -->
<td class="vbmenu_control"><a href="uploader.php$session[sessionurl_q]">$vbphrase[uploader]</a></td>
<!-- uploader end -->

Known Bugs:
If you can upload files but you can't browse them, delete .htaccess in the folder uploaded

Translations:
1-English Translation Ghanem .
2-German Trasnlation derblack .

please click install
if you installed this hack. so you can received the update. and to get support thank you.

Regards.

beebi 04-20-2006 05:32 PM

1- Don't you ever disable Digital file names, it's too risk.

2- Don't you ever try to upload max then PHP Maximum Upload Size Attachment 46164.

3- if you don't want your users to to display there IMG in anther site modify the .htaccess Attachment 46217,

4-if you want to enable flash tag use this Attachment 46218

5- to make a user FTP click

beebi 04-20-2006 05:33 PM

Screenshots - ACP

beebi 04-20-2006 05:34 PM

Screenshots - forum

Developer 04-20-2006 05:55 PM

Great hack :)

POSTED by BeeBi:
Cpanel Users
How-To make ftp account via site's control panel

Open Your Cpanel ==> ftp manger
Attachment 46405
You will see a list choose "Ftp Accounts"
Attachment 46406
Then "Add Ftp Account"
Attachment 46407
Login = enter here username as uploaded
password = enter ur password
quota = unlimited (make sure it's unlimited)
directory = enter the full path to ur "uploaded" folder like /home/"ur username that u use it to log in to the cpanel"/public_html/"ur forum dir"/uploaded
Attachment 46408

Atakan KOC 04-20-2006 05:56 PM

Very Nice.

beebi 04-20-2006 05:57 PM

thx :banana:

Ghanem 04-20-2006 06:02 PM

glad to see it finally in english
been using it for few months with out any prb
Thank you very much :)

The Chief 04-20-2006 06:29 PM

This looks good, will check it out :)

Zachery 04-20-2006 06:35 PM

For starters, theres no reason to ever store attachments (of any kind) in a webaccessable folder.

It seems that you retain the original filenames? Why? It would be better to store the entrys filetype in the database and pass the fileinfo back in the headers and serve the file dynamicly, much like how vB already does it.

Also, some filesystems have a limit of files/folders that they can store in a single directory, even with the /userid setting that could still get bad.

Anyreason you don't just store the files with a more useable namespace, like userid_attachid.attach ?


All times are GMT. The time now is 03:06 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01197 seconds
  • Memory Usage 1,745KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete