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)

AndrewD 08-25-2008 05:36 PM

Quote:

Originally Posted by vbboarder (Post 1606687)
Can someone please verify if the conflict between Yahoo event script and embedded players exists in Firefox 3? For more info on this bug, you can read my posts #903 & 908. You can reproduce and verify the bug by:

1. Create a forum with HTML code enabled (remember to allow admins only to post if this will be a permanent forum).
2. Create a thread and post with this sample object tag from youtube:
Code:

<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/zzSpPaCIG0g&hl=en&fs=1&rel=0"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/zzSpPaCIG0g&hl=en&fs=1&rel=0" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object>
3. Save and view the thread. The embedded flash player will temporarily show for ~1 sec. when the page loads, but then disappears (if autostart is enabled, video should play but still does not show). Refreshing the page and clearing the cache does not help.

After testing, please post if the flash video remains displayed or disappears. I have not tested in Firefox 3 myself because I'm still waiting for several Firefox 3 bugs to be fixed and Firefox 2 still has a relatively large usage base (~18%) so this bug needs to be fixed. Much appreciated for any help.

With firefox 3 on my pc (running vista sp1), the video shows completely ok and reshows after a page refresh. Ditto IE7, ditto Safari.

Are you sure that this isn't down to the version of Flash on your system?

sparklywater 08-25-2008 05:46 PM

Quote:

Originally Posted by AndrewD (Post 1606717)
That's close to what the force_saveas settings does. Clearly I need to test it some more.

To specify the mp3 mimetype, go to vb/admincp/attachments/attachment manager.

Edit mp3, and change the mimetype box to Content-type: application/force-download. Remember what it used to be in case you want to go back again.

I have just tried that and in Internet Explorer it does not pop up the download box when clicking on the link (it starts downloading to temporary folder automatically).

TsirhCitna 08-25-2008 09:31 PM

Quote:

Originally Posted by TsirhCitna (Post 1605398)
I'm still having this same issue with anyone who is not an admin.

So any ideas on this? With no way to see the progress of the upload via the swf uploader this mod is useless for me. No user is going to wait for a 100MB upload without knowing what is going on.

RikiB 08-25-2008 11:30 PM

Is there any way to use the JW player to link to streaming video content, one hosted on the same server using the rtmp, and rtmpe protocol?

-Riki

vbboarder 08-26-2008 02:52 AM

Quote:

Originally Posted by AndrewD (Post 1606718)
With firefox 3 on my pc (running vista sp1), the video shows completely ok and reshows after a page refresh. Ditto IE7, ditto Safari.

Are you sure that this isn't down to the version of Flash on your system?

I don't think it's the Flash version - I have the latest - version 9.0.124.0

Thanks Andrew for testing this bug on Firefox 3. I had another person confirm that this bug does not exist in Firefox 3, but is a problem in Firefox 2 so I'll assume that's the case for now. It's never been a problem on IE7. Andrew, don't waste your time on this bug - it should be fixed by Yahoo and/or Mozilla, or I guess the user will be required to use Firefox 3. :rolleyes:

AndrewD 08-26-2008 03:37 AM

Quote:

Originally Posted by TsirhCitna (Post 1605398)
I'm still having this same issue with anyone who is not an admin.

I can't really help without access to your site. If you want me to take a look, send me a PM with site details and two usernames/passwords - an admin and a user affected by the problem.

sparklywater 08-26-2008 08:28 AM

I need to update the JW media player to version 4.1 http://www.jeroenwijering.com/?item=JW_FLV_Media_Player .

Is it possible to do this myself with my current installation if I upload the new files with the same filenames?

sparklywater 08-26-2008 08:34 AM

Quote:

Originally Posted by RikiB (Post 1606938)
Is there any way to use the JW player to link to streaming video content, one hosted on the same server using the rtmp, and rtmpe protocol?

rtmp is supported in the latest version of JWPlayer:

"The 4.1 release introduces an new streamer flashvar (RTMP + HTTP), token-based security, color flashvars and a lot of fixes and enhancements."

http://www.jeroenwijering.com/?item=JW_FLV_Media_Player

AndrewD 08-26-2008 08:38 AM

Quote:

Originally Posted by sparklywater (Post 1607205)
I need to update the JW media player to version 4.1 http://www.jeroenwijering.com/?item=JW_FLV_Media_Player .

Is it possible to do this myself with my current installation if I upload the new files with the same filenames?

I had some problems with that approach, because the handling of the flash variables has changed. I have the new version working correctly but with some new templating. I'll post it this evening.

I have not yet tested the rtmp handling.

sparklywater 08-26-2008 08:43 AM

With the current version of JWPlayer, there is a problem in IE 6 + IE 7. When returning to an embedded audio page after the first visit, the whole player becomes blank / black (but it appears correctly on the first visit). I have seen this on two different PCs, one with IE7 and one in IE6, but the problem doesn't exist in Firefox.

Here is an image to show the blank player:




I'm just hoping that the problem goes away with the new version of JWPlayer.

+

AndrewD 08-26-2008 09:01 AM

Quote:

Originally Posted by sparklywater (Post 1607220)
With the current version of JWPlayer, there is a problem in IE 6 + IE 7. When returning to an embedded audio page after the first visit, the whole player becomes blank / black (but it appears correctly on the first visit). I have seen this on two different PCs, one with IE7 and one in IE6, but the problem doesn't exist in Firefox.

Here is an image to show the blank player:




I'm just hoping that the problem goes away with the new version of JWPlayer.

+

Yes - this is a known caching problem with Flash + IE, not JW player. I thought that I had got round it with the LDM implementation.

sparklywater 08-26-2008 09:08 AM

Is there a way to prevent IE from caching the player (from server-end, not client-end)? Perhaps there's something about it on Microsoft's support pages...

AndrewD 08-26-2008 09:27 AM

Quote:

Originally Posted by sparklywater (Post 1607224)
Is there a way to prevent IE from caching the player (from server-end, not client-end)? Perhaps there's something about it on Microsoft's support pages...

I've spent many hours on this. It is a well-documented bug. You are welcome to try to find a different solution and let me know!

sparklywater 08-26-2008 09:40 AM

Quote:

Originally Posted by AndrewD (Post 1607236)
I've spent many hours on this. It is a well-documented bug. You are welcome to try to find a different solution and let me know!

Well I'd be very happy to accept your solution (using LDM implementation) but unfortunately it doesn't seem to be working for me :(

Do you think in the next version of JWPlayer the caching problem in LDM will go away?

AndrewD 08-26-2008 10:23 AM

Quote:

Originally Posted by sparklywater (Post 1607243)
Well I'd be very happy to accept your solution (using LDM implementation) but unfortunately it doesn't seem to be working for me :(

Do you think in the next version of JWPlayer the caching problem in LDM will go away?

All we can do is try. I'm in the office at the moment so can't test it. As I said, it's a problem in flash not in jwplayer, but perhaps jw has found a way round it.

sparklywater 08-26-2008 12:30 PM

Quote:

Originally Posted by AndrewD (Post 1607269)
All we can do is try. I'm in the office at the moment so can't test it. As I said, it's a problem in flash not in jwplayer, but perhaps jw has found a way round it.

I'm testing out the embedded players on their website: http://www.jeroenwijering.com/?item=JW_FLV_Media_Player

and it looks like they have found a way round it (there are no caching probs in IE).

Xenocat 08-26-2008 01:46 PM

Howdy! I'll start off by saying I love this mod...

With that said tho, I've run into a recent issue with upload permissions. Seems only Administrators can upload unrestricted file sizes now. Everybody else gets a security token error, and can't upload.

I've gone thru each and every usergroup permission for LDM, and everything LOOKS ok... it was working before the latest vb security patch...

Anybody else having a problem w/ uploads? I use it to manage a community depot for source engine map files (upwards of 50 megs per file), and it kinda kills the community when they can't upload. I'm at a total loss as to what exactly the problem is now.

Any help would be greatly appreciated!

TsirhCitna 08-26-2008 04:38 PM

Quote:

Originally Posted by AndrewD (Post 1607063)
I can't really help without access to your site. If you want me to take a look, send me a PM with site details and two usernames/passwords - an admin and a user affected by the problem.

Sent.

AndrewD 08-26-2008 05:44 PM

Quote:

Originally Posted by Xenocat (Post 1607381)
Howdy! I'll start off by saying I love this mod...

With that said tho, I've run into a recent issue with upload permissions. Seems only Administrators can upload unrestricted file sizes now. Everybody else gets a security token error, and can't upload.

I've gone thru each and every usergroup permission for LDM, and everything LOOKS ok... it was working before the latest vb security patch...

Anybody else having a problem w/ uploads? I use it to manage a community depot for source engine map files (upwards of 50 megs per file), and it kinda kills the community when they can't upload. I'm at a total loss as to what exactly the problem is now.

Any help would be greatly appreciated!

I think I know what the problem is, but will have to work out a new solution.

Probably, you are using the flash-based swfuploader addon. I suspect that it works ok with Internet Explorer and fails with Firefox and other browsers.

There is a known bug with flash, which always sets cookies for internet explorer rather than the browser that is actually being used. I had written a workaround, which the latest security fixes from vb seem to have broken.

Can you confirm

vbboarder 08-26-2008 06:14 PM

Quote:

Originally Posted by vbboarder (Post 1605279)
Bug report: JWPlayer can play mp4 & m4v files when viewing the entry itself, but the player does not show when viewing a category's list of entries. It should show the player for mp4 & m4v files because the same player shows for flv, swf, & mp3 files when viewing a category's list of entries. Andrew, I can help fix this bug if you can advise me which file/ where to edit?

Andrew, any help on this one? I can help fix.

sparklywater 08-26-2008 06:41 PM

Quote:

Originally Posted by vbboarder (Post 1607550)
Andrew, any help on this one? I can help fix.

Maybe the latest version of JWplayer will fix it? Andrew will be posting it soon.

vbboarder 08-26-2008 06:53 PM

Quote:

Originally Posted by sparklywater (Post 1607567)
Maybe the latest version of JWplayer will fix it? Andrew will be posting it soon.

Doubt it.... I already installed & integrated version 4.0 of the JW player myself. Thanks for suggesting.... will test it when Andrew posts the plugin for version 4.1.

AndrewD 08-26-2008 07:02 PM

Quote:

Originally Posted by vbboarder (Post 1607550)
Andrew, any help on this one? I can help fix.

It's the jwaddons xml. The attached version should fix the problem. Note that you need to kill all the existing installed LDM plugins with "JWPlayer Addons" in the title.

Let me know if this works ok.

vbboarder 08-26-2008 07:04 PM

Quote:

Originally Posted by AndrewD (Post 1607592)
It's the jwaddons xml. The attached version should fix the problem. Note that you need to kill all the existing installed LDM plugins with "JWPlayer Addons" in the title.

Let me know if this works ok.

Thanks for the fix - I'll post after testing it out :D

AndrewD 08-26-2008 07:32 PM

Quote:

Originally Posted by TsirhCitna (Post 1607499)
Sent.

Quote:

Originally Posted by Xenocat (Post 1607381)
Howdy! I'll start off by saying I love this mod...

With that said tho, I've run into a recent issue with upload permissions. Seems only Administrators can upload unrestricted file sizes now. Everybody else gets a security token error, and can't upload.

I've gone thru each and every usergroup permission for LDM, and everything LOOKS ok... it was working before the latest vb security patch...

Anybody else having a problem w/ uploads? I use it to manage a community depot for source engine map files (upwards of 50 megs per file), and it kinda kills the community when they can't upload. I'm at a total loss as to what exactly the problem is now.

Any help would be greatly appreciated!

Really weird bug in Firefox

Take care::::

For a *temporary* fix, try editing the links_addnewlink template.

About 280 lines in, you'll find this sequence of text:

Code:

<if condition="$links_permissions['can_set_permissions'] and ($links_permissions['can_upload_files'] or $links_permissions['can_link_files'])">
<tr>
        <td class="alt1" width="30%">
        <strong>$vbphrase[ll_rename]</strong><br />
        <span class="smallfont">
        $vbphrase[ll_renameinfo]
        </span>
        </td>
        <td class="alt1">
        <input type="text" class="bginput" name="linkfile" id="linkfile" value="$linkfile" size="50" tabindex="1" onkeypress="return ldm_noenter()" />
        </td>
</tr>
<else />
<tr style="display:none;">
        <td class="alt1" colspan="2">
        <input type="hidden" name="linkfile" value="$linkfile" />
        </td>
</tr>
</if>

Change it to

Code:

<if condition="$links_permissions['can_set_permissions'] and ($links_permissions['can_upload_files'] or $links_permissions['can_link_files'])">
<tr>
        <td class="alt1" width="30%">
        <strong>$vbphrase[ll_rename]</strong><br />
        <span class="smallfont">
        $vbphrase[ll_renameinfo]
        </span>
        </td>
        <td class="alt1">
        <input type="text" class="bginput" name="linkfile" id="linkfile" value="$linkfile" size="50" tabindex="1" onkeypress="return ldm_noenter()" />
        </td>
</tr>
<else />
<tr style="display:none;">
        <td class="alt1" colspan="2">
        <input type="hidden" name="linkfile" id="linkfile" value="$linkfile" />
        </td>
</tr>
</if>


Xenocat 08-26-2008 07:51 PM

Thanks for looking into this - Before I make the aforementioned change, will usergroup permissions still govern who can upload? Its not a free upload site for anybody, so I want to keep it so that users in the correct user groups can upload only

EDIT to add: problem seems to exist in IE as well

vbboarder 08-26-2008 08:50 PM

Quote:

Originally Posted by AndrewD (Post 1607592)
It's the jwaddons xml. The attached version should fix the problem. Note that you need to kill all the existing installed LDM plugins with "JWPlayer Addons" in the title.

Let me know if this works ok.

Thanks for the fix! The player now shows when listing a category's entries for mp4 and m4v files, but now incorrectly sizes the player.
Bug Report: when viewing a category's listing for audio files with album art, the player's size is the size of the album art, NOT the preset size. This problem did not exist with the prior version of jwaddons.xml.
When you fix this bug, can you PLEASE make LDM use the size for videos if it detects album art and use the size for mp3 if it detects no artwork?
Also, can you make LDM show the player for aac & m4a files, which are supported by the JW Player? ;)

vbboarder 08-26-2008 08:54 PM

Quote:

Originally Posted by Xenocat (Post 1607381)
Howdy! I'll start off by saying I love this mod...

With that said tho, I've run into a recent issue with upload permissions. Seems only Administrators can upload unrestricted file sizes now. Everybody else gets a security token error, and can't upload.

I've gone thru each and every usergroup permission for LDM, and everything LOOKS ok... it was working before the latest vb security patch...

Anybody else having a problem w/ uploads? I use it to manage a community depot for source engine map files (upwards of 50 megs per file), and it kinda kills the community when they can't upload. I'm at a total loss as to what exactly the problem is now.

Any help would be greatly appreciated!

Which VB version update are you referring to that caused the problem? 3.7.2 PL2 or 3.7.3?

Xenocat 08-26-2008 09:05 PM

3.7.2 pl2..

Didn't realize 3.2.3 was out yet.. ill do that update and see if, by some magical occurance, the problem gets fixed

sparklywater 08-26-2008 09:34 PM

Andrew, I'm eagerly awaiting the new JWPlayer update, as soon as you can please, thanks :)

sparklywater 08-26-2008 10:00 PM

Quote:

Originally Posted by sparklywater (Post 1606690)
Does anyone know if there is a way to check a user's browser for the latest RealPlayer plugin, and if they don't have it then display a message or an update?

I've found the answer to this question here:

http://real.custhelp.com/cgi-bin/rea...=4&p_topview=1

TsirhCitna 08-26-2008 10:53 PM

Quote:

Originally Posted by AndrewD (Post 1607614)
Really weird bug in Firefox

Take care::::

For a *temporary* fix, try editing the links_addnewlink template.

About 280 lines in, you'll find this sequence of text:

Code:

<if condition="$links_permissions['can_set_permissions'] and ($links_permissions['can_upload_files'] or $links_permissions['can_link_files'])">
<tr>
    <td class="alt1" width="30%">
    <strong>$vbphrase[ll_rename]</strong><br />
    <span class="smallfont">
    $vbphrase[ll_renameinfo]
    </span>
    </td>
    <td class="alt1">
    <input type="text" class="bginput" name="linkfile" id="linkfile" value="$linkfile" size="50" tabindex="1" onkeypress="return ldm_noenter()" />
    </td>
</tr>
<else />
<tr style="display:none;">
    <td class="alt1" colspan="2">
    <input type="hidden" name="linkfile" value="$linkfile" />
    </td>
</tr>
</if>

Change it to

Code:

<if condition="$links_permissions['can_upload_files'] or $links_permissions['can_link_files']">
<tr>
    <td class="alt1" width="30%">
    <strong>$vbphrase[ll_rename]</strong><br />
    <span class="smallfont">
    $vbphrase[ll_renameinfo]
    </span>
    </td>
    <td class="alt1">
    <input type="text" class="bginput" name="linkfile" id="linkfile" value="$linkfile" size="50" tabindex="1" onkeypress="return ldm_noenter()" />
    </td>
</tr>
<else />
<tr style="display:none;">
    <td class="alt1" colspan="2">
    <input type="hidden" name="linkfile" value="$linkfile" />
    </td>
</tr>
</if>


That works.

obmob 08-27-2008 02:52 AM

Well... I should be ashamed, but finally i'm editing some templates on LDM 2.2.9 :(

So... Iwas wondering if there is a way to edit some stuff in the "main" template.

First, the top block, where the download's site is displayed, is there a way to add a conditional to it to hide the white row? Or just hide it completely in LDM's index page :p

Then... why is it that after certain categories a new blank row appears? Ithought this was for categories with no subcategories, but the first one is has no dependant categories, and the second one does... then below there are more main categories. :confused:

Anyway, i would like to know what is supposed to show there, if ishould enable something extra or if there is a way to delete those big rows :p

What else.... hmm, is there a way toshow descriptions, maybe the short one in the main page? Right below the category name :)

Guess that's all for tonight, been so busy this year... it sucks :eek:

Thanks Andrew!

AndrewD 08-27-2008 03:36 AM

Quote:

Originally Posted by Xenocat (Post 1607627)
Thanks for looking into this - Before I make the aforementioned change, will usergroup permissions still govern who can upload? Its not a free upload site for anybody, so I want to keep it so that users in the correct user groups can upload only

EDIT to add: problem seems to exist in IE as well

I couldn't reproduce it with IE. Which version of IE, which operating system?

In my tests, admins could use the SWFuploader extra with any browser, and other users could use it correctly with IE but not Firefox 3.

The template change does not modify who is allowed to upload. The problem that I discovered was related to a form field which is hidden from non-admins. Note that I have edited the fix I posted last night - both the first and the second version work, but the latest version is better.

AndrewD 08-27-2008 04:08 AM

Quote:

Originally Posted by obmob (Post 1607868)
Well... I should be ashamed, but finally i'm editing some templates on LDM 2.2.9 :(

So... Iwas wondering if there is a way to edit some stuff in the "main" template.

First, the top block, where the download's site is displayed, is there a way to add a conditional to it to hide the white row? Or just hide it completely in LDM's index page :p

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.

Quote:

Originally Posted by obmob (Post 1607868)
Then... why is it that after certain categories a new blank row appears? Ithought this was for categories with no subcategories, but the first one is has no dependant categories, and the second one does... then below there are more main categories. :confused:

Anyway, i would like to know what is supposed to show there, if ishould enable something extra or if there is a way to delete those big rows :p

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.

Quote:

Originally Posted by obmob (Post 1607868)
What else.... hmm, is there a way toshow descriptions, maybe the short one in the main page? Right below the category name :)

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

Goomzee 08-27-2008 04:23 AM

Is there any screen shot of this Mod i mean how it works

AndrewD 08-27-2008 04:29 AM

Quote:

Originally Posted by Goomzee (Post 1607895)
Is there any screen shot of this Mod i mean how it works

Take a look at the online wiki - http://www.eirma.org/wikis/index.php...nloads_Manager

Goomzee 08-27-2008 04:40 AM

thankx but there are some folders i am installing this is 1st time so i just upload released folder on public_html and then upload some files in under forums foldrer and what about extra and vba_modules folder where i uploaed them and what do i do with development and tests folder upload them or not

GrendelKhan{TSU 08-27-2008 04:55 AM

Quote:

Originally Posted by GrendelKhan{TSU (Post 1603036)
Hey Andrew... I think I asked this like.... couple years ago (lol) and given all the add-ons maybe I just missed it...

is there a, safe or usergroup-based, way to hotlink to a file after its been uploaded?


GOAL: I want to hotlink the file to a mp3 player in one's profile and a jukebox player play list.


ps. keep up the awesome work as usual. still one of the best add-ons aruond :)

again, sorry as I know it must be obvious and I'm just missign it. but is there a way to do usergroup group based hotlinking to uploaded files?

AndrewD 08-27-2008 04:57 AM

Quote:

Originally Posted by Goomzee (Post 1607908)
thankx but there are some folders i am installing this is 1st time so i just upload released folder on public_html and then upload some files in under forums foldrer and what about extra and vba_modules folder where i uploaed them and what do i do with development and tests folder upload them or not

This is explained in the wiki.

In the release folder, you upload the contents of the forum directory and its subdirectories into exactly the same layout on your site. Ignore the release/extras directory for the time being - as its name suggests, it contains optional extras. release/vba_modules contains interface modules for the vbAdvanced product - again, you ignore this unless you want to use vbadvanced.

You can completely ignore the contents of the development folder, unless you want to modify the products.

tests is exactly what it says - it contains some simple tests. Again you can ignore it.


All times are GMT. The time now is 08:12 AM.

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.02548 seconds
  • Memory Usage 1,904KB
  • 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
  • (32)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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