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
  #2182  
Old 08-08-2007, 06:37 PM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hydn View Post
THanks. That does help. However, I logged in / clicked administer / then clicked settings / ...

But can't find that prune_downloadtable.

I'm on version 2.1.0

Is this an option I can set with a Mysql query maybe? Or other solution(s)?

Thanks much.
Goodness, version 2.1.0.

You're in luck - that part of the code has not changed very much in two years Take a copy of the file include/local_links_include.php. Edit, and go to line 1078, which reads:

Code:
function record_hit($id, $url, $status, $size=0) {
	global $vbulletin, $links_permissions, $links_defaults;

	if ($links_permissions["can_bypass_hit_recording"]) {
Change to:

Code:
function record_hit($id, $url, $status, $size=0) {
	global $vbulletin, $links_permissions, $links_defaults;

	$when = TIMENOW-24*60*60*XXX;
	$vbulletin->db->query_write("
		DELETE FROM ".THIS_TABLE."linksdownloads
		WHERE usertime<'".$when."'
	");

	if ($links_permissions["can_bypass_hit_recording"]) {
where XXX is the number of days you want to retain in the table, e.g. 30.
Reply With Quote
  #2183  
Old 08-08-2007, 07:28 PM
Ipuck's Avatar
Ipuck Ipuck is offline
 
Join Date: Jun 2006
Location: California
Posts: 131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

AndrewD, thank you for the 2.2.8 version is working great, tagcluod, mirror site. Excellent work and the upgrade was simple as before..

One small question, I'm not sure if I'm missing this, but how do I search downloads by username? I know I can go the "hits" and then search page by page until I found the username, but iss there any other way? your mod has so many options that I get lost.
Reply With Quote
  #2184  
Old 08-09-2007, 04:22 AM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ipuck View Post
AndrewD, thank you for the 2.2.8 version is working great, tagcluod, mirror site. Excellent work and the upgrade was simple as before..

One small question, I'm not sure if I'm missing this, but how do I search downloads by username? I know I can go the "hits" and then search page by page until I found the username, but iss there any other way? your mod has so many options that I get lost.
Maybe I'm missing the question - apologies if so.

You go to ldm/admin/hits. Then you use the pull down menus to select the dates of interest and 'username'. That produces aggregated information sorted by username. You then click on one of the usernames and you get a full tabulation of that user's activity.

I just discovered that the 2.2.8 code includes a debug statement in the javascript which I forgot to remove. As a result, when you use these pull down menus you'll get a couple of annoying alert boxes pop up. You can dismiss those - they don't matter. Will eb tidied up in the final release.
Reply With Quote
  #2185  
Old 08-09-2007, 04:24 AM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Rouzbeh1 View Post
hi Andrew,
just wanted to thank you and report that BW usage is working fine now

btw. i have read that you are implementing a server load management for mirror sites. is that correct?
It would be nice to do this, but I'm not sure that I know how to so it reliably.
Reply With Quote
  #2186  
Old 08-09-2007, 03:52 PM
obmob obmob is offline
 
Join Date: Nov 2001
Posts: 580
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm... hello, finally installed the filmstrip, it works really good... but i was wondering if it's possible to move it below the linkbit and if there is a template i can edit to add some css style to it?
Thanks Andrew!

Those who take a little time to install and learn more about LDM can't deny is the best addon for vbulletin!
Reply With Quote
  #2187  
Old 08-09-2007, 03:53 PM
apokphp apokphp is offline
 
Join Date: Nov 2002
Posts: 440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AndrewD View Post
I took a look at your site, and I think I finally understood your question.

Please check your vb/admincp/languages and phrases. I think that you will find that you have modified the phrase "ll_recent" at some time in the past.
*edit*
Andrew, I think I may have fixed it, just by copy/pasting...can you check to see if it looks how it should look? If so, disregard the indented text below. I do have a 2nd challenge at the bottom of the post though.

Thanks for your time and devotion to this hack, I absolutely love it, it is truly one of the best mods for vbulletin!

I don't recall modifying any phrases. I did install this a while back, but I uninstalled it prior to installing the updated version.

In my phrase manager, when I do a search, I have 2 versions of ll_recent.

One is the English translation, the other is the Standard translation. Copy paste from the phrase manager after the search, it isn't formatted well, sorry.

ll_recent English (US) Translation

During the last {1} days:<br />&middot; {2} new entries [<span class="smallfont"><a href="{4}.php?catid=-8">what's new</a></span>]<br />&middot; {3} hits [<span class="smallfont"><a href="{4}.php?catid=-7">what's hot</a></span>]


ll_recent Standard Phrase

{2} new entries {3}since {1}

Is the wrong one being used? How do I get rid of it, or fix the problem?

Any time I try to edit the "standard phrase" one, it goes to the English phrase after clicking "edit". That is...

During the last {1} days:<br />&middot; {2} new entries [<span class="smallfont"><a href="{4}.php?catid=-8">what's new</a></span>]<br />&middot; {3} hits [<span class="smallfont"><a href="{4}.php?catid=-7">what's hot</a></span>]

...appears in the text box for both the English and Standard phrases when I try to edit either.
_______________________________________________

Also, a bug or another problem that I've found...

The system considers this url: http://classics.mit.edu/Browse/index.html to be an offsite download.

This is the result of clicking that link from the system, when off site downloads are turned off:

http://www.onlinedebate.net/forums/l...&id=80&catid=1

Internal Server Error (500)

This is the result of clicking that link from the system, when off site downloads are turned on:

http://www.onlinedebate.net/forums/l...&id=80&catid=1

Sorry, off-site downloads have been disabled.



Not sure why the internal server error is occurring.
Reply With Quote
  #2188  
Old 08-09-2007, 06:16 PM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by apokphp View Post
*edit*
Andrew, I think I may have fixed it, just by copy/pasting...can you check to see if it looks how it should look? If so, disregard the indented text below. I do have a 2nd challenge at the bottom of the post though.
Looks ok to me - not sure how this has happened .

Quote:
Originally Posted by apokphp View Post
Also, a bug or another problem that I've found...

The system considers this url: http://classics.mit.edu/Browse/index.html to be an offsite download.

This is the result of clicking that link from the system, when off site downloads are turned off:

http://www.onlinedebate.net/forums/l...&id=80&catid=1

Internal Server Error (500)

This is the result of clicking that link from the system, when off site downloads are turned on:

http://www.onlinedebate.net/forums/l...&id=80&catid=1

Sorry, off-site downloads have been disabled.

Not sure why the internal server error is occurring.
This is weird. Are you by any chance using the internal LDM mod_rewrite facility? Looking at the code, I can only assume that the url is getting patched to something else.
Reply With Quote
  #2189  
Old 08-09-2007, 06:42 PM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by obmob View Post
Hmm... hello, finally installed the filmstrip, it works really good... but i was wondering if it's possible to move it below the linkbit and if there is a template i can edit to add some css style to it?
Thanks Andrew!

Those who take a little time to install and learn more about LDM can't deny is the best addon for vbulletin!
Glad to hear this is close to what you wanted.

Currently, any changes have to be made by editing the plugin itself, which may seem a bit hairy.

The placement is quite easy. Go to vb/admin/products and plugins/plugin manager. and look for the Links and Downloads Manager - Filmstrip plugin that is attached to the ldm_maindisplay_end hook. Edit this plugin. Find the line that reads:

Code:
	$includeinmain['postfeat'] .= '
You can move the feature around the page by changing 'postfeat'.

Going from the top of the page down, these are your options:

'precat'
'postcat'
'prefeat'
'postfeat'
'prelink'
'postlink'
'prestats'
'poststats'

I imagine you want 'postlink'.

The lines which build the table for the filmstrip are immediately below this line in the code - the html is embedded into the plugin. You can edit the css there. Be careful - this is similar but not identical to a template, and you need to keep the syntax valid.
Reply With Quote
  #2190  
Old 08-09-2007, 08:51 PM
minimalize minimalize is offline
 
Join Date: Jul 2007
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by minimalize View Post
Hi Andrew,

when i have a link like http://rapidshare.de/afile_name.mp3 the system tries to play the link with the mediaplayer. But this is the rapidshare url. Is there an option to turn the mediaplayer off for external links?
could you please have a look at this? its very important for me to get this working. half off the links in my ldm are rapidshare links!
Reply With Quote
  #2191  
Old 08-09-2007, 09:53 PM
obmob obmob is offline
 
Join Date: Nov 2001
Posts: 580
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AndrewD View Post
Glad to hear this is close to what you wanted.

Currently, any changes have to be made by editing the plugin itself, which may seem a bit hairy.

The placement is quite easy. Go to vb/admin/products and plugins/plugin manager. and look for the Links and Downloads Manager - Filmstrip plugin that is attached to the ldm_maindisplay_end hook. Edit this plugin. Find the line that reads:

Code:
	$includeinmain['postfeat'] .= '
You can move the feature around the page by changing 'postfeat'.

Going from the top of the page down, these are your options:

'precat'
'postcat'
'prefeat'
'postfeat'
'prelink'
'postlink'
'prestats'
'poststats'

I imagine you want 'postlink'.

The lines which build the table for the filmstrip are immediately below this line in the code - the html is embedded into the plugin. You can edit the css there. Be careful - this is similar but not identical to a template, and you need to keep the syntax valid.
Oh, it is hairy!

Well, it's awesome, it was indeed the 'postlink' part, I don't know how this works, but is it possible to add a selectable menu in the filmstrip setting to select where we want to show it? Oh, and this kind of information is added to your wiki? It is quite useful.

Maybe for 2.2.9 or 2.3

Thanks
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 11:49 PM.


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.05430 seconds
  • Memory Usage 2,340KB
  • 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
  • (4)bbcode_code
  • (9)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