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)

jamesf4218 04-07-2008 07:18 AM

Hello. I have installed your product which works fine.

One small thing is that my YouTube links do not transform into embedded media like they do on the rest of the site.

I installed this to make links automatically turn into embedded videos but for some reason they don't when used with your system.

Any idea why?

Thanks

AndrewD 04-07-2008 04:33 PM

Quote:

Originally Posted by jamesf4218 (Post 1485044)
Hello. I have installed your product which works fine.

One small thing is that my YouTube links do not transform into embedded media like they do on the rest of the site.

I installed this to make links automatically turn into embedded videos but for some reason they don't when used with your system.

Any idea why?

Thanks

I haven't tried that addon, but I imagine that it isn't set up to work together with LDM. I'll take a look and see if I can work out why.

There is a similar flash_sites 'extra' for LDM in the release

AndrewD 04-07-2008 06:23 PM

Quote:

Originally Posted by jamesf4218 (Post 1485044)
Hello. I have installed your product which works fine.

One small thing is that my YouTube links do not transform into embedded media like they do on the rest of the site.

I installed this to make links automatically turn into embedded videos but for some reason they don't when used with your system.

Any idea why?

Thanks

I've checked - AME works in part with LDM. As far as I can see, the hack has two parts to it: a) during the creation of a post, it looks for url bbcodes that match one of its video sites and it replaces these with ame bbcodes; b) during display of the posts (or anything else where bbcodes are allowed), it processes these ame bbcodes to create the embedded the video player.

The second part works fine inside LDM - i.e. if you put a sequence such as
Code:

[ame]http://www.youtube.com/watch?v=yLmvsqL1f-E[/ame]
in the description in LDM, it will convert just fine into a video.

However, if you put the same thing in url tags, it won't carry out the first stage of the processing because AME does not include the necessary hooks.

djdixie 04-08-2008 02:20 AM

i can some1 please set up this modd for me, i cant pay but i can give you free hosting with free shoutcast

Ophelia 04-10-2008 03:34 PM

Hi Andrew,

I'm having some issues with the Joomla code.

I took what you gave above and placed into a file called ldmgrabber.php

I uploaded it into my Forum directory.

I then created a test.php file with this code:

Code:

<?php
?>
<HTML>
<HEAD>
</HEAD>
<BODY>

<TD>
<TABLE>
<TR>
<TD>
<p align="center"><?php include ('forum/ldmgrabber.php'); ?><br><font size="1"><b>newest uploaded layout</b></font>
</TD>
</body>
</HTML>

I get this error :(

Code:

Warning: main(./global.php) [function.main]: failed to open stream: No such file or directory in /home//public_html/forum/ldmgrabber.php on line 3

Fatal error: main() [function.require]: Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home//public_html/forum/ldmgrabber.php on line 3

What am I doing wrong :(

AndrewD 04-10-2008 07:53 PM

Quote:

Originally Posted by Ophelia (Post 1487547)
Hi Andrew,

I'm having some issues with the Joomla code.

I took what you gave above and placed into a file called ldmgrabber.php

I uploaded it into my Forum directory.

I then created a test.php file with this code:

Code:

<?php
?>
<HTML>
<HEAD>
</HEAD>
<BODY>

<TD>
<TABLE>
<TR>
<TD>
<p align="center"><?php include ('forum/ldmgrabber.php'); ?><br><font size="1"><b>newest uploaded layout</b></font>
</TD>
</body>
</HTML>

I get this error :(

Code:

Warning: main(./global.php) [function.main]: failed to open stream: No such file or directory in /home//public_html/forum/ldmgrabber.php on line 3

Fatal error: main() [function.require]: Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home//public_html/forum/ldmgrabber.php on line 3

What am I doing wrong :(

The error is saying that the code is being executed from another directory than forum. You probably need a line of code to change into the forums directory, but without a Joomla installation, I'm not in a position to help.

Ophelia 04-10-2008 08:06 PM

I couldn't get this working in Joomla so I tried to do it like we do with Photopost, and it's just on a .php page outside of everything.

Here is the page that is calling ldmgrabber.php

So right now, Joomla isn't even a variable.

To make it clear where everything is:

ldmgrabber.php is in /forum
the index.php is in the root directory.

I can move either anywhere it needs to go.

AndrewD 04-11-2008 03:25 AM

Quote:

Originally Posted by Ophelia (Post 1487754)
I couldn't get this working in Joomla so I tried to do it like we do with Photopost, and it's just on a .php page outside of everything.

Here is the page that is calling ldmgrabber.php

So right now, Joomla isn't even a variable.

To make it clear where everything is:

ldmgrabber.php is in /forum
the index.php is in the root directory.

I can move either anywhere it needs to go.

To be honest, there's too many variables here that are outside my control. I also realise that I've given you 2.2.9 code and you're running version 2.2.8. If you provide me with admin + ftp access to your site, I'll try to get this working and then we can see if it's what you actually wanted. But I am away this weekend and possibly out of contact next week.

idared 04-19-2008 09:48 PM

Hello,
i just installed and set up this great plugin, it fits my needs perfectly. Thank you for the hard work you put into this!

I have two questions, tried searching the thread but couldn't find the right answers:

1. I would like to show the thumbnails of the latest x entries (which in my setup would be either uploaded image files or video links) on the local_links homepage (and possibly the category pages). Can you give me the template snippet to add to the templates?

2. I set up my forumhome so that the local links main page and categories are subforums (act as forum set to no, with links to the relevant local links page). On the categories that don't have subcategories the latest entry is shown in "latest post" column on forumhome, but not on the categories that have subcategories (it shows no latest post because an upload into a subcat. doesn't trigger it). Is there a solution to this? (I saw that this has been mentioned here before but couldn't find an actual solution.)

Thank you for your help!

Edited to clarify the first question.

AndrewD 04-20-2008 05:12 AM

Quote:

Originally Posted by idared (Post 1494768)
Hello,
i just installed and set up this great plugin, it fits my needs perfectly. Thank you for the hard work you put into this!

I have two questions, tried searching the thread but couldn't find the right answers:

1. I would like to show the thumbnails of the latest x entries (which in my setup would be either uploaded image files or video links) on the local_links homepage (and possibly the category pages). Can you give me the template snippet to add to the templates?

2. I set up my forumhome so that the local links main page and categories are subforums (act as forum set to no, with links to the relevant local links page). On the categories that don't have subcategories the latest entry is shown in "latest post" column on forumhome, but not on the categories that have subcategories (it shows no latest post because an upload into a subcat. doesn't trigger it). Is there a solution to this? (I saw that this has been mentioned here before but couldn't find an actual solution.)

Thank you for your help!

Edited to clarify the first question.


Thanks

1) There is an addon in the LDM extras directory (filmstrip), which places a set of thumbnails on the page. In version 2.2.8, it only works within a category, highlighting entries in the current category. In version 2.2.9, I have extended this plugin to do what you are wanting for the base category as well. You control what it does using new settings added to to the LDM admin/settings page.

2) Just to be clear what you mean - do you want the forumhome display to flag the latest entry in any of the category's sub-categories? I think this can be achieved - I will have to take a look at the code.


All times are GMT. The time now is 01:41 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.04235 seconds
  • Memory Usage 1,759KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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