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)

Jammydodger 07-04-2007 06:03 PM

Sorry, im a bit of a noob and dont understand this stuff, is there anyway you could post the XML for me?

thanks again.

JD

The Geek 07-04-2007 06:05 PM

post a link for me that you are using as an example, but dont use the quick editor and turn off the 'autmoatically parse urls in this [pst' option so I can read the whole url

Jammydodger 07-04-2007 06:15 PM

http://www.gametrailers.com/player/19236.html

That ok?

The Geek 07-04-2007 07:31 PM

then try:

PHP Code:

http://www\.gametrailers\.com/player/([\d]+)\.html? 


pspcrazy 07-04-2007 07:38 PM

Is there a way that this will work with inhouse video files like say something like this:

http://www.gamingcrazy.net/files/videos/forexample.mov ?

or wmv, avi, etc.

If it could make that work that would be awesome.....

Jammydodger 07-04-2007 07:59 PM

Thanks alot Geek, thats perfect.

Its people like you that make this community great.

Cheers

JD

FleaBag 07-04-2007 08:47 PM

All my old posts converted, and all working well. I'm about to try my hand at installing some extra video types, then maybe I'll try my hand at making one. :)

wcbryant 07-04-2007 09:22 PM

I've had a couple users who connect through the military tell me that Youtube has been blocked, and any thread that includes one of their videos inline won't load.

Would it be possible (and might someone confirm how -- in regards to the conditional code, not creating a usergroup) to create a secondary opt-in usergroup, and then insert conditionals before and after the Open and Close HTML settings in this mod so that anyone with this group will just see the link, and not the video?

Basically, I want everyone but those who opt out to see the inline video, and those who join that secondary group to just see the original link.

Finally, outstanding hack, Geek. Already a fan and owner of GARS and GAL, and it's great to see that sort of quality and attention to detail applied to this area as well.

The Geek 07-04-2007 10:22 PM

Quote:

Originally Posted by pspcrazy (Post 1282865)
Is there a way that this will work with inhouse video files like say something like this:

http://www.gamingcrazy.net/files/videos/forexample.mov ?

or wmv, avi, etc.

If it could make that work that would be awesome.....

Sorry, but no :(

The Geek 07-04-2007 10:24 PM

This wont really work because posts in vBulletin are usually cached. Therefore the bbcode parser doesnt always get called, not do the templates get parsed every time. In order to achieve this, you would need something to strip out the HTML generated by the embed code.


All times are GMT. The time now is 10:47 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.01660 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