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

Quote:
Originally Posted by rolandogomez View Post
Andrew,

Nice hack, finally figured how to install it. Question though, it comes with all those nice extra plugins, but none say what "hook" to select from the drop down menu. Being a non-coder, could you clarify the proper hooks for

add-this-link
autocreate-threads
force-mp3-to-m3u
jukebox-enhancements
kill-LDM
lightbox
limit-uploads
limit-useraccess
patch-forumhome
patch-forumhome-newlinks
patch-forumhome-thumbs
patch-showthread
readme.txt
rss2
sample-avi-image
stream-mms-videos
versionist
wimpy-player
xml-import

Also, where can we get this plugin, "To add new filetypes, use VB->Admincp->Attachments->Attachment Manager->Add New Extension. (NB: With effect from version 2.2.7 of LDM, there is an 'add-mimetypes-plugin' extra in the release .zip file, which will 'auto-install' all the common media file extensions into your vb tables.)"

Thanks a bunch! Looking forward to the update. Rolando.
There's two ways of installing plugins - either by selecting a hook ("Add Plugin") or by Uploading a plugin xml file. The extras you mention are usually designed to be uploaded - go to your vb admincp/products and plugins/download and upload and simply upload the relevant xml file. It knows where to hook itself. (If you want, take a look inside the various xml files - you'll see how they are laid out.)

Your question 2) - again, you currently go to the vb admincp/attachments/attachment manager, and you add the new extension. As I noted, with 2.2.7, I'll provide an add on that will do this automatically, but I recommend that you try to understand how to do it manually - because you are fundamentally changing what types of file people can place on your board.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01039 seconds
  • Memory Usage 1,767KB
  • 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