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)

vbboarder 10-05-2008 05:00 AM

Tested Shadowbox today and discovered many cool things (unfortunately no solution to the U.S. financial crisis ;) ). Only 1 major bug, 2 minor bugs, and 3 feature requests:

Note: I tested in LDM-2.2.9-post1, which required edits to a LDM php file. For 2.2.9-post1, the local_links_include.php file was missing 2 functions, ldm_extra_is_loaded & ldm_extra_has_loaded, so I copied those functions into the file from 2.3.0-alpha1. Also, I had to insert ?global $ldm_extras_loaded; $ldm_extras_loaded = array();? into the ldm_general_init() function.

Awesome Bug Fixes: Wooowww, you are amazing Mr. AndrewD ? your Shadowbox plugin fixed these 2 nasty bugs: Bug report: IE popup errors when loading files > 5 MB & SERIOUS CONFLICT with media players & Yahoo script used by VB I assume that since only the jukebox template is loaded in Shadowbox and not the whole webpage, the Yahoo event script that conflicts with Firefox 2 is not loaded, so the players appear. For the IE error popups bug, don?t know how it was fixed but I?m sure glad it?s gone! :D

Videos Galore: Tested Shadowbox with 14 different video filetypes and codecs (Windows, Quicktime, Real & Flash) ? absolutely no problems!
Audio Pleasure: Tested Shadowbox with 6 different audio filetypes and codecs (Windows, Quicktime, Real & mp3) ? absolutely no problems!

Major Bug:
Shadowbox does not display full-size images (magnifier link) for all image filetypes (jpg, png, gif, etc.). The Shadowbox pops up, but no images are displayed ? this occurs in both IE7 & Firefox 2. Could it be that the links_imgpage template is missing (I can?t find it anywhere, even in LDM 2.3.0-alpha1) so the image is not displayed? If not the case: to help debug, the Image Resizer mod can use its Shadowbox to display all images in LDM pages.

Minor Bug:
When viewing a category?s entries list, clicking on an image thumbnail will show the full-size image in a new webpage. Can you fix it so that the full-size image shows in Shadowbox?

Minor Bug:
Since JWPlayer is no longer set to play swf files, the video is not shown in Shadowbox. But users with Adobe Flash Player installed can still view the swf video in a new page when the entry?s link is clicked. Can you fix it so that the swf video shows in Shadowbox?

The ?open_musicbox_newwindow? setting
must be enabled or else you?ll get the whole webpage embedded in the Shadowbox, which looks weird.
Shadowbox integrates fine with your flash-sites extra plugin.

Feature Request
(luv this feature): when the WMP player is shown in the Shadowbox, there are ?+? & ?-? buttons below the player that can be clicked to enlarge or reduce the size of the player/ video. However, it appears only when the WMP player is used and only in IE7 ? can you enable those buttons for Firefox and all other players (Quicktime, Real, Flash)? If it?s just a WMP feature, then can you enable it for Firefox also?

Feature Request:
For the Filmstrip extra plugin, clicking on the image thumbnail takes the user to a page displaying just that one entry. There?s already a link below the thumbnail that links to the same single-entry page, so can you enable the Shadowbox to show the full-size image when the thumbnail is clicked? I know the magnifier link will do this, but it?s more user-friendly to also have the thumbnail link activate Shadowbox.

Feature Request:
Currently I think you have the media players embedded in the jukebox template which is embedded in the Shadowbox. Can you provide an option so that Shadowbox just shows the media player without the jukebox template? Also, if full-size images are embedded in a template, can you do the same for images? There?s 2 advantages to this: 1. the presentation looks cleaner (check out the demo movies on Shadowbox webpage for examples), and 2. the viewing is more streamlined because the user can navigate between entries within a category without leaving the Shadowbox (check out the ?Mixed Content Gallery? demo in Demos > Movies on Shadowbox webpage).

Question:
what templates does Shadowbox use for the media players and enlarged images?
Thanks a lot Andrew for this wonderful plugin to your already awesome LDM mod! :D

vbboarder 10-05-2008 05:05 AM

When an entry with an audio/ video file is marked as Favorite and appears as a Featured entry and the JWPlayer handles its filetype, the JWPlayer (Flash & Silverlight) no longer shows the audio/ video inline for that entry in the regular entries list ? this only occurs in IE7. However, the JWPlayer still shows the audio/ video inline for that entry in the Featured listing.

Amaresh 10-05-2008 05:44 AM

Hi Andrew,

I'm trying to get this work but it seems that it is unable to scan and add files that have characters such as underscores or dashes in them.

Eg, I have a few files that look like [Hitode-AnimeSS]_Crystal_Blaze_-_03_[02376E4B].avi in a folder, but when i select all of them and try to add them,
the output is :

Quote:

/upload/Crystal Blaze/[Hitode-AnimeSS inserted as linkid 11
/upload/Crystal Blaze/[Hitode inserted as linkid 12
Clearly, it is having issues with such kinds of files, so do you know any work around for this ?

Thanks in advance!

DJDrew 10-05-2008 08:40 AM

Hello, I just get "Document Root not set, Edit local_links_init.php"

AndrewD 10-05-2008 08:54 AM

Quote:

Originally Posted by DJDrew (Post 1637672)
Hello, I just get "Document Root not set, Edit local_links_init.php"

I imagine your web server is running on a Windows server with php installed in so-called CGI mode. The solution is explained in the LDM wiki, see http://www.eirma.org/wikis/index.php/Site_Configuration

DJDrew 10-05-2008 08:57 AM

Quote:

Originally Posted by AndrewD (Post 1637676)
I imagine your web server is running on a Windows server with php installed in so-called CGI mode. The solution is explained in the LDM wiki, see http://www.eirma.org/wikis/index.php/Site_Configuration

Yeah its windows. Ill take a look now

AndrewD 10-05-2008 08:59 AM

Quote:

Originally Posted by vbboarder (Post 1637592)
Tested Shadowbox today and discovered many cool things (unfortunately no solution to the U.S. financial crisis ;) ). Only 1 major bug, 2 minor bugs, and 3 feature requests:

Thanks - will deal with these points (keep in mind - it's not just a US financial crisis - it's global and the actions taken in many countries will affect us all)

Indeed, the links_imgpage template is new and required for images to work. Here's the template:
Code:

<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<title></title>
$headinclude
<script language="JavaScript" type="text/javascript">
        self.resizeTo($pic_width,$pic_height);
</script>
</head>
<body>
<br />
<div style="$pic_width; margin-left: auto; margin-right: auto;">
        <table border="0" cellspacing="0" cellpadding="0" width="100%">
        <tr>
                <td align="center">
                <img border="0" src="$pic_source" alt="" />
                </td>
        </tr>
        </table>
</div>
</body>
</html>


DJDrew 10-05-2008 09:01 AM

Just tried changing the path to C:\Inetpub\vhosts\radio1-online.com\httpdocs but didn't seem to work. Have tried several different things but just won't work

DJDrew 10-05-2008 09:04 AM

Just got it working with the root document.

But now im getting:

Parse error: syntax error, unexpected T_STRING in C:\Inetpub\vhosts\radio1-online.com\httpdocs\forum\includes\local_links_ini t.php on line 46

And none of the forum is working.

DJDrew 10-05-2008 09:15 AM

Never mind. Seems to be working now

But im a little confused as to why it says downloads with nothing in it and the files are in the catagories? if that makes sense


All times are GMT. The time now is 02:10 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.03068 seconds
  • Memory Usage 1,763KB
  • 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
  • (1)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