vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Mini Mods - Auto Youtube Link-Converter (https://vborg.vbsupport.ru/showthread.php?t=261296)

Princezz 03-21-2012 09:16 PM

Perfect! Works 1000% :D great job , thanks.

Akyeame Kwame 03-30-2012 09:43 PM

Nominated for MOTM. AME's tool couldn't fully convert but this did the job.

Quickness 05-02-2012 01:50 PM

As long as the format is:

Code:

http://www.youtube.com/watch?v=#####&feature=####
It will be fine. However, sometimes links look like this:

HTML Code:

http://www.youtube.com/feature?v=#####&watch=####
And this is when this mod doesn't convert the link.

Disasterpiece 05-02-2012 02:37 PM

Quote:

Originally Posted by Quickness (Post 2325506)
As long as the format is:

Code:

http://www.youtube.com/watch?v=#####&feature=####
It will be fine. However, sometimes links look like this:

HTML Code:

http://www.youtube.com/feature?v=#####&watch=####
And this is when this mod doesn't convert the link.

Never seen this url. Maybe this might work:

Go to Settings > Auto Youtube Link Converter, change the following values:

As new regex code:
Code:

/<a href=\"https?:\/\/((.+\.youtube\.com\/((watch)|(feature))\?v=)|(youtu\.be\/))([a-zA-Z0-9-_]+)(.*)?\"( target=\"_blank\")?>.*<\/a>/
As new regex position: 7

Onkeltyson 05-05-2012 11:41 AM

Very Nice :)

chrisbeau 05-13-2012 06:07 PM

Nice, any possibility of making it convert the links on the vbadvanced page ?

marccap 05-13-2012 06:39 PM

Added and install - Thanks

gremrock 05-23-2012 03:27 PM

Thanks

BAMGADE800 05-24-2012 12:40 AM

Excellent! Very nice!

Jncocontrol 05-24-2012 08:04 AM

not to be rude, But isn't this pretty much what AME does?


All times are GMT. The time now is 08:21 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.01263 seconds
  • Memory Usage 1,735KB
  • 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
  • (3)bbcode_code_printable
  • (2)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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