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)
-   -   Show Thread Enhancements - AME - Auto Media Embedding (youtube, Amazon, google, myspace, etc...) (https://vborg.vbsupport.ru/showthread.php?t=150863)

4x4 Mecca 07-06-2007 02:30 AM

The Photobucket works for most of the links, but not all, I'll clean it up then reupload it.
Done. Uploaded.

BigDog56 07-06-2007 07:22 AM

Got it installed, works like a charm! Thank you very much!

Dannyloski 07-06-2007 11:38 PM

4x4 Mecca, could you add another PhotoBucket Version, like Photobucket (Subfolder) , and edit the code so that it shows videos in photobucket that are in a subfolder?

For example, so that it would automatically convert a link like this one:
http://s37.photobucket.com/albums/e5...t=MOV00857.flv

4x4 Mecca 07-07-2007 01:24 AM

I'll try and get that code to work. I think it's the % sign that's doing it.

4x4 Mecca 07-07-2007 02:06 AM

OK, I've updated the photobucket code to include these characters
%-_? just incase they are in the link. Here is the new PB code
https://vborg.vbsupport.ru/showpost....&postcount=240

ammoskumar 07-07-2007 02:22 AM

can someone shows me how to embed DivX, Dailymotion, & yahoo video...
Thanks

pspcrazy 07-07-2007 02:26 AM

Quote:

Originally Posted by The Geek (Post 1283016)
Sure, I suppose. But how would the users upload the media (let alone know the URL to it?)

Well it would be for the things i upload to the site under media like podcasts and quick video reviews.

furst 07-07-2007 05:13 AM

Is it possible to modify the codes so that slightly varying URLs will work as well? For instance, I notice that when I leave the 'http://' off of the youtube URLs, they are no longer embedded automatically. Also, when people copy the URLs right out of their address bar, there is sometimes a huge piece appended to the end of the URL such as all the crap on the end of this: http://www.youtube.com/watch?v=2mTLO2F_ERY&eurl=http%3A%2F%2Freklam%2Efeb er%2Ese%2Ffeber%2F. Ideally, even weird URLs like these would work. Can we make this happen?

iogames 07-07-2007 07:23 AM

<a href="https://www.youtube.com/watch?v=2-HBqiK1-Eg" target="_blank">http://www.youtube.com/watch?v=2-HBqiK1-Eg</a>

iogames 07-07-2007 07:24 AM

I mean still dones work Metacafe or Yahoo... anyone???

The Geek 07-07-2007 08:54 AM

The http:// omission is easy and so is the appended bit. Just change the code to:

PHP Code:

(?:http://)*[a-z]*?[\.]?youtube\.[a-z]*?/watch\?v=([A-Z0-9._%-]*).* 

the

(?:http://)*

Part makes the http:// optional and the .* at the end matches any text after

HTHs

Subah 07-07-2007 06:59 PM

Quote:

Originally Posted by 4x4 Mecca (Post 1283997)
:)Ok, I've created one for photobucket videos! It works for me, I hope it works for all of you.
There is one for wmv files too.

where shoulde i put this files ?

Dannyloski 07-07-2007 07:56 PM

Subah,

Pretty easy, just do this ...

AdminCP > AME CP > Import > "Browse" (select the file) > Click "Import" Button > Confirm on screen info > Click "Import" Button > Imported like a charm!

Upload it through there, but its currently not supporting folders that have spaces in them. For exampe if you have an Account and have a subfolder like "My Pics" and another "Everyone" you can post up the videos from the "Everyone" subfolder, but those from "My Pics" wont show up :( ... I'm working on a fix for it now, will upload in a bit

Dannyloski 07-07-2007 08:04 PM

Okay so here it is ... This one is for PhotoBucket.com Videos, it will support subfolders that include a space in them, for example "My Pics". Thanks to 4x4 Mecca for the original one :up:

NOTE: If you have a previous Photobucket one installed, Delete it and Import this one ...

Subah 07-07-2007 08:33 PM

Thanks 4x4 Mecca , and thanks a lot Dannyloski for the explaining and the new editing on the file :)

Dannyloski 07-07-2007 08:40 PM

^ No problem ... Can you test out the PhotoBucket Import I uploaded on your site and see if it supports Folders with spaces in them? I wanna make sure it works, cause it was working for me, but now it's not, so I dont know if its my Cache that has to be cleared or if the Import does not support spaces still ... Let me know!

Subah 07-07-2007 09:03 PM

It is work with me like a charm ;)
even in the subfolders :D

Dannyloski 07-07-2007 09:39 PM

^ Subfolders with spaces on the name? Like "My Pics"? Just need to make it clear ...

Subah 07-07-2007 09:41 PM

i make a subfolder and upload to is a video and its work with me , is that what you mean ?

Dannyloski 07-07-2007 09:45 PM

^ What I mean is make a subfolder with the name "My Pics" in Photobucket and post a Video in there. Then get the link and paste it into a post in vB and see if it converts it.

What I need is to see if it really does support Subfolders with spaces in the Subfolder Name (the Subfolder "My Pics" has a space in between "My" and "Pics") I need to know if it works with spaces.

Subah 07-07-2007 09:54 PM

yes i creat a subfolder its has "sweet dodi" name as you see there is a space between the name and its work 100% :)

Dannyloski 07-07-2007 10:08 PM

Alright, awesome, just wanted to make sure ... :up:

And you're using the one I uploaded or the one Mecca 4x4 uploaded?

Subah 07-07-2007 10:11 PM

the one you uploaded because as i read from you the 4x4 Necca files not support the folder that have space ! right ?

Dannyloski 07-07-2007 10:23 PM

Correct, its just that he had added something, but it wasn't working so I fixed it and wnated to make sure it worked :up:

Subah 07-07-2007 10:25 PM

Good job both of you :up:

a1whs.com 07-08-2007 03:37 AM

It has major bug dude, try posting :

Code:

    $data = get_table_data('link');
Add after that line :
Code:

  if (! preg_match("/^http:\/\//", $data['URL1'])) { $data['URL1'] = "http://" . $data['URL1']; }

  if (! preg_match("/^http:\/\//", $data['URL2'])) { $data['URL2'] = "http://" . $data['URL2']; }

  if (! preg_match("/^http:\/\//", $data['URL3'])) { $data['URL3'] = "http://" . $data['URL3']; }

  if (! preg_match("/^http:\/\//", $data['URL4'])) { $data['URL4'] = "http://" . $data['URL4']; }

  if (! preg_match("/^http:\/\//", $data['URL5'])) { $data['URL5'] = "http://" . $data['URL5']; }

  if (! preg_match("/^http:\/\//", $data['URL6'])) { $data['URL6'] = "http://" . $data['URL6']; }


to any post. Till this error
Parse error: syntax error, unexpected T_BAD_CHARACTER, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/drd/public_html/zone/includes/ame_bbcode.php(177) : regexp code on line 2

Is fixed its an uninstall for me, time to find another youtube mod i suppose.

DieselMinded 07-08-2007 03:39 AM

<a href="http://www.filecabi.net" target="_blank">http://www.filecabi.net</a>

Support ?

Woop !!

DM

4x4 Mecca 07-08-2007 03:57 AM

With the WMV one I uploaded, I have a problem with firefox autoplaying it no matter which settings I use... anyone know how to stop it autoplaying even while using the command autostart='false' ?

4x4 Mecca 07-08-2007 04:08 AM

Quote:

Originally Posted by DiesellMinded (Post 1285538)
http://www.filecabi.net

Support ?

Woop !!

DM

$5 please! lol :p

DieselMinded 07-08-2007 04:21 AM

Thats A Different Site isnt it

DM

DieselMinded 07-08-2007 04:27 AM

I installed the livevideo hack and still Nata

http://www.dieselbombers.com/showthr...6765#post36765

4x4 Mecca 07-08-2007 04:55 AM

Ok geek, I'll need a little help with this one... for live video, here are 4 different video links
Code:

http://www.livevideo.com/video/landing/848CAC16E63D439E8DB41820C009BC0D/boy-has-six-needles-in-body.aspx?tx_site=filecabi.net&tx_cid=3533&tx_category=1
http://www.livevideo.com/video/dudewheresmycar/5533114A13614A0DAED66CFC0FF8334F/train-crash-test.aspx?tx_category=1
http://www.livevideo.com/video/dudewheresmycar/5533114A13614A0DAED66CFC0FF8334F/train-crash-test.aspx
http://www.livevideo.com/video/F4756E4DEBDA4CD99E1E874AAF104C98/tarot-reading-for-mr-ed.aspx

Here is my embed code
Code:

(http://[\w\d]+\.livevideo\.[\w\.\/%-_?]+/video/)[\w\d0-9]+/([\w\.\/%-_?]+)/([\d\w\0-9\?\=\&amp;]+)
It works fine for the first three, but the last one doesn't have a sub folder in it... can you help me fix the code?

4x4 Mecca 07-08-2007 04:57 AM

I can't access the page, what's the video link you tried?

4x4 Mecca 07-08-2007 04:59 AM

lol! I went to your site, and clicked a video, where it took me to another site... SO i've been working on that site... Grrr... Ok, to clean up my mess.

efil 07-08-2007 05:13 AM

Hi,
Thank you!
The mod is working great.

can someone make Add on for this site?
http://www.esnips.com

Thanks,

Silvio 07-08-2007 09:40 AM

hi and ty so much for this gorgeous release. working as charm.

Ive 'reverted' all my old videos and 100% working.
just a question.
in the past i was using christQ media tag that was formed by [media]full url to youtube or similar[/media]
now i need simply to rename/parse [media] in [ame] (or [url]) then re-build posts.
how can I mass revert [media] in [ame] (or [url]) from all old posts?
how can i remove the title from the media (the one on the top with embedded the url)
edited : p.s. during Rebuild status the pages are always 'about 77 page(s) left' and that value never change till the end.

swissbob 07-08-2007 11:10 AM

I get the following error message:
Quote:

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /usr/www/users/************/class_bbcode.php(181) : eval()'d code on line 7
Any ideas?

4x4 Mecca 07-08-2007 04:50 PM

metacafe was included in the original release I think.

DieselMinded 07-08-2007 04:54 PM

Yeah I seen that Hey you still working on the Filecabi :)

SBlueman 07-08-2007 04:55 PM

Love this mod!

Is there a way to get videos from Break.com and DailyMotion.com to work?


All times are GMT. The time now is 11:51 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.01879 seconds
  • Memory Usage 1,821KB
  • 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
  • (4)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
  • (40)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