Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Links and Downloads Manager Details »»
Links and Downloads Manager
Version: 2.2.8, by AndrewD AndrewD is offline
Developer Last Online: Apr 2010 Show Printable Version Email this Page

Category: Major Additions - Version: 3.6.x Rating:
Released: 06-18-2006 Last Update: 02-03-2008 Installs: 661
DB Changes Uses Plugins
Additional Files Translations  
No support by the author.

Version 2.3.0 of LDM is now the official release. This works with both VB3.7 and VB3.8. You can obtain it here

Version 2.2.8 remains available here, with limited support.

04.02.08: patch-cat.xml 'extra' uploaded - see first post for information

27.10.07: Version 2.2.8-post1 uploaded
French translation of product installer uploaded (other language translations are in the main release zip)

Remember to back up your current database tables before upgrading.

What this is and does

LDM is a general-purpose link and file manager, which handles user uploads and downloads in a flexible way. A range of media players is integrated into LDM and others are included as plugin extras. LDM is described below in the first post of this thread, which also contains a brief list of the currently-known bugs.

This release of LDM works correctly with all VB versions 3.6.x and recent versions of vbadvanced.

Documentation, screen shots, etc, are provided as a Wiki at http://www.eirma.org/wikis/index.php...nloads_Manager

Thank you to everyone who has tested, given suggestions, helped with the translations, etc.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
VIP Hawaii

Comments
  #2492  
Old 10-17-2007, 05:32 PM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by CP, View Post
Looks like a very well thoughtout hack.

Now i have only one concern. I would like my users to be able to add images and upload their own files under whichever catergory they choose..
This is certainly possible.

Quote:
Originally Posted by CP, View Post
Now i am planning to obtain another host where i will only be hosting files and images, could i possibly link all the "uploads and hosting" -"managed by this hack" to be hosted on another server "whilst this hack remainds on my forums server"

Is and will this be possible?

Cheers
I'm not entirely sure I understand this question.

- If you mean, can this hack be used to store the uploads on a different server than the one on which it is running, the answer is no. This would not be possible without implementing some sort of ftp processor.

- But if you mean, can one server be used to provide managed access to files held on another server, the answer is yes. There is one warning about setting up that configuration - if the files are large/with lots of access (e.g. video, mass access to mp3s, etc) and you want to maintain security (i.e. not disclose where the files are coming from), then there is a heavy overhead in transferring everything securely between the two servers.
Reply With Quote
  #2493  
Old 10-17-2007, 05:54 PM
CP, CP, is offline
 
Join Date: Aug 2005
Location: UK London
Posts: 276
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AndrewD View Post
This is certainly possible.

I'm not entirely sure I understand this question.

- If you mean, can this hack be used to store the uploads on a different server than the one on which it is running, the answer is no. This would not be possible without implementing some sort of ftp processor.
I see, my question answered. But do you think you could possibly consider this? There is a vbhack which does this exactly onto an external server, maybe you could grab his codes and with his permission just implement the two together which i think would be an added bonus.. here it is: https://vborg.vbsupport.ru/showthrea...hlight=hosting

Quote:
Originally Posted by AndrewD View Post
- But if you mean, can one server be used to provide managed access to files held on another server, the answer is yes. There is one warning about setting up that configuration - if the files are large/with lots of access (e.g. video, mass access to mp3s, etc) and you want to maintain security (i.e. not disclose where the files are coming from), then there is a heavy overhead in transferring everything securely between the two servers.
I see. Could i not just host a script or link the script back to my server so when the upload process takes place its going to the second server anyway? or maybe not as its still being hosted on my first server and in order for it to upload it has to go through the current server onto the second..?
Reply With Quote
  #2494  
Old 10-18-2007, 02:17 AM
Nam's Avatar
Nam Nam is offline
 
Join Date: Oct 2001
Location: NY
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AndrewD View Post
- But if you mean, can one server be used to provide managed access to files held on another server, the answer is yes. There is one warning about setting up that configuration - if the files are large/with lots of access (e.g. video, mass access to mp3s, etc) and you want to maintain security (i.e. not disclose where the files are coming from), then there is a heavy overhead in transferring everything securely between the two servers.
Andrew, if another server also has PHP installed and act as media point, is it possible to overcome the overhead problem? Sorry if I already asked this question .
Reply With Quote
  #2495  
Old 10-18-2007, 02:26 AM
Nam's Avatar
Nam Nam is offline
 
Join Date: Oct 2001
Location: NY
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AndrewD View Post
In the links_play_standalone template, you can do a category test with the $catid variable. So you could include something like the following:
PHP Code:
<if condition="$catid==XXX">
do 
add sense code
</if> 
or

PHP Code:
<if condition="in_array($catid, array(x1,x2,x3...))">
do 
add sense code
</if> 
Could I do the other way around? Something like using "if" but disable the adsense code on 1 category. Does it automatically apply to child categories?

Also, the wimpy player in extra folder, assuming the way to install it on LDM, the files are protected from hotlink, just like LDM itself right?
Reply With Quote
  #2496  
Old 10-18-2007, 02:39 AM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Nam View Post
Could I do the other way around? Something like using "if" but disable the adsense code on 1 category.
yes, you put the test in the form condition="$catid <=NN" or condition=("!in_array($catid,array(z1,z2,zx3...))"

Quote:
Originally Posted by Nam View Post
Does it automatically apply to child categories?
No, this approach works with precisely those categories you specify

Quote:
Originally Posted by Nam View Post
Also, the wimpy player in extra folder, assuming the way to install it on LDM, the files are protected from hotlink, just like LDM itself right?
the wimpy mp3 players have the same protection as the inbuilt players. The wimpy flash media player will reveal the location of the source.
Reply With Quote
  #2497  
Old 10-18-2007, 02:40 AM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Nam View Post
Andrew, if another server also has PHP installed and act as media point, is it possible to overcome the overhead problem? Sorry if I already asked this question .
It's certainly possible to consider a hack that will do this, but it's not called LDM I really don't want to start writing scripts to coordinate vbulletin amd other hosts.
Reply With Quote
  #2498  
Old 10-18-2007, 02:57 AM
Nam's Avatar
Nam Nam is offline
 
Join Date: Oct 2001
Location: NY
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Could you give me the full php code, as it's a little confused to me. For example if I want adsense to show on all category, except 3 categories 13, 15, 17. What's the exact code I should put on top of <!-- adsense --> ?

PHP Code:
<if condition="in_array($catid, array(13,15,17))">

<!-- 
adsense starts -->

<!-- 
adsense ends -->

</if> 
Reply With Quote
  #2499  
Old 10-18-2007, 03:50 AM
CamJM CamJM is offline
 
Join Date: Jun 2007
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Andrew,

Was wondering, what template I would put code in to have a message above every entry. Or just below the entries header.

Thanks. Looking forward to testing out the update!
Reply With Quote
  #2500  
Old 10-18-2007, 02:36 PM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Nam View Post
Could you give me the full php code, as it's a little confused to me. For example if I want adsense to show on all category, except 3 categories 13, 15, 17. What's the exact code I should put on top of <!-- adsense --> ?
this should do it...
PHP Code:
<if condition="!in_array($catid, array(13,15,17))">

<!-- 
adsense starts -->

<!-- 
adsense ends -->

</if> 
Reply With Quote
  #2501  
Old 10-18-2007, 02:46 PM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by CamJM View Post
Hi Andrew,

Was wondering, what template I would put code in to have a message above every entry. Or just below the entries header.

Thanks. Looking forward to testing out the update!
If you want to put something in each entry, then you have to edit one/several of the links_linkbit templates. There are several of these, depending on which layout you are using. Each of them takes the form of a table row definition, looking like this:
PHP Code:
<tr id="linkid$linkid">
<
td colspan="2">
...
</
td>
</
tr

For patching the main layout, above/below the list of entries, it's the links_main template. In fact that template already has some placeholder variables, via an array variable, $includeinmain. Set one of these array elements: precat, postcat, prefeat, postfeat, prelink, postlink, prestats, poststats, e.g. using the ldm_maindisplay_end hook.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:03 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06016 seconds
  • Memory Usage 2,346KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_php
  • (12)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete