Thread: Major Additions - Links and Downloads Manager
View Single Post
  #54  
Old 01-13-2008, 03:24 AM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by reddyink View Post
As a user how can I upload a file using browse, select and upload.(similar to add thread)

Where is the field???

Do I need to make it active using admincp??
step 1:

By default (i.e. as first installed) uploads are disbled in LDM, so the first step for the admin is to enable them (LDM/admin/settings/Controls on File Uploads) You have to specify the directory where the uploaded files will be stored (unlike vb itself, which by default stores attachments in the database).

step 2:

You mustalso decide which filetypes can be uploaded. By default, LDM will accept any filetypes that are listed in the VB/admin/attachments table. Standard users will be able to upload files up to the size limits given in that table; admins can upload up to the maximum size permitted by your php site configuration.

LDM will *not* accept uploads of filetypes that are not listed in that table, so if there are particular filetypes you need, you have to add them, along with correct 'mimetype' information. There's a LDM extra (see the extras directory in the release) which will do this for most of the common filetypes automatically), or you can do the job by hand

step 3

You need to give the desired usergroups permission to upload (LDM/admin/permissions/can_upload_files)

After you've done this, the 'add entry' form will include options to browse and upload.

Ther can be problems with step 1 depending on your site configuration, but it's possible to work around these in most cases.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01229 seconds
  • Memory Usage 1,765KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete