Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
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
  #2152  
Old 08-05-2007, 01:41 PM
itsblack itsblack is offline
 
Join Date: Dec 2005
Location: Augsburg
Posts: 148
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AndrewD View Post
It works for me, but there was a bug that I fixed between the beta and the RC code. Can you check that you've correctly uploaded the local_links_actions.php file? Line 2213 should read
Code:
	$links_defaults['autocreate_sync_comments'] and
In the old, incorrect, code, line 2205 read
Code:
	$links_defaults['autocreate_sync_comments_with_thread'] and
Yes, I've uploaded the newset version. I guess maybe it has someting to do with the language? Because I found that you use word "Dicussion" to check the threadid, but unfortunately I've translated it into chinese. What surprised me is, a) after the codes in local_links_actions.php, when there is already $row['linkthread' (I checked the database, some items have this), it should work without check the phrase, but it doesn't; b) Sometime before it works for me, although I use the chinese version all the time.

I have also tried to delete "Dicussion" in the code (local_links_actions.php, line 2232), but it doesn't work.
Reply With Quote
  #2153  
Old 08-05-2007, 02:17 PM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by itsblack View Post
Yes, I've uploaded the newset version. I guess maybe it has someting to do with the language? Because I found that you use word "Dicussion" to check the threadid, but unfortunately I've translated it into chinese. What surprised me is, a) after the codes in local_links_actions.php, when there is already $row['linkthread' (I checked the database, some items have this), it should work without check the phrase, but it doesn't; b) Sometime before it works for me, although I use the chinese version all the time.

I have also tried to delete "Dicussion" in the code (local_links_actions.php, line 2232), but it doesn't work.
OK, I'll rethink the logic
Reply With Quote
  #2154  
Old 08-05-2007, 05:35 PM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by itsblack View Post
Yes, I've uploaded the newset version. I guess maybe it has someting to do with the language? Because I found that you use word "Dicussion" to check the threadid, but unfortunately I've translated it into chinese. What surprised me is, a) after the codes in local_links_actions.php, when there is already $row['linkthread' (I checked the database, some items have this), it should work without check the phrase, but it doesn't; b) Sometime before it works for me, although I use the chinese version all the time.

I have also tried to delete "Dicussion" in the code (local_links_actions.php, line 2232), but it doesn't work.
I recall how all this developed now.

In the earlier versions of the 'extra', there was no special database field for the associated thread, so the code had to check for the relevant text (threadid=..) in the body of the link description. In 2.2.7, I realised that this was definitely a kludge, so added a an extra column in the database.

I imagine that you'll find that comments work with those entries where the linkthread column is set, and don't work where it is blank. But (on the assumption that you haven't got a load of threadid bb codes in your LDM descriptions, it should be ok to modify the regular expression, as follows. Instead of

Code:
	elseif ($forumid>0 and preg_match("/\[thread=(\d+)\]Discussion/", $row['linkdesc'], $match)) {
try

Code:
	elseif ($forumid>0 and preg_match("/\[thread=(\d+)\]/u", $row['linkdesc'], $match)) {
(there's an extra 'u' after the second slash)

Can you let me know if this solves it, and if my theory is correct about the linkthread field?
Reply With Quote
  #2155  
Old 08-05-2007, 05:52 PM
Slave's Avatar
Slave Slave is offline
 
Join Date: Nov 2001
Posts: 439
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Well, how do you do...
I'm doing all right

Quote:
This is weird. There is no search table to build - it's all done within sql (unlike vb). How did you import the old entries - via LDM or as a database import?
I exported via, and imported using the 2nd option if I remember


Quote:
Couple of things to try - a) clear the browser cache, and b) go to vbulletin/admincp/options and set the gzip output option to 'no'.
I've done the cache part, and I'm sure the forum is already set at no for gzip, but I will double check ..

Quote:
Concerning the forum plugins, I don't think they've changed, but I'll take a look to see what can be done.
Wonderful, thanks
Reply With Quote
  #2156  
Old 08-05-2007, 05:56 PM
Slave's Avatar
Slave Slave is offline
 
Join Date: Nov 2001
Posts: 439
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

btw .. both the spider links and the tag cloud plugins work superbly .. thank you!

Not sure about the spider icon though .. I'll see if I can find one that works on a black background. Would it be possible to make it so that in the linkbit if there isn't an image it would have "spider this link" type text like how the other icons work?
Reply With Quote
  #2157  
Old 08-05-2007, 05:58 PM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Slave View Post
I exported via, and imported using the 2nd option if I remember
Could you email me the database dump - ad_rodin at noos.fr


Quote:
Originally Posted by Slave View Post
I've done the cache part, and I'm sure the forum is already set at no for gzip, but I will double check ..
Keep me informed.

I've sorted out the forum permissions. It had always been that way, but it was a straightforward change to thhe code. Will be in the final release.
Reply With Quote
  #2158  
Old 08-05-2007, 07:05 PM
itsblack itsblack is offline
 
Join Date: Dec 2005
Location: Augsburg
Posts: 148
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AndrewD View Post
I recall how all this developed now.

In the earlier versions of the 'extra', there was no special database field for the associated thread, so the code had to check for the relevant text (threadid=..) in the body of the link description. In 2.2.7, I realised that this was definitely a kludge, so added a an extra column in the database.

I imagine that you'll find that comments work with those entries where the linkthread column is set, and don't work where it is blank. But (on the assumption that you haven't got a load of threadid bb codes in your LDM descriptions, it should be ok to modify the regular expression, as follows. Instead of

Code:
	elseif ($forumid>0 and preg_match("/\[thread=(\d+)\]Discussion/", $row['linkdesc'], $match)) {
try

Code:
	elseif ($forumid>0 and preg_match("/\[thread=(\d+)\]/u", $row['linkdesc'], $match)) {
(there's an extra 'u' after the second slash)

Can you let me know if this solves it, and if my theory is correct about the linkthread field?
I've tried what you said, it took no effect.
Actually after upgraded to the later versions, there are already some entries which the linkthread column are set, but even with these entries the comment doesn't work.
It's weird.
Reply With Quote
  #2159  
Old 08-06-2007, 04:01 AM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Slave View Post
btw .. both the spider links and the tag cloud plugins work superbly .. thank you!

Not sure about the spider icon though .. I'll see if I can find one that works on a black background. Would it be possible to make it so that in the linkbit if there isn't an image it would have "spider this link" type text like how the other icons work?
Indeed, I'll make that change.

I imported and tested each of the xml files you sent into a clean database. In both cases, search work correctly, using both the like and the fulltext methods. I wonder if you had a problem with character encodings or indices in your database. Can't think how to test that, except maybe phpmyadmin/sql/REPAIR TABLE local_linkslink QUICK or vb/admincp/maintenance/repair tables
Reply With Quote
  #2160  
Old 08-06-2007, 05:38 AM
Slave's Avatar
Slave Slave is offline
 
Join Date: Nov 2001
Posts: 439
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

K .. I'll give that a go and let you know
Reply With Quote
  #2161  
Old 08-06-2007, 06:22 AM
Slave's Avatar
Slave Slave is offline
 
Join Date: Nov 2001
Posts: 439
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AndrewD View Post
Keep me informed.
gzip is off as I thought ..

Quote:
Originally Posted by Slave View Post
K .. I'll give that a go and let you know
hmm .. seems to have started working I think ..
Reply With Quote
Reply

Thread Tools

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 12:22 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.06615 seconds
  • Memory Usage 2,335KB
  • 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
  • (6)bbcode_code
  • (13)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