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)

germinus 11-07-2006 08:20 AM

ok back to square 1, instead of me spending another 6 hours trying to find out how to bring the jukebox up perhaps some1 would like to tell me as it in not in the instructions, it talks about the jukebox alot but fails to actually tell you how to get it on your screen

germinus 11-07-2006 10:13 AM

Quote:

Originally Posted by AndrewD
Could you please explain what you mean by saying that this program has crashed your database. And why do your web hosts not take regular backups?

I'm very happy to help you get LDM installed and working - just send me a PM and we can take it from there.

Thats very kind of you Andrew, shame the net does not have more folks like you :)

|oR|Greg 11-07-2006 12:22 PM

How would I integrate this? Seems like it should be easy... for someone else.

reitube 11-07-2006 12:35 PM

Hi Andrew,

LDM (2.2.5) works fine, but when I use the "allow_duplicates"-option with "no", it seems to have no effect. The users get the option "New entry even if it exits". And some of them use it with "yes".

Is there any chance to prevent duplicates effectively? Or did I miss another option?

Thanx
Regards

Alfa1 11-07-2006 08:35 PM

How do I upload a bulk of files from my pc to LDM 2.2.5? Is there a limit in number of files? I want to add a few 1000's.

kompakt 11-08-2006 02:43 AM

Upload them to your forum's server via ftp then, depending on how you need to organize them, scan them into a category of your choice or sync them with one .

AndrewD 11-08-2006 05:01 AM

Quote:

Originally Posted by reitube
Hi Andrew,

LDM (2.2.5) works fine, but when I use the "allow_duplicates"-option with "no", it seems to have no effect. The users get the option "New entry even if it exits". And some of them use it with "yes".

Is there any chance to prevent duplicates effectively? Or did I miss another option?

Thanx
Regards

I think this was intended as a warning rather than a total block - will give you a clear answer when I'm back home again - it will be a simple template edit for you to fix this.

obmob 11-08-2006 04:18 PM

Quote:

Originally Posted by AndrewD
local_links.php?catid=$linkcatid&linkid=$linkid

should do it

Sweet, that did the trick! Thanks. :D

Quote:

Originally Posted by AndrewD
Making things work with ajax is not straightforward - it needs a whole accompanying javascript in the background. I'd suggest some practice before playing with this - e.g. take a look at clientscript/ldm_ajax_keysugg.js and see if you can figure out how it works

Oh, ok, well, i'll take a look at that file, and search for some references :)

Now, i have a feature request... hope Andrew won't kick me :laugh:

Well, there is a links_favbit, and links_editbit... you think it might be possible, in a future release, to include a links_downloadbit?

This would be a simple download link to be shown, the same as edit ot favorites... well, just that ^^

Thanks for everything!

|oR|Greg 11-08-2006 05:27 PM

I'm SO close to making Google Video and You Tube videos play within LDM... I just need one last step!!!!

Andrew, I got the IF statement working inside the links_playbit template by adding some more code to the original WIMPY Player plugin that I changed for the FLV Player. Here is the code that I added to the plugin:
PHP Code:

if(stristr($url'video.google.com/videoplay?docid=') == TRUE) { 
$player "google"

$google_patterns = array(
    
'http://video.google.com/videoplay\?docid=(.*?)&(.*?)',
    
'http://video.google.com/videoplay\?docid=(.*?)',
);
$google_rep = array(
    
'http://video.google.com/videoplay?docid=$1',
    
'http://video.google.com/videoplay?docid=$1',
);
$url preg_replace($google_patterns$google_rep$url);
}

if(
stristr($url'youtube.com/watch?v=') == TRUE) { 
$player "youtube";

$youtube_patterns = array(
    
'http://www.youtube.com/watch\?v=(.*?)&(.*?)',
    
'http://www.youtube.com/watch\?v=(.*?)',
    
'http://youtube.com/watch\?v=(.*?)&(.*?)',
    
'http://youtube.com/watch\?v=(.*?)',
);
$youtube_rep = array(
    
'http://www.youtube.com/watch?v=$1',
    
'http://www.youtube.com/watch?v=$1',
    
'http://www.youtube.com/watch?v=$1',
    
'http://www.youtube.com/watch?v=$1',
);
$url preg_replace($youtube_patterns$youtube_rep$url);


Now, here is the code I added to the links_playbit:
HTML Code:

<if condition="$player=='youtube'">
<object width="640" height="480" type="application/x-shockwave-flash" data="$url">
<param name="movie" value="$url" />
<param name="wmode" value="transparent" />
<em><strong>ERROR:</strong> If you can see this, then <a href="http://www.youtube.com/">YouTube</a> is down or you don't have Flash installed.</em>
</object>
</if>

<if condition="$player=='google'">
<object width="640" height="480" type="application/x-shockwave-flash" data="$url">
<param name="movie" value="$url" />
<param name="allowScriptAccess" value="sameDomain" />
<param name="quality" value="best" />
<param name="scale" value="noScale" />
<param name="wmode" value="transparent" />
<param name="salign" value="TL" />
<param name="FlashVars" value="playerMode=embedded" />
<em><strong>ERROR:</strong> If you can see this, then <a href="http://video.google.com/">Google Video</a> is down or you don't have Flash installed.</em>
</object>
</if>

There are 2 prolems I think...
  1. When I add a new url entry to LDM like http://www.youtube.com/watch?v=X4ery9QRfpA, it goes OFF-site and opens a new window rather then opening in the same window with an embeded player, all because it's not a local file.
  2. The jukebox settings require a file type. There is none for this, so I don't know what to do for that either.
Pretty please help me out, I'm SOOO close to embedding these (I think). Aren't you proud of me too, because I wrote my first plugin code?

elsupremo 11-08-2006 05:57 PM

Andrew,

I don't know how long this has been going on, but it seems the 2.2.6 series of upgrades have created a problem with Firefox. For one thing, "Save Link As" does not work, and it instead tries to download an html page instead of the download. Secondly, and more significantly, if I left click on the link, the save as dialogue box only has the first 2 characters in my file name - and no extension. Example: I have a file name named: CC 10-07-06 720.wmv. When I left click on it in Firefox, the dialogue box only has "CC" in the save as line, with no extension added.

The left click and save target as functions work normally in both Opera and Internet Explorer (6 and 7).

Thank you for any advice in resolving this issue. I hope you are able to replicate this issue.


All times are GMT. The time now is 11:46 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.03100 seconds
  • Memory Usage 1,766KB
  • 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_html_printable
  • (1)bbcode_php_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