vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Major Additions - Links and Downloads Manager (https://vborg.vbsupport.ru/showthread.php?t=166094)

Ophelia 08-28-2008 12:41 AM

Andrew,

I know you've addressed this already, but we are having the security token issue.

I don't remember editing any files, so is there a way to check this? Right now we are getting the error when we try to upload.

vbboarder 08-28-2008 01:15 AM

The entries listing in What's New page is above the limit set in LDM settings. This is probably due to the setting days_seen_on_portal overriding links_seen_on_portal.

vbboarder 08-28-2008 01:40 AM

The JW player incorrectly handles swf files. The flash/ video will auto loop (by default this should not happen), the time does not show for swf files with time, the player controls do not work - can play flash/ video, but can NOT pause, forward/ rewind, or interact with controls created by the swf itself. This is not a bug with LDM, VB or even Adobe Flash player, it's a limitation with the JW player - tested with JW player 4.0 in Firefox2 & IE7.

Solution: disable swf from all media players in LDM until JW player can play swf (Windows, Quicktime, & Realplayer also can't correctly play it). When the user clicks on the entry's title link or download entry image link, the flash/ video will open up in a new tab/ window and play correctly using Adobe's Flash player (if installed in the browser).

Fix needed: The JW player will still show for swf files (even if no media players have swf set in LDM) when listing a category's entries. This entices the users to play the file using the JW player, which it can not do. Andrew, can you please disable showing the player for swf files when listing a category's entries?

obmob 08-28-2008 01:47 AM

Quote:

Originally Posted by AndrewD (Post 1607891)
The problem is in the links_catbit_extras template, which is used to build a set of messages which are normally placed in that white row. If there is nothing to show, the template really should return nothing, but the way it's currently written it returns an empty div container. Take a look at the template if you wish - you would have to repeat all the conditional tests inside the div as a master conditional outside the div.



If I'm understanding you correctly, this happens when the display_order changes. You can get rid of it by clearing the links_linkseparator template.



You are using the'Brief' category template, which is links_catbit_brief. Include $catdesc in it somewhere.

Thanks, now i have something to do on sunday XD

RikiB 08-28-2008 02:15 AM

When I try and add a link from my wowza streaming server I get this

Sorry - unable to handle protocol rtmp://

Is there a way to access the streamer variable in the JW player?

AndrewD 08-28-2008 03:45 AM

Quote:

Originally Posted by Ophelia (Post 1608613)
Andrew,

I know you've addressed this already, but we are having the security token issue.

I don't remember editing any files, so is there a way to check this? Right now we are getting the error when we try to upload.

Main thing to check:

- Have you (or maybe have I) at some point in the past edited any of the LDM templates used on your site and forgotten to 'revert' them?

Are you using the LDM flash-based swfuploader extra for handling uploads or just the standard form-based uploader?

Will take a look at your site if you want.

AndrewD 08-28-2008 03:49 AM

Quote:

Originally Posted by RikiB (Post 1608654)
When I try and add a link from my wowza streaming server I get this

Sorry - unable to handle protocol rtmp://

Is there a way to access the streamer variable in the JW player?

That's right, LDM is not currently configured to understand how to handle and deliver rtmp:// protocol, i.e. it doesn't know how to act as an rtmp server. I've no idea if this is a simple or very complex protocol to handle.

AndrewD 08-28-2008 03:59 AM

Quote:

Originally Posted by vbboarder (Post 1608637)
The JW player incorrectly handles swf files. The flash/ video will auto loop (by default this should not happen), the time does not show for swf files with time, the player controls do not work - can play flash/ video, but can NOT pause, forward/ rewind, or interact with controls created by the swf itself. This is not a bug with LDM, VB or even Adobe Flash player, it's a limitation with the JW player - tested with JW player 4.0 in Firefox2 & IE7.

Solution: disable swf from all media players in LDM until JW player can play swf (Windows, Quicktime, & Realplayer also can't correctly play it). When the user clicks on the entry's title link or download entry image link, the flash/ video will open up in a new tab/ window and play correctly using Adobe's Flash player (if installed in the browser).


Fix needed: The JW player will still show for swf files (even if no media players have swf set in LDM) when listing a category's entries. This entices the users to play the file using the JW player, which it can not do. Andrew, can you please disable showing the player for swf files when listing a category's entries?

There's a couple of places to make this change.

Inline players

If you are using the JWplayer extra to play media inline, then got to vb/admincp/products and players/plugin manager

Edit the Links and Downloads Manager - JWPlayer Addons plugin attached to hook ldm_linkbit_create.

Change line:
Code:

if ($links_defaults['inlineJWplayer_active'] and in_array($linkfiletype, array("mp3", "flv", "swf", "mp4", "m4v", ))) {
to

Code:

if ($links_defaults['inlineJWplayer_active'] and in_array($linkfiletype, array("mp3", "flv", "mp4", "m4v", ))) {
and delete the line

Code:

        case "swf":
Save

Edit the Links and Downloads Manager - JWPlayer Addons plugin attached to hook ldm_linkbit_gettypebit.

Change the line
Code:

        if (in_array($linkfiletype, array("mp3", "flv", "swf", "m4v", "mp4",))) {
to
Code:

        if (in_array($linkfiletype, array("mp3", "flv", "m4v", "mp4",))) {
Save

Standard players

Go to ldm/admin/media players. Find JWflvPlayer. Remove swf from the list of filetypes handled and save.

vbboarder 08-28-2008 05:33 AM

Thanks for the fix Andrew! :D

Origin2 08-28-2008 07:21 PM

I'm getting this error when trying to access any of your files "Codification Error" "Bad compression"....
I can't even edit any settings or access anything


All times are GMT. The time now is 07:44 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02083 seconds
  • Memory Usage 1,755KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete