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

Quote:
Originally Posted by Zookie View Post
Thanks for all the help so far. I'm almost there but I have a bunch of questions still now that I've got it working. I'm using LDM only for uploading and downloading files. No links and no streaming data (music, videos, etc.). I don't want any mention of links on the site - just uploads and downloads.
The following texts are set/changed using vbulletin phrases (vb/admincp/languages and phrases), as marked below:
  1. How can I change the string in the Search menu from "Search Links/Downloads" to "Search Downloads"? phrase ldm_vbmenu_search
  2. How can I change the "Add Entry" link on the Category page to "Upload a File"? ll_menu_addlink
  3. How can I change the "Name" label on the Add Entry page to "List Name"? ll_name
  4. How can I change the "No file/url specified" error label to "No file specified"? ll_error_urlnull
  5. How can I remove the "If used, leave URL field blank" label on the Add Entry page? ll_uploadinfo

The master phrase file is provided in the /development/phrases subdirectory of the zip file - you can look through there to find the correspondence between other phrases and phrase names.

The following requires a template edit and a phrase edit:
  1. How can I change the bold, red "[Value Required]"string on the Add Entry page to non-bold, red "(required)"?

a) Edit the template links_addentity and find the sequence:
<span class="highlight smallfont">[$vbphrase[ll_value_required]]</span>
Change to
($vbphrase[ll_value_required])
b) Edit the phrase ll_value_required

The following depend on LDM permissions (LDM/admin/permissions)
  1. How can I remove the "Parent Categories" area on Add Entry page? can_select_category permission
  2. How can I remove the "Parent Forum" area on Add Entry page? can_set_permissions
  3. How can I remove the "Display Order" area on Add Entry page (or is this only displayed to admins)? can_set_display_order
  4. How can I remove the "Hide Entry" area on Add Entry page (or is this only displayed to admins)? can_moderate_links
  5. On the Add Entry page, I don't want the "Submitted By" value to be editable. It should be the userID of the person adding the list. Is this only editable by an admin? If so, then it's no problem. can_moderate_links


Quote:
Originally Posted by Zookie View Post
Now for the slightly bigger issue. I can't figure out where my uploads are being stored.
They should be stored in c:/LDM/Downloads with the settings you've given. If you want them in c:\Websites\MySite.com\LDM\Downloads\, you need to set local_file_root_prefix set to "Websites/MySite.com/LDM"
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01126 seconds
  • Memory Usage 1,777KB
  • 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
  • (2)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