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)

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.


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