Thread: Major Additions - Links and Downloads Manager
View Single Post
  #1525  
Old 10-25-2008, 05:16 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
I installed both LDM 2.3.0-beta1 and VB 3.8-beta1 and reverted all LDM templates. LDM's general functions seem to be working properly, but I've haven't tested all functions or even tested thoroughly. Unfortunately, LDM's 2 best mods are not working correctly.

1. The inline 2.3.0 JWPlayer does not work with LDM 2.3.0 and VB 3.8 - the inline players do not even show up in both IE7 & FF2. So I reverted back to the 2.2.9 JWPlayer and debugged it. A temporary workaround is to substitute the ldm_get_entrybits function from LDM 2.2.9-post1 into the 2.3.0-beta1 /includes/local_links_include.php file. There's one change you need to do in that file to get JWPlayer to work - find $musicbox_seo and change it to: $musicbox_seo = ldm_seo_url("play", $linkcatid, $linkid, 0, $pagenumber);
I wouldn't be surprised if the ldm_get_entrybits substitution would cause some other feature not to function. Andrew, can you please let me know what code in that function I need to change in the 2.3.0-beta1 local_links_include.php so the JWPlayers can work correctly?

2. I can not get the 2.3.0 Shadowbox to work with LDM 2.3.0 & VB 3.8 in both IE7 & FF2. So I reverted back to the 2.2.9 Shadowbox and debugged it. A temporary workaround is to use the 2.2.9-post1 local_links_players.php file with LDM 2.3.0. There's one change you need to do in that file to get Shadowbox to work - change all occurrences (4) of $master_settings to $ldm_master_settings. Andrew, can I continue to use the 2.2.9-post1 local_links_player.php in the LDM 2.3.0 installation or will that cause some conflicts with other features?
I remain bemused. I have installed the 2.3.0 beta on a clean version of vb 3.8 and both the shadowbox and inline players are working fine for me with ie7, ff2, ff3, google chrome and opera 9.6. Ditto with vb 3.7. Any more hints you can give me?

Differences between 2.2.9 and 2.3.0 versions of includes/local_links_player.php are minor.

- master_settings is renamed ldm_master_settings
- protocol_schemes is renamed ldm_protocol_schemes
- call to ldm_get_mimetype replaced by called to ldm_known_filetype
- calls to vb function iif(x,y,z) replaced by ternary (x ? y : z)
- default howtostream in function get_ldm_playerbit() includes code to handle optional security tag and vbulletin session id

Differences between ldm_get_entrybits() are major, and transplanting the code will certainly break a number of other features.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01113 seconds
  • Memory Usage 1,771KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete