vb.org Archive

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

Alfa1 07-23-2009 01:30 PM

I am running the latest versions of the vba modules: ldm_new_thumb, ldm_new and ldm_new_media.

In LDM_new a number is displayed after each name, to denote the number of hits. how do I remove this?

In ldm_new_thumb: Is there anyway to display the file title under the thumb?

I would like to show off my video directory on a vba portal with ldm_new_media.
  1. Is it possible to set a cut-off date for ldm_new_media?
  2. Is there any way to play vp6 flv videos?
  3. Many of my videos can not be played embedded in LDM. ldm_new_media therefore only shows the titles of these videos. Is there any way to have ldm_new_media ignore videos that can not be displayed?
  4. If some videos are not displayed, then the JWH player videos that are displayed are blown up to fill all available space, instead of the set pixel size. I am not 100% sure that the absence of video thumbs is the cause.

Alfa1 07-23-2009 03:12 PM

For my video categories, I am using the fotoalbum linkbit. I have installed the JW Player extensions. How do I enable videos to play inline in the fotoalbum linkbit?
Is there a way to have the text $linkimglink move to a new line if it is longer than X characters? Similar to done on youtube here.

I would like to add a feature request:
The possibility to add multiple url's / files to one entry. Often video's consist out of multiple segments/parts. Currently the only solution is to add the urls for part 2,3,4,etc in the description field. This excludes it from LDMs link check functions.

AndrewD 07-25-2009 04:43 AM

Quote:

Originally Posted by Alfa1 (Post 1845415)
I did this and now have the strangest error showing up at various specific locations. All locations are LDM locations.

Warning: parse_url(http://javascript:AL_get(this) [function.parse-url]: Unable to parse URL in [path]/global.php(400) : eval()'d code on line 301

EDIT: it is a conflict between LDM and Two-Step links.

Bit difficult for me to do anything about this. I think there must be more than a conflict with Two Step links. The javascript in the warning message must be coming from somewhere - not in LDM and I don't think it's in Two Step links either.

AndrewD 07-25-2009 05:44 AM

Quote:

Originally Posted by Alfa1 (Post 1854167)
In LDM_new a number is displayed after each name, to denote the number of hits. how do I remove this?

In template adv_portal_custom_ldm_new_one remove the line:
Code:

    <div style="float:right"><span class="smallfont">$linkhits</span></div>
Quote:

Originally Posted by Alfa1 (Post 1854167)
In ldm_new_thumb: Is there anyway to display the file title under the thumb?

In template adv_portal_custom_ldm_new_thumb_one, immediately before the <else /> line, insert
Code:

<div class="smallfont">$linkshortname</div>
Quote:

Originally Posted by Alfa1 (Post 1854167)
Is it possible to set a cut-off date for ldm_new_media?

Requires a code edit to forum/modules/ldm_new_media.php.

Find the line:
Code:

    $order        = "linkdate DESC ";
Immediately after, insert:
Code:

$cutoff = TIMENOW - 24*60*60*$GLOBALS['links_defaults']['days_seen_on_portal'];
$filter[] = "link.linkdate>$cutoff";

This will cause the module to use your LDM admin setting *days_seen_on_portal* as cutoff. If you want to use a different value, change $GLOBALS['links_defaults']['days_seen_on_portal'] to the required number of days, e.g. set it to 10.

Quote:

Originally Posted by Alfa1 (Post 1854167)
Is there any way to play vp6 flv videos?

I downloaded a test vp6 video (https://flix.on2.com/samples/on2tm_640.flv) and installed it in LDM. It plays fine through the JW player, both via the jukebox and inline. However, there seem to be a series of debates/problem reports on the longtail video site about problems with vp6 flash videos and the JW player.

Quote:

Originally Posted by Alfa1 (Post 1854167)
Many of my videos can not be played embedded in LDM. ldm_new_media therefore only shows the titles of these videos. Is there any way to have ldm_new_media ignore videos that can not be displayed?

What type of video cannot be played embedded in LDM?

Quote:

Originally Posted by Alfa1 (Post 1854167)
If some videos are not displayed, then the JWH player videos that are displayed are blown up to fill all available space, instead of the set pixel size. I am not 100% sure that the absence of video thumbs is the cause.


??

AndrewD 07-25-2009 05:55 AM

Quote:

Originally Posted by Alfa1 (Post 1854216)
For my video categories, I am using the fotoalbum linkbit. I have installed the JW Player extensions. How do I enable videos to play inline in the fotoalbum linkbit?

In the template links_linkbit_photo, change the variable $linkimglink to $linkimgjump

Quote:

Originally Posted by Alfa1 (Post 1854216)
Is there a way to have the text $linkimglink move to a new line if it is longer than X characters? Similar to done on youtube here.

will check

Quote:

Originally Posted by Alfa1 (Post 1854216)
I would like to add a feature request:
The possibility to add multiple url's / files to one entry. Often video's consist out of multiple segments/parts. Currently the only solution is to add the urls for part 2,3,4,etc in the description field. This excludes it from LDMs link check functions.

This is fully possible using the additional "Entry Attributes" features. You will find an explanation in the wiki.

Alfa1 07-25-2009 11:50 PM

thank you! Thats a lot of improvements I have now implemented.

Quote:

Originally Posted by AndrewD (Post 1855037)
I downloaded a test vp6 video (https://flix.on2.com/samples/on2tm_640.flv) and installed it in LDM. It plays fine through the JW player, both via the jukebox and inline. However, there seem to be a series of debates/problem reports on the longtail video site about problems with vp6 flash videos and the JW player.

None of my vp6 videos are playing. Adding the testvideo url as an entry does not give an embedded video, but a link to the file. Do I need to add a new filetype for vp6? Or do I need to change a setting to get vp6 playing? I have no clue why its not playing at all.

Quote:

Originally Posted by AndrewD (Post 1855037)
What type of video cannot be played embedded in LDM?

vp6, dailymotion, livevideo and liveleak videos do not play embedded for me.

Quote:

Originally Posted by AndrewD (Post 1855037)
??

In ldm_new_media or ldm_hot_media latest or popular videos can be displayed. They play embedded on the vba portal page. Some videos do not play embedded, so only a title is displayed. The videos that do play embedded show up very large. As if the size is set to 100%. How and where do I set the size of the video player to a maximum limit?

Quote:

Originally Posted by Alfa1 (Post 1854216)
For my video categories, I am using the fotoalbum linkbit. I have installed the JW Player extensions. How do I enable videos to play inline in the fotoalbum linkbit?
Is there a way to have the text $linkimglink move to a new line if it is longer than X characters? Similar to done on youtube here.

Quote:

Originally Posted by AndrewD (Post 1855041)
In the template links_linkbit_photo, change the variable $linkimglink to $linkimgjump

That does not work for me.


About 10% of my videos that do play embedded on the jukebox, do not display a thumb. Is there anyway to generate these?

Do you know where I can find icons for file extensions? I am in need of: .djvu .mol .torrent .mpg

biome.pat 07-27-2009 05:58 PM

I'm running into a blank white page issue on local_links.php, but only when there is a child forum for whatever category I'm viewing. For instance, Home category works fine until I add a category, and that added category is fine until I add a child to it, at which point it turns into a blank page.

I checked out the other issues in your mods' threads, but those blank page issues didn't seem to be like mine. I'm running vB 3.8.2 (and LDM 2.3.0, I might add), plus I've disabled all other modifications and reverted to the default style, but the problem still persists. No one else seems to be having any trouble, so it's probably something to do with my setup... Any suggestions on where to start? :)

Thanks in advance, and amazing mod by the way!

UPDATE #1: When I disable the Category Display from the Settings page, local_links.php starts working, so it appears that it's just something to do with that. I tried both tabular and brief, and neither allows anything but a blank page.

UPDATE #2: It seems that uploading an entry to a category also causes that category (which was previous working) to mess up. Looks like for whatever reason, my cat and entry bits cause things to go wonky...

Rouzbeh1 07-28-2009 12:27 AM

Hey Andrew,

I need the variable for entry links that are in links_linkbit (Modern Template).

Right now I can only use $linkurljump which contains both title and url, but I only need the URL and not the title.
i tried $linkurllink, but it didn't help. it's an empty varible.
Is there a variable to differentiate between Entry titles and urls?

Thank you

AndrewD 07-28-2009 04:36 AM

Quote:

Originally Posted by biome.pat (Post 1856678)
I'm running into a blank white page issue on local_links.php, but only when there is a child forum for whatever category I'm viewing. For instance, Home category works fine until I add a category, and that added category is fine until I add a child to it, at which point it turns into a blank page.

I checked out the other issues in your mods' threads, but those blank page issues didn't seem to be like mine. I'm running vB 3.8.2 (and LDM 2.3.0, I might add), plus I've disabled all other modifications and reverted to the default style, but the problem still persists. No one else seems to be having any trouble, so it's probably something to do with my setup... Any suggestions on where to start? :)

Thanks in advance, and amazing mod by the way!

UPDATE #1: When I disable the Category Display from the Settings page, local_links.php starts working, so it appears that it's just something to do with that. I tried both tabular and brief, and neither allows anything but a blank page.

UPDATE #2: It seems that uploading an entry to a category also causes that category (which was previous working) to mess up. Looks like for whatever reason, my cat and entry bits cause things to go wonky...

Sorry to hear this. Blank pages are usually caused by one of three problems - a) code bugs; b) faulty code file uploads; and c) resource limits. As you've turned off other mods and no-one else has reported a problem, a) seems the least likely. You can check b) by going to LDM/admin/check file versions, which carries out an integrity check on all the code files. Which leaves c). A common problem is insufficient memory. Two checks here - go to LDM/Admin and take a look at the memory_limit value in your php settings (down the left hand side). If this is less than 12M or so, that might be the problem.

One way to check this (assuming your server configuration allows it) is to create a plugin to allow you to use more memory. Go to vb/admincp/products and plugins/add new plugin, and create a new plugin with the following settings:

hook location: global_start
title: debug
plugin php code: ini_set('memory_limit', '16M');
active: yes

If the memory limit is the problem, you should ask your host provider to change the default limit to, e.g., 16M or 24M.

Am happy to take a look at your board if you need further help, but will require full admin access.

AndrewD 07-28-2009 04:46 AM

Quote:

Originally Posted by Rouzbeh1 (Post 1856837)
Hey Andrew,

I need the variable for entry links that are in links_linkbit (Modern Template).

Right now I can only use $linkurljump which contains both title and url, but I only need the URL and not the title.
i tried $linkurllink, but it didn't help. it's an empty varible.
Is there a variable to differentiate between Entry titles and urls?

Thank you

The raw url is stored in $linkurl, but this is probably not what you are after. If you want the masked url that allows LDM to keep file locations secret and track hits, you need to create a plugin, as follows:

hook location: ldm_linkbit_create

code:

PHP Code:

$linkmaskurl ldm_seo_url("jump"$linkcatid$linkid); 



All times are GMT. The time now is 04:55 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.01404 seconds
  • Memory Usage 1,798KB
  • 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
  • (4)bbcode_code_printable
  • (1)bbcode_php_printable
  • (17)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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