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)

projectego 07-08-2007 05:43 PM

Sorry if I'm asking a question that has previously been answered, but can anyone confirm or not if this works for GameTrailers videos as well? I've searched through the thread and it looks as thought you have to add the code in yourself and I don't really fancy that.

a1whs.com 07-08-2007 07:13 PM

Geek any words on my issue yet ? I thought this mod was supported ? DO i have to go to some other site to get support or just asking here is sufficient ?

iogames 07-08-2007 08:00 PM

Quote:

Originally Posted by a1whs.com (Post 1286054)
Geek any words on my issue yet ? I thought this mod was supported ? DO i have to go to some other site to get support or just asking here is sufficient ?

Yes, I'm getting desperate too, this one of the best hacks, I tend to think he's busy, but I need to solve or I need his help:
My hack seems to be a mess, I just installed 10 functions and the half doesn't work:
http://chat.iogames.com/news/54-yout...ternships.html

1. YouTube: OK!
2. MySpace: doesn't respect PLAY or PAUSE [Maybe is the Video]
3. Google: OK!
4. Yahoo: Any URL I enter, shows the SAME video
5. Amazon: OK!
6. MetaCafe: Always shows a LINK, no a player...
7. iFilm: OK!
8. LiveLeak: OK!
9. VideoTube: Doesn't exist!!!
10. Bolt: OK!

Ah! and something strange happens, a NEW MEDIA DEFINITION appears in the TOP and it wasn't there the last version...

Can somebody help me???

The Geek 07-08-2007 08:01 PM

Quote:

Originally Posted by a1whs.com (Post 1285536)
It has major bug dude, try posting :

Code:

    $data = get_table_data('link');
Add after that line :
Code:

  if (! preg_match("/^http:\/\//", $data['URL1'])) { $data['URL1'] = "http://" . $data['URL1']; }

  if (! preg_match("/^http:\/\//", $data['URL2'])) { $data['URL2'] = "http://" . $data['URL2']; }

  if (! preg_match("/^http:\/\//", $data['URL3'])) { $data['URL3'] = "http://" . $data['URL3']; }

  if (! preg_match("/^http:\/\//", $data['URL4'])) { $data['URL4'] = "http://" . $data['URL4']; }

  if (! preg_match("/^http:\/\//", $data['URL5'])) { $data['URL5'] = "http://" . $data['URL5']; }

  if (! preg_match("/^http:\/\//", $data['URL6'])) { $data['URL6'] = "http://" . $data['URL6']; }


to any post. Till this error
Parse error: syntax error, unexpected T_BAD_CHARACTER, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/drd/public_html/zone/includes/ame_bbcode.php(177) : regexp code on line 2

Is fixed its an uninstall for me, time to find another youtube mod i suppose.

I cant reproduce this. It works fine. Furthermore, AME wouldnt doesnt do stuff like URL1 and URL2. It looks like some other mod you have installed.

The Geek 07-08-2007 08:08 PM

Quote:

Originally Posted by 4x4 Mecca (Post 1285563)
Ok geek, I'll need a little help with this one... for live video, here are 4 different video links
Code:

http://www.livevideo.com/video/landing/848CAC16E63D439E8DB41820C009BC0D/boy-has-six-needles-in-body.aspx?tx_site=filecabi.net&tx_cid=3533&tx_category=1
http://www.livevideo.com/video/dudewheresmycar/5533114A13614A0DAED66CFC0FF8334F/train-crash-test.aspx?tx_category=1
http://www.livevideo.com/video/dudewheresmycar/5533114A13614A0DAED66CFC0FF8334F/train-crash-test.aspx
http://www.livevideo.com/video/F4756E4DEBDA4CD99E1E874AAF104C98/tarot-reading-for-mr-ed.aspx

Here is my embed code
Code:

(http://[\w\d]+\.livevideo\.[\w\.\/%-_?]+/video/)[\w\d0-9]+/([\w\.\/%-_?]+)/([\d\w\0-9\?\=\&]+)
It works fine for the first three, but the last one doesn't have a sub folder in it... can you help me fix the code?

This one is tough because the key that you are looking for can be in multiple places. Ill have to comb through it when I have some time to figure it out - cant promise anything though :(

The Geek 07-08-2007 08:09 PM

Quote:

Originally Posted by Silvio (Post 1285690)
hi and ty so much for this gorgeous release. working as charm.

Ive 'reverted' all my old videos and 100% working.
just a question.
in the past i was using christQ media tag that was formed by [media]full url to youtube or similar[/media]
now i need simply to rename/parse [media] in [ame] (or [url]) then re-build posts.
how can I mass revert [media] in [ame] (or [url]) from all old posts?
how can i remove the title from the media (the one on the top with embedded the url)
edited : p.s. during Rebuild status the pages are always 'about 77 page(s) left' and that value never change till the end.

Is it in test mode?

The Geek 07-08-2007 08:11 PM

Quote:

Originally Posted by swissbob (Post 1285734)
I get the following error message:

Any ideas?

hmmm, Can you edit the create_bbcode hook for AME and change the

return ame_process_bbcode(&$parser, $text, $option);

to

return ame_process_bbcode($parser, $text, $option);

And let me know if that helps

The Geek 07-08-2007 08:14 PM

Quote:

Originally Posted by iogames (Post 1286091)
Yes, I'm getting desperate too, this one of the best hacks, I tend to think he's busy, but I need to solve or I need his help:
My hack seems to be a mess, I just installed 10 functions and the half doesn't work:
http://chat.iogames.com/news/54-yout...ternships.html

1. YouTube: OK!
2. MySpace: doesn't respect PLAY or PAUSE [Maybe is the Video]
3. Google: OK!
4. Yahoo: Any URL I enter, shows the SAME video
5. Amazon: OK!
6. MetaCafe: Always shows a LINK, no a player...
7. iFilm: OK!
8. LiveLeak: OK!
9. VideoTube: Doesn't exist!!!
10. Bolt: OK!

Ah! and something strange happens, a NEW MEDIA DEFINITION appears in the TOP and it wasn't there the last version...

Can somebody help me???

IO - the ones you seem to be having problems with are add-ons that other users have done. Ill look into them when I have some time - but I can't comb through everyones :)

The only one Im wondering about is the metacafe as that is default. Can you post some examples of the URLs that are not parsing?

The blank item looks like an import or item that was created/edited with no name. Either edit it and put a name in or delete it.

HTHs

The Geek 07-08-2007 08:15 PM

Quote:

Originally Posted by a1whs.com (Post 1286054)
Geek any words on my issue yet ? I thought this mod was supported ? DO i have to go to some other site to get support or just asking here is sufficient ?

Dude, you posted your problem earlier today. Its a Sunday, its a free modification and your problem doesnt appear to have anything to do with AME. Patience is appreciated.

4x4 Mecca 07-08-2007 08:18 PM

Quote:

Originally Posted by The Geek (Post 1286099)
This one is tough because the key that you are looking for can be in multiple places. Ill have to comb through it when I have some time to figure it out - cant promise anything though :(

Don't waste your time. I was doing that for someone else by accident, it wasn't even the site they wanted :) lol


All times are GMT. The time now is 09:43 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.02069 seconds
  • Memory Usage 1,756KB
  • 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
  • (4)bbcode_code_printable
  • (8)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