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)
-   -   BB Code Enhancements - AME3 - Auto Media Embeding and Video Extender (https://vborg.vbsupport.ru/showthread.php?t=230707)

leftanalog 06-28-2011 12:27 AM

Quote:

Originally Posted by MonkYZ (Post 2212743)
Yes, i've made my own gametrailers definition. I'm sure it's not perfect, but works ok for my website. You can see an example working in here: http://www.consolegames.ro/forum/f8-...os/index4.html

I'll try to guide you on how to add the definition:
1. Go to Administrator Control Panel
2. Go to AME CP
3. Go to Add New
4. In provider textbox enter "Gametrailers.com"
5. In tag textbox enter "gametrailers" (without quotes)
6. In URL textbox enter
PHP Code:

http://www.gametrailers.com 

7. In Regex URL textbox enter
PHP Code:

http:\/\/www\.gametrailers\.com\/video\/.*\/([0-9]+) 

8. Leave Regex Scrape empty
9. Enter this code in Embed textbox
PHP Code:

<center><div><embed src="http://media.mtvnservices.com/mgid:moses:video:gametrailers.com:{vb:raw code}" width="640" height="385" type="application/x-shockwave-flash" allowFullScreen="true" allowScriptAccess="always" base="." flashVars=""></embed></div></center

10. Choose Save
11. Go to AME CP Tools and Rebuild. You're done!

Hope it helps! Enjoy!

Ive done exactly as you said, and all I get is a link when posting a video's url.
Not sure where the mistake is.

ablaye 06-29-2011 01:23 AM

Quote:

Originally Posted by Vitaly (Post 2056321)
Patched AME. REQUIRE vb 4.0.4. No more vb sources changes needed.

please, DISABLE ame cache (speed will not be affected).

Fixes were already described here

Full sources with changes history here: http://github.com/rcdesign/vb-foreig...aster/vb-ame3/

There is a mistake in your ame_prep.php file. On line 605 of ame_prep.php file, you should remove the " (quote) in the expression.
You will then end up with
Code:

$url_tail = '[\w:\/?\[\]@!$&\'()*+.,;=%\-]*';
If you have the " (quote) in the expression, with:
you end up with:
Code:

[video=google;-6312295472862851569]http://video.google.com/videoplay?docid=-6312295472862851569"[/video]

liefdesdichter 07-01-2011 08:23 PM

is this olsa a mp3 player?

shzad1 07-03-2011 05:45 PM

Not Working for me.....
everything is done but still not working

leftanalog 07-03-2011 09:34 PM

Is this confirmed working for 4.1.4?

Mark.B 07-07-2011 12:08 PM

Seems that youtu.be share links have stopped working again, this happens either using AME or just the default VIDEO tags. The fix vbulletin.com gave to make them work is no longer effective, must be something YouTube have changed.

I have posted about it HERE.

principino1984 07-07-2011 01:20 PM

just installed on vb 4.1.4 and it's not working at all... :(

Marco

leftanalog 07-08-2011 06:40 AM

Stopped working for me on 4.1.4. Is there a fix for this I have missed? Please. Thanks.

AllanZ 07-08-2011 07:03 AM

Not working on 4.1.1, is there a fix or update I could try?

MdrNate 07-11-2011 02:08 AM

Not working on 4.1.3 Release 1, Any thoughts?


All times are GMT. The time now is 03:12 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.02291 seconds
  • Memory Usage 1,745KB
  • 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
  • (3)bbcode_php_printable
  • (2)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