vb.org Archive

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

Nam 10-06-2007 07:03 PM

Hi Andrew, excuse me if this question has been asked before.

Do LDM support other video site such as google video, Veoh, etc. besides youtube? Or youtube flash player works with them as well? I haven't tried it yet.

AndrewD 10-07-2007 04:37 AM

Quote:

Originally Posted by itsblack (Post 1354295)
I replace the links_main template with the attached code, unfortunately it doesn't work.

With the new template, the width of the main section was extended to 100%, that's OK, I can fix it. But the statistic still stayed under the main section. Just don't know what happened.

I'm also at a bit of a loss. I pulled down the template I'd posted yesterday and tried it again, and it still works for me, see image.

These are the changes in the form of the unix 'diff' command:

Left file: Y:\Users\Andrew\Desktop\links_main-original.txt
Right file: Y:\Users\Andrew\Desktop\links_main-modified.txt
0a1,5
> <if condition="$includeinmain[prestats] or $viewcatstats or $viewcathits or $includeinmain[poststats]">
> <table width="100%">
> <tr>
> <td width="70%" valign="top">
> </if>
158a164,167
> <if condition="$includeinmain[prestats] or $viewcatstats or $viewcathits or $includeinmain[poststats]">
> </td><td valign="top">
> </if>
>
164,167d172
< <table cellpadding="0" cellspacing="0" border="0" width="100%">
< <tr><td width="70%">&nbsp;</td>
< <td>
<
189,190d193
< </td></tr>
< </table>
197a201,206
> <if condition="$includeinmain[prestats] or $viewcatstats or $viewcathits or $includeinmain[poststats]">
> </td>
> </tr>
> </table>
> </if>
>

AndrewD 10-07-2007 04:39 AM

Quote:

Originally Posted by Nam (Post 1354304)
Hi Andrew, excuse me if this question has been asked before.

Do LDM support other video site such as google video, Veoh, etc. besides youtube? Or youtube flash player works with them as well? I haven't tried it yet.

the flash-sites add in in release/extras should work with all the sites you mention. Take a look at the readme.txt for details.

itsblack 10-07-2007 07:18 PM

Quote:

Originally Posted by AndrewD (Post 1354583)
I'm also at a bit of a loss. I pulled down the template I'd posted yesterday and tried it again, and it still works for me, see image.

These are the changes in the form of the unix 'diff' command:

Left file: Y:\Users\Andrew\Desktop\links_main-original.txt
Right file: Y:\Users\Andrew\Desktop\links_main-modified.txt
0a1,5
> <if condition="$includeinmain[prestats] or $viewcatstats or $viewcathits or $includeinmain[poststats]">
> <table width="100%">
> <tr>
> <td width="70%" valign="top">
> </if>
158a164,167
> <if condition="$includeinmain[prestats] or $viewcatstats or $viewcathits or $includeinmain[poststats]">
> </td><td valign="top">
> </if>
>
164,167d172
< <table cellpadding="0" cellspacing="0" border="0" width="100%">
< <tr><td width="70%">&nbsp;</td>
< <td>
<
189,190d193
< </td></tr>
< </table>
197a201,206
> <if condition="$includeinmain[prestats] or $viewcatstats or $viewcathits or $includeinmain[poststats]">
> </td>
> </tr>
> </table>
> </if>
>

I found it has something to to with the extra "add page info". Because I changed the template links_pageinfo_bit before. Now I make a little change, and it works.

Phalynx 10-08-2007 07:52 AM

How can I edit the text that appears in in "links_main" below <if condition="$viewcattext or $viewcatextra">? As the mainpage is not a cat I cannot find the description for that.

AndrewD 10-08-2007 06:36 PM

Quote:

Originally Posted by Phalynx (Post 1355349)
How can I edit the text that appears in in "links_main" below <if condition="$viewcattext or $viewcatextra">? As the mainpage is not a cat I cannot find the description for that.

You mean this section of the template?

PHP Code:

<if condition="$viewcattext or $viewcatextra">
<
tr>
    <
td class="alt1">
    
$viewcattext
    $viewcatextra
    
</td>
</
tr>
</if> 

$viewcattext contains the parsed version of the extended category description (i.e. with bbcodes filled in, etc.)

$viewcatextra contains the contents of the links_catbit_extras template, and is used to hold information on synchronisation, user allowances, etc.

If you want to modify either of these, you could write a plugin that is hooked on ldm_maindisplay_end, e.g. you can append to $viewcatextra

Phalynx 10-08-2007 06:43 PM

Ah, ok, thanks. Will try this.

This field is empty on my site: On the main page only the name of the DB is printed out, followed by an empty row.

pspcrazy 10-09-2007 10:59 AM

Andrew, I was wondering if there is a way to have related videos/files shown horizontally below the listing when you click on a link for a video stream.

Like something like this: http://psp3d.com/jukebox.php?do=view&type=media&mid=23, but with a horizontal bar with related or reccomeded videos from the same category.

GrendelKhan{TSU 10-10-2007 04:11 AM

request:

if possible, any chance of adding

www.imeem.com
www.megavideo.com
http://stage6.divx.com

to the flash site list?


if you could provide a brief tutorial on how to add more sites, I'd be willing to try my hand at it for others as well.

IrPr 10-10-2007 07:57 AM

Quote:

Originally Posted by GrendelKhan{TSU (Post 1356650)
request:

if possible, any chance of adding

www.imeem.com
www.megavideo.com
http://stage6.divx.com

to the flash site list?


if you could provide a brief tutorial on how to add more sites, I'd be willing to try my hand at it for others as well.

Andrew, another suggestion
You can integare this mod to vB AnyMedia and use anymedia class to parse all of media types to stream
Im using class_anymedia.php parsing Youtube, Megavideo and stage6 in my LDM and it rocks!

Again my special thanks goes to Andrew, your LDM in fully modifable due to huge hook locations :)


All times are GMT. The time now is 06: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.02981 seconds
  • Memory Usage 1,756KB
  • 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_php_printable
  • (5)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