Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
DJ's AMEs :: Media Definitions for AME 2.5 :: More Video, Twitter, Pinterest... Details »»
DJ's AMEs :: Media Definitions for AME 2.5 :: More Video, Twitter, Pinterest...
Version: 3.0.0, by Digital Jedi Digital Jedi is offline
Developer Last Online: Sep 2023 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.8.x Rating:
Released: 11-09-2008 Last Update: 10-23-2013 Installs: 1406
Supported
 

NEARLY 300 SUPPORTED SITES FOR VIDEOS, AUDIO, GAMES AND MORE!


This is the most current repository of definitions for DJ's AME :: The Ultimate Automatic Media Embedder. These media definitions will expand your AME to support embedding from hundreds of websites. More videos. More than videos. These definitions will let you embed content from sites that include games, widgets, music players and so much more.

This repository was seeded by contributions from the vBulletin community over several years, but are curated here for easy access. Special thanks to Hotwheels and Danyloski for starting the tradition.


[hr]#CCCCCC[/hr]
NEWS
DJ's AME 2.5.7 is out! What are you waitin' fer?!


[hr]#CCCCCC[/hr]
IMPORT
DEFINITIONS ARE NOT INSTALLED They're imported through your AME CP. Which means you have to have AME installed first. You DO NOT import definitions through your Product Manager. I mean, you can try. But I'll make fun of you.

The READ ME file explains in more detail. Please don't skip it. I named it in big letters and everything.


[hr]#CCCCCC[/hr]
VERSION INFO
These definitions are for AME 2.5.

A BETA set of definitions for AME 3 can be found here.


[hr]#CCCCCC[/hr]
LIVE DEMO
This is my development area with a lot of test thread. As such, it's not a comprehensive list of all working definitions. You can find that below...


[hr]#CCCCCC[/hr]
MEDIA DEFINITIONS LIST
The full list of definitions is available in the second post of this thread. Requests for new definitions should be made here (no registration required), rather than in this thread. It makes it easier for me to keep track and to prioritize. Please do not use this area to contact me.
Code:
The password is: LetMeIn#33


[hr]#CCCCCC[/hr]
SUPPORT
I can't stress this enough. I NEED LINKS in order to troubleshoot problems. Links to the video. Links to the thread. I can't do anything without knowing what videos are causing the problem. If all you do is post that a particular site is not working and provide me with nothing to look at, well, how can I fix it? Following this simple guideline will save us both a lot of time and effort. (And check the FAQ on the first page. I worked really hard on that one. :erm: )

Please note that I do new definition requests in the order they were received and as timely as I can.

Download Now

File Type: zip DJs-AMEs-media-definitions.zip (220.8 KB, 664 views)

Screenshots

File Type: jpg Slide.com.jpg (98.7 KB, 0 views)
File Type: png World Star Hip-Hop.png (105.7 KB, 0 views)
File Type: png Twitter.png (255.6 KB, 0 views)
File Type: png Amazon Thumb.png (67.8 KB, 0 views)
File Type: png screen-pinterest-boards.png (435.9 KB, 0 views)
File Type: png screen-pinterest-pins.png (166.4 KB, 0 views)
File Type: png screen-storify.png (154.7 KB, 0 views)
File Type: png screen-gamesopoly.png (100.5 KB, 0 views)
File Type: png screen-google-maps.png (174.1 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
5 благодарности(ей) от:
lottidah, muhakeme, vithorius, xorex

Comments
  #2052  
Old 11-23-2013, 03:48 AM
lowlight's Avatar
lowlight lowlight is offline
 
Join Date: Mar 2002
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks! Also Vine would be great too

https://vine.co/v/bjHh0zHdgZT/embed
Reply With Quote
  #2053  
Old 11-27-2013, 08:10 PM
Tourmeister Tourmeister is offline
 
Join Date: Nov 2005
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, my search fu may be weak, but I have not been able to find in this thread any info about how to modify the replacement code for amazon links so that they include an affiliate ID. I have the mod installed and it seems to be working fine, taking the link showing in the address bar of any amazon product page and adding the little amazon icon with a link and the product description with a link.

For instance, here is a page I would like to link to,

Code:
http://www.amazon.com/RAM-Universal-X-Grip-Holder-1-Inch/dp/B0055PH0XA/ref=pd_bxgy_e_img_y

Here is the regular expression given in the definition,

Code:
http://[a-z\.]*?amazon\.([a-z\.]*)/([\d\w_\-]*)/?([product|dp|asin]+/[\d\w]+)(?:.*)
and here is the replacement expression,

Code:
<a href="http://www.amazon.$p1/$p2/$p3/" target="_blank" title="$ameinfo[title]"><img src="images/misc/amazon_icon.gif" border="0" alt="$ameinfo[title]" /></a> <a href="http://www.amazon.$p1/$p2/$p3/" target="_blank" title="$ameinfo[title]">$ameinfo[title]</a>

The associate id has this format "&tag=XXXXX-20" in links that work with Amazon. I can't figure out how to modify that replacement expression to include the id... I am sure it is something simple, but I don't know how all this RegEx stuff works. I would very much appreciate any help!
Reply With Quote
  #2054  
Old 11-27-2013, 08:46 PM
Tourmeister Tourmeister is offline
 
Join Date: Nov 2005
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think I got it.

The id has to be "?tag=XXXXX-20" and that gets stuck right after the $p3/ and still inside the quote for both places where the link shows. I tested it and then took the changed link to the Amazon site to verify that it works with their link checker.
Reply With Quote
  #2055  
Old 11-27-2013, 08:48 PM
Tourmeister Tourmeister is offline
 
Join Date: Nov 2005
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Last question...

If I understand this correctly, the AME makes the change to the link right when the post is created. It does not occur on the fly every time a post with a link is viewed. If that is correct, is there a way to make this retroactive, meaning that it will change amazon links for old posts/threads on my forum?
Reply With Quote
  #2056  
Old 11-28-2013, 11:44 PM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tourmeister View Post
I think I got it.

The id has to be "?tag=XXXXX-20" and that gets stuck right after the $p3/ and still inside the quote for both places where the link shows. I tested it and then took the changed link to the Amazon site to verify that it works with their link checker.
Yes, you got it. You just append your ID string to the URLs in the Replacement HTML as you would a regular link.

Quote:
Originally Posted by Tourmeister View Post
Last question...

If I understand this correctly, the AME makes the change to the link right when the post is created. It does not occur on the fly every time a post with a link is viewed. If that is correct, is there a way to make this retroactive, meaning that it will change amazon links for old posts/threads on my forum?
Not in the case of regular links. With videos, you can rebuild old BBCode that was specially set aside for that purpose. For instance [YOUTUBE] BBCode can be rebuilt to use [AME] BBCode instead. But it's likely you didn't have a specialized BBCode tag set aside for Amazon links. You likely just posted links as normal. And you certainly wouldn't want AME replacing all your [URL] tags.

Any older links you wanted to reflect the new edits to your definition would require them being edited and resaved.
Reply With Quote
  #2057  
Old 11-29-2013, 06:41 PM
Tourmeister Tourmeister is offline
 
Join Date: Nov 2005
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Digital Jedi View Post
Yes, you got it. You just append your ID string to the URLs in the Replacement HTML as you would a regular link.


Not in the case of regular links. With videos, you can rebuild old BBCode that was specially set aside for that purpose. For instance [YOUTUBE] BBCode can be rebuilt to use [AME] BBCode instead. But it's likely you didn't have a specialized BBCode tag set aside for Amazon links. You likely just posted links as normal. And you certainly wouldn't want AME replacing all your [URL] tags.

Any older links you wanted to reflect the new edits to your definition would require them being edited and resaved.
Well, I dug up some old threads that I knew had posts with Amazon links in them. The links now have my ID appended to them. I have no clue how this works, but it appears that even old links are being changed. I even copied a few of them and used the "link checker" that Amazon provides to make sure they were valid links.
Reply With Quote
  #2058  
Old 12-01-2013, 06:15 AM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tourmeister View Post
Well, I dug up some old threads that I knew had posts with Amazon links in them. The links now have my ID appended to them. I have no clue how this works, but it appears that even old links are being changed. I even copied a few of them and used the "link checker" that Amazon provides to make sure they were valid links.
I've run into this before, too. It seems like it doesn't consistently do that. But my testing has not been done extensively with the AME cache off, so that may be where my random experiences come from. I'm glad it appears to be working, though.
Reply With Quote
  #2059  
Old 12-17-2013, 08:10 PM
Nook_Neformat Nook_Neformat is offline
 
Join Date: May 2006
Location: Kiev, Ukraine
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Digital Jedi, you are awesome, thank you for your job.

Are there any way to update rutube?

rutube

http://rutube.ru/video/daf5fb1a77100...cf86562cde689/

<iframe width="720" height="405" src="//rutube.ru/video/embed/6713345" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowfullscreen></iframe>

Also, is Divshare lost forever? Does Justin.tv needs an update? And i would like to see Twitch too.
Reply With Quote
  #2060  
Old 12-17-2013, 09:24 PM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'll look into all of those on the next update. It'll be a little delayed, but I'll get to them. I may be able to safley open back up the request forum. So stay tuned.

I don't, off the top of my head, remember why I removed Divshare. Normally that happens when the site's embed code become too broad for AME to handle. But I'll look at them again and let you know.
Reply With Quote
  #2061  
Old 12-18-2013, 06:07 PM
Tourmeister Tourmeister is offline
 
Join Date: Nov 2005
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Howdy,

Having problems with Amazon links again... Not sure why.

Original link posted on forum,
Code:
http://www.amazon.com/dp/B009I2BRUS/
Or this one,
Code:
http://www.amazon.com/dp/B009I2BRUS/ref=wl_it_dp_o_pC_nS_ttl?_encoding=UTF8&colid=1EEVRNXUZ4YUI&coliid=IKWF6MS36PJLJ
SHOULD get changed to

Code:
http://www.amazon.com/dp/B009I2BRUS/?tag=twtwhetex-20
But it is messing up. The "/dp/" part of the original link is getting an extra / stuck in it so that it becomes "/d/p/", and that screws up the link. I have NO CLUE how the replacement stuff works :giveup:

Here is the regular expression
Code:
http://[a-z\.]*?amazon\.([a-z\.]*)/([\d\w_\-]*)/?([product|dp|asin]+/[\d\w]+)(?:.*)
and here is the replacement code
Code:
<a href="http://www.amazon.$p1/$p2/$p3/?tag=twowhetex-20" target="_blank" title="$ameinfo[title]"><img src="images/misc/amazon_icon.gif" border="0" alt="$ameinfo[title]" /></a> <a href="http://www.amazon.$p1/$p2/$p3/?tag=twowhetex-20" target="_blank" title="$ameinfo[title]">$ameinfo[title]</a>
Any chance you know what is inserting that extra "/"?

Thanks.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:57 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06156 seconds
  • Memory Usage 2,378KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (9)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (4)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete