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
  #1192  
Old 09-20-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

This bug is related to the filter links bug reported above

Quote:
Originally Posted by AndrewD View Post
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.
Yes, I got featured sites enabled, and I selected entries as favorites, and I set my userid in featured_user_favs, but the filter links bar still does not show.
On further testing (with admin privileges), the featured entries page (from the 'Show' dropdown menu) shows no entries even though the my favorites page shows the favorites that I specified and I set my userid so that my favorites are seen as featured.
Similarly, the nominated entries page (from the 'Show' dropdown menu) shows no entries eventhough there are entries nominated by other users.
Reply With Quote
  #1193  
Old 09-20-2008, 07:06 AM
abdelghani68 abdelghani68 is offline
 
Join Date: Oct 2007
Location: France
Posts: 135
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AndrewD View Post
which version of LDM are you using? the problem of a blank player is caused by a caching bug in adobe flash.
I use LDM 2.3.0. The probleme is only in the page vbadvanced.
Reply With Quote
  #1194  
Old 09-20-2008, 11:31 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
The stats for newest entries are incorrect when displayed in LDM pages. I have old entries showing up whose dates are even past the time limit set in LDM Settings > Statistics Display. However, the VBA module for new entries stats does work correctly. Andrew, can you tell me what file or plugin to edit so that I can use the php code from the ldm_new.module file?

Note: Not sure if this is related, but I used the Flash sites extra plugin and all the old entries that showed up in the new entries stats in LDM pages happen to be entries created by that plugin.
There's a parameter missing on the relevant function call, so the sql is requesting 'all entries' rather than 'new entries'. Assuming that I didn't do that for a reason that I've forgotten, the solution is as follows:

edit includes/local_links_vbafunc.php

find function ldm_get_hitparades($catid, $template="links_hitparade")

find
Code:
	$hitsince = ($links_defaults['days_seen_on_portal'] ? TIMENOW-intval($links_defaults['days_seen_on_portal'])*24*60*60 : $vbulletin->userinfo['lastvisit']);
and change to
Code:
	$newsince = $hitsince = ($links_defaults['days_seen_on_portal'] ? TIMENOW-intval($links_defaults['days_seen_on_portal'])*24*60*60 : $vbulletin->userinfo['lastvisit']);
find
Code:
	if ($links_defaults['show_hp_new']) {
		$query = ldm_get_specialsearchsql($NEW_CAT, $linksee, "", $catids);
		list($links['show_hp_new'], $hits) = ldm_get_entrybits_brief($query, $linksee, $template);
		$showme = ($hits ? 1 : $showme );
	}
and change to
Code:
	if ($links_defaults['show_hp_new']) {
		$query = ldm_get_specialsearchsql($NEW_CAT, $linksee, "", $catids, $newsince);
		list($links['show_hp_new'], $hits) = ldm_get_entrybits_brief($query, $linksee, $template);
		$showme = ($hits ? 1 : $showme );
	}
I think that will fix things. Please confirm.
Reply With Quote
  #1195  
Old 09-20-2008, 02:24 PM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by abdelghani68 View Post
I use LDM 2.3.0. The probleme is only in the page vbadvanced.
As far I know, this is a caching problem. I thought that the new JW player had got round it (someone else reported this). Try clearing the browser cache and check that you have the latest version of the Adobe Flash player plugins.
Reply With Quote
  #1196  
Old 09-20-2008, 02:43 PM
abdelghani68 abdelghani68 is offline
 
Join Date: Oct 2007
Location: France
Posts: 135
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AndrewD View Post
As far I know, this is a caching problem. I thought that the new JW player had got round it (someone else reported this). Try clearing the browser cache and check that you have the latest version of the Adobe Flash player plugins.
I have clearing the broser and upgrade in the latest version of the adobe flash player. I have again this probleme.

thanks
Reply With Quote
  #1197  
Old 09-20-2008, 03:43 PM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by abdelghani68 View Post
I have clearing the broser and upgrade in the latest version of the adobe flash player. I have again this probleme.

thanks
My apologies - I realise that this is a different problem than I thought - have you got your cmps_index.php file in a different directory than your forums directory?
Reply With Quote
  #1198  
Old 09-20-2008, 03:57 PM
abdelghani68 abdelghani68 is offline
 
Join Date: Oct 2007
Location: France
Posts: 135
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AndrewD View Post
My apologies - I realise that this is a different problem than I thought - have you got your cmps_index.php file in a different directory than your forums directory?
I have that :

www.mysite.com/cmps_index.php (portal)

www.mysite.com/forum (forum)

thanks
Reply With Quote
  #1199  
Old 09-20-2008, 04:15 PM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by abdelghani68 View Post
I have that :

www.mysite.com/cmps_index.php (portal)

www.mysite.com/forum (forum)

thanks
Edit the links_playerbit_JWPlayer template and replace

Code:
	src="clientscript/JWmediaplayer.swf"
by

Code:
	src="{$vbulletin->options[bburl]}/clientscript/JWmediaplayer.swf"
That should do it.

Keep a note that you have done this, as the template will be completely rewritten in the next beta release.
Reply With Quote
  #1200  
Old 09-20-2008, 05:00 PM
vbboarder's Avatar
vbboarder vbboarder is offline
 
Join Date: Jun 2008
Location: Silicon Valley, CA
Posts: 417
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I further debugged the featured entries & nominations bug. Both links from the 'Show' dropdown menu calls '/local_links_search.php?action=find' so I looked at that code in that file. So cache_LDMfavourites() & cache_LDMnominations() are called at about line 505, which set the linkids that are marked as favourites & nominated in arrays $links_myfav, $links_mystarred and $links_starred, but I don't see those variables used in local_links_search.php or the templates eval'ed by it. Am I missing something?
Reply With Quote
  #1201  
Old 09-20-2008, 07:08 PM
abdelghani68 abdelghani68 is offline
 
Join Date: Oct 2007
Location: France
Posts: 135
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AndrewD View Post
Edit the links_playerbit_JWPlayer template and replace

Code:
	src="clientscript/JWmediaplayer.swf"
by

Code:
	src="{$vbulletin->options[bburl]}/clientscript/JWmediaplayer.swf"
That should do it.

Keep a note that you have done this, as the template will be completely rewritten in the next beta release.
Thanks, it works now
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:41 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.10190 seconds
  • Memory Usage 2,324KB
  • 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
  • (8)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
  • (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