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)

SpeedyHire 04-03-2011 08:19 AM

nice one, thanks

ProFifaLeagues 04-03-2011 09:52 AM

Will this work below 4.1.2????

Disasterpiece 04-03-2011 05:18 PM

Quote:

Originally Posted by rammieone (Post 2180354)
Will this work below 4.1.2????

It should work, yes. Only one way to find out :P
I started and developed the plugin on vB 4.1.2 so I can't guarantee it works with older versions.

zelnik 04-03-2011 05:41 PM

brilliant thanks

grc 04-03-2011 05:43 PM

Quote:

Originally Posted by Disasterpiece (Post 2180193)
@grc: sure it can. It basically checks for an occurence in the html-string, grabs a part of it (in this case the video-id) and replaces it with another string.
If you can give me specific information on how that picasa thing is formed, I can write you a plugin for that purpose.

Cool - here's a link to a slide show:

PHP Code:

<embed type="application/x-shockwave-flash" src="https://picasaweb.google.com/s/c/bin/slideshow.swf" width="400" height="267" flashvars="host=picasaweb.google.com&hl=en_US&feat=flashalbum&RGB=0x000000&feed=https%3A%2F%2Fpicasaweb.google.com%2Fdata%2Ffeed%2Fapi%2Fuser%2Fnazarenealvin%2Falbumid%2F5440810094021987121%3Falt%3Drss%26kind%3Dphoto%26hl%3Den_US" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed

username: nazarenealvin
albumname: 2010NewCross

Is it do-able?

Disasterpiece 04-03-2011 06:30 PM

Quote:

Originally Posted by grc (Post 2180484)
Cool - here's a link to a slide show:

PHP Code:

https://picasaweb.google.com/nazarenealvin/2010NewCross?feat=directlink 

username: nazarenealvin
albumname: 2010NewCross

Is it do-able?

I don't see any kind of embed-code. How does it work?

grc 04-03-2011 06:54 PM

Quote:

Originally Posted by Disasterpiece (Post 2180504)
I don't see any kind of embed-code. How does it work?

Sorry, grabbed the wrong code - I just edited the post to include the embed code. If it's too much, no worries - thanks for thinking about it.

BadgerDog 04-03-2011 08:21 PM

Great idea .... :up:

Just installed and for testing on 4.04pl1 ....

Seems to be working just fine .... :)

Really valuable addition to our site and saves me a lot of time checking posts and converting the manual links to BBCode [video] links .... :)

Slick the way it does the conversion during the "submit" part of the post creation or editing ...

Thanks for this ...

Regards,
Doug

ProFifaLeagues 04-03-2011 08:33 PM

Quote:

Originally Posted by Disasterpiece (Post 2180475)
It should work, yes. Only one way to find out :P
I started and developed the plugin on vB 4.1.2 so I can't guarantee it works with older versions.


Installed and working fine on 4.0.6
Thanks mate saves a lot of work for us

Disasterpiece 04-05-2011 01:16 AM

Just updated with newer version.

I missed the conversion in post preview and the reviewbits, so here they are.

Same procedure, now there are 3 plugins. You can enable/disable the plugins by itself if you want to disable a specific feature.


All times are GMT. The time now is 04:34 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.01268 seconds
  • Memory Usage 1,740KB
  • 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
  • (2)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)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