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

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

Category: Major Additions - Version: 3.7.0 Rating:
Released: 12-24-2007 Last Update: 06-13-2009 Installs: 576
DB Changes Uses Plugins
Re-useable Code Additional Files Translations  
No support by the author.

What this is and does

LDM is a general-purpose tool for managing libraries of links and files, and handling uploads and downloads in a flexible way, while tracking and control user access. It has a range of integrated media players and a large library of 'plugin' extras.

Installation and Usage Explained in the on-line Wiki, with a brief explanation in the file instructions.txt in the release zip. The recent revision history is given in the first post of this thread.

Please use carefully and always backup your database before upgrading. Post reports of problems and suggestions for enhancements in this thread.

14.06.09 Version 2.3.0 is now the the officially-supported version. Works with 3.7 and vb 3.8. Please post comments in this thread

22.06.08 Version 2.2.9-post1 - This is the previous supported version. Works fine with all versions of vb 3.6 and vb 3.7. All standard features except profile integration and forum prefix selection work fine with vb 3.8.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #1202  
Old 09-21-2008, 03:25 AM
vbboarder's Avatar
vbboarder vbboarder is offline
 
Join Date: Jun 2008
Location: Silicon Valley, CA
Posts: 417
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the bug fix, but unfortunately it didn't work correctly. The entries that are showing are newer than before the fix, but it's not correct. The VBA module for new entries stats (ldm_new.module) correctly retrieves the newest entries. I have a test forum so I'm fully aware of all the new entries, and the VBA entries list is correct.

Can I just cut the php code from ldm_new.module and paste it in the ldm_get_hitparades function (and removing the current code)?
Reply With Quote
  #1203  
Old 09-21-2008, 03:49 AM
vbboarder's Avatar
vbboarder vbboarder is offline
 
Join Date: Jun 2008
Location: Silicon Valley, CA
Posts: 417
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, I got the nominations display problem figured out. The problem was the nominated entries page do not show any entries until the contest is over (time period is set in the starred_entries_gather variable.). Sorry for the confusion Andrew, the page correctly shows winning nominations now.... I mistakenly thought that the page was supposed to show nominations that were winning the current contest.

Question: I can only nominate 1 entry until the contest is over. If I nominate another entry, then that entry will replace my current nomination. Is there a way to allow multiple nominations during 1 contest period?

Feature Request: Can you provide a page that displays the current nominations (sorted by # of votes) so that users can easily vote instead of having to surf through different categories and see what's nominated?
Reply With Quote
  #1204  
Old 09-21-2008, 04:08 AM
vbboarder's Avatar
vbboarder vbboarder is offline
 
Join Date: Jun 2008
Location: Silicon Valley, CA
Posts: 417
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you help me to get the featured entries page to work?

I enabled featured sites, I set featured_all_categories to yes, I selected entries as favorites, and I set my userid in featured_user_favs. The my favorites page shows the entries that I selected as favorites, but the featured sites page do not show any entries.

Quote:
It's $nhits that's the problem. I imagine you've got featured sites enabled and there are none to show in the current category. The code which sets up the featured sites is over-writing the correct value of $nhits.
.
The featured sites problem is also causing the filter links bar to not appear since you stated the featured sites is overwriting the $nhits value.
Reply With Quote
  #1205  
Old 09-21-2008, 04:43 AM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vbboarder View Post
Thanks for the bug fix, but unfortunately it didn't work correctly. The entries that are showing are newer than before the fix, but it's not correct. The VBA module for new entries stats (ldm_new.module) correctly retrieves the newest entries. I have a test forum so I'm fully aware of all the new entries, and the VBA entries list is correct.

Can I just cut the php code from ldm_new.module and paste it in the ldm_get_hitparades function (and removing the current code)?
I thought there was probably a reason why I'd coded it the way I did . The change I proposed gives you 'N entries created since X' instead of 'the N most recent entries', whereasthe original code was just giving you 'N entries'

Actually, there seem to be a range of problems in that part of the code, including in the vba module, so I must work through this again.

**Edited: Can you give this code a try?
Reply With Quote
  #1206  
Old 09-21-2008, 04:46 AM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vbboarder View Post
Ok, I got the nominations display problem figured out. The problem was the nominated entries page do not show any entries until the contest is over (time period is set in the starred_entries_gather variable.). Sorry for the confusion Andrew, the page correctly shows winning nominations now.... I mistakenly thought that the page was supposed to show nominations that were winning the current contest.
OK, that's how it is intended to work.

Quote:
Originally Posted by vbboarder View Post
Question: I can only nominate 1 entry until the contest is over. If I nominate another entry, then that entry will replace my current nomination. Is there a way to allow multiple nominations during 1 contest period?
Perhaps we can have a setting 'Allow each user N nominations'. What do you think?

Quote:
Originally Posted by vbboarder View Post
Feature Request: Can you provide a page that displays the current nominations (sorted by # of votes) so that users can easily vote instead of having to surf through different categories and see what's nominated?
Actually, this is on my list of things to do...
Reply With Quote
  #1207  
Old 09-21-2008, 04:52 AM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vbboarder View Post
Can you help me to get the featured entries page to work?

I enabled featured sites, I set featured_all_categories to yes, I selected entries as favorites, and I set my userid in featured_user_favs. The my favorites page shows the entries that I selected as favorites, but the featured sites page do not show any entries.
I can't reproduce this - it works ok for me. Any more information you can give me?

Quote:
Originally Posted by vbboarder View Post
The featured sites problem is also causing the filter links bar to not appear since you stated the featured sites is overwriting the $nhits value.
Just change $nhits for (e.g.) $nfhits at around line 733 in local_links.php (in the code which is building the featured sites bit)
Reply With Quote
  #1208  
Old 09-21-2008, 06:55 AM
vbboarder's Avatar
vbboarder vbboarder is offline
 
Join Date: Jun 2008
Location: Silicon Valley, CA
Posts: 417
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AndrewD View Post
Perhaps we can have a setting 'Allow each user N nominations'. What do you think?
Good idea!
Quote:
Actually, this is on my list of things to do...
Sounds great!
Quote:
I can't reproduce this - it works ok for me. Any more information you can give me?
Will test the featured sites some more and see what other info I can come up with. cache_LDMfavourites() is called at about line 505 in local_links_search.php, which sets the linkids that are marked as favourites in array $links_fav - can you tell me where the $links_fav variable is put to use (what file, function, or template)?
Reply With Quote
  #1209  
Old 09-21-2008, 07:24 AM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vbboarder View Post
Can you tell me where the $links_myfav variable is put to use (what file, function, or template)?
In includes/local_links_includes ldm_get_entrybits() in order to check whether each entry bit corresponds to a favourite or not.
Reply With Quote
  #1210  
Old 09-21-2008, 09:58 AM
vbboarder's Avatar
vbboarder vbboarder is offline
 
Join Date: Jun 2008
Location: Silicon Valley, CA
Posts: 417
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Found problem to getting featured sites to display entries:

I've been reviewing & modifying lots of codes & templates lately, so when the featured_user_favs setting asked for users, I instinctly put in userids. Unfortunately, that field doesn't accept userids, but require usernames. And because my test forum doesn't have usernames starting with numbers, the ajax name helper never appeared. LOL - I feel so silly Sorry for any confusion Andrew; you might want to put a note next to that field that userid's are not accepted so people don't waste your time like me

The filter links bar will only show in categories that have featured sites - I will try the change from $nhits to $nfhits as you suggested. Also, I'll test the new local_links_vbafunc.php and report back later.

Feature Request: Can you provide an option so that featured sites are not displayed again in the regular listing when viewing a category's entries?
Reply With Quote
  #1211  
Old 09-21-2008, 12:00 PM
dranet dranet is offline
 
Join Date: Jul 2007
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a question about setting the submission date. Does the time zone of the uploader affect when the file will become available? Or is it based on the server time?

Thanks!
Tracy
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 04:21 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.05910 seconds
  • Memory Usage 2,328KB
  • 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
  • (11)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
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (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
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete