vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Add-On Releases - DJ's AMEs :: Media Definitions for AME 2.5 :: More Video, Twitter, Pinterest... (https://vborg.vbsupport.ru/showthread.php?t=195884)

testbot 10-08-2009 11:55 AM

i updated the amazon affiliate id and it worked for the product image and description but not the title in the frame. is there away to add the affiliate id to the title link or remove the title so they have to use our affiliate links?

Kirkus 10-10-2009 03:52 AM

I've installed 8 individual definitions, and although they work fine on your site, DJ, there are 4 that aren't working on mine. Only the links are being displayed. I've read the faqs. Because 50% of the defs I've installed aren't working, it sounds like I'm doing something wrong. Do you have any ideas?

Working:
YouTube
YouTube HD/HQ
CNN
MSNBC

Not Working:
CBS Sportsline
ESPN
Fox News
Google Video

Kirkus 10-10-2009 05:56 PM

Quote:

Originally Posted by Kirkus (Post 1897398)
I've installed 8 individual definitions, and although they work fine on your site, DJ, there are 4 that aren't working on mine. Only the links are being displayed. I've read the faqs. Because 50% of the defs I've installed aren't working, it sounds like I'm doing something wrong. Do you have any ideas?

Working:
YouTube
YouTube HD/HQ
CNN
MSNBC

Not Working:
CBS Sportsline
ESPN
Fox News
Google Video

I think this is a wonderful idea. For many vBulletin forums out there, I'm sure it's a great addition. However, for my forum it was simply a "fun" idea. The fact that 6 of 10 (I tried 2 more definitions this morning) video formats don't embed on my forum left me a little worried, so I've uninstalled it.

Good luck with this!

mickknutson 10-10-2009 06:28 PM

I have a Daily motion RSS feed that has this URL:

Code:

http://www.dailymotion.com/search/base%2Bjumping/video/x7kg6s_switzerland_sport?from=rss
But the current AME definition supports:

Code:

http://www.dailymotion.com/video/x7kg6s_switzerland_sport
How can I create or modify this definition to support both types of URL's?

BioTek 10-11-2009 05:32 PM

As much as I can tell I got ImageShack (Videos) working or a higher being took pity on me for wracking my brain.

Regular expression
Code:

http://img([\d]+)\.imageshack\.us/i/([\w\-\;&]+)\.mp4/
Replacement
Code:

<embed src="http://img$p1.imageshack.us/flvplayer.swf?f=$p2" width="$ameinfo[width]" height="$ameinfo[height]" allowFullScreen="true" wmode="transparent" type="application/x-shockwave-flash"/>

Extract destination data "yes"

Embedding Regexp
[code]http://img([\d]+)\.imageshack\.us/flvplayer\.swf\?f=([\w\-\;]+)[&\w;=+_-]*code]

mickknutson 10-12-2009 08:10 PM

I have this URL:

http://www.metacafe.com/watch/bg-121..._18_episode_6/

and this is not getting parsed by:

Code:

[http://]*[a-z]*?[\.]?metacafe\.com/watch/([0-9]+/[a-z0-9_]*)[&a-z0-9;=\+_\-\/]*
This was the default metacafe that came with the install.

Can anyone help?

BioTek 10-12-2009 11:36 PM

Quote:

Originally Posted by mickknutson (Post 1898755)
I have this URL:

http://www.metacafe.com/watch/bg-121..._18_episode_6/

and this is not getting parsed by:

Code:

[http://]*[a-z]*?[\.]?metacafe\.com/watch/([0-9]+/[a-z0-9_]*)[&a-z0-9;=\+_\-\/]*
This was the default metacafe that came with the install.

Can anyone help?

Give this a try.

Regular expression:
Code:

[http://]*[a-z]*?[\.]?metacafe\.com/watch/([a-z0-9_-]*)/([a-z0-9_]*)[&a-z0-9;=\+_\-\/]*
Replacement
Code:

<embed src="http://www.metacafe.com/fplayer/$p1/$p2.swf" width="$ameinfo[width]" height="$ameinfo[height]" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" allowFullScreen="true" allowScriptAccess="always"> </embed>

mickknutson 10-12-2009 11:45 PM

Quote:

Originally Posted by BioTek (Post 1898867)
Give this a try.

Regular expression:
Code:

[http://]*[a-z]*?[\.]?metacafe\.com/watch/([a-z0-9_-]*)/([a-z0-9_]*)[&a-z0-9;=\+_\-\/]*
Replacement
Code:

<embed src="http://www.metacafe.com/fplayer/$p1/$p2.swf" width="$ameinfo[width]" height="$ameinfo[height]" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" allowFullScreen="true" allowScriptAccess="always"> </embed>

Perfect!!!!

http://www.blincmagazine.com/forum/n...isode-6-a.html

I think the RSS feed puts multiple copies, but it still works good enough..

dacho 10-13-2009 08:36 PM

If i want to put the myspace music player, I just need to put the URL like this ? : http://www.myspace.com/matticaspi
it not working like this on my forum

mickknutson 10-14-2009 12:14 PM

Quote:

Originally Posted by mickknutson (Post 1897711)
I have a Daily motion RSS feed that has this URL:

Code:

http://www.dailymotion.com/search/base%2Bjumping/video/x7kg6s_switzerland_sport?from=rss
But the current AME definition supports:

Code:

http://www.dailymotion.com/video/x7kg6s_switzerland_sport
How can I create or modify this definition to support both types of URL's?


I also seem to have this URL:

Code:

http://www.dailymotion.com/video/xasyox_sauts-en-parachute-dans-un-gouffre_sport?from=rss
But this seems to work:
Code:

http://www.dailymotion.com/video/xasyox_sauts-en-parachute-dans-un-gouffre_sport
If I have this replacement code:

Code:

http://[w\.]*dailymotion\.[com|alicet\.]+/[\w/\-%]*video/[\w\-]+
So, can anyone help with the REGEX that would work for the optional query string, as well as options pre-sub-categories as above?


All times are GMT. The time now is 02:36 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.02631 seconds
  • Memory Usage 1,755KB
  • 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
  • (15)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)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