Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
AME 2.5 - Media Embedding for posts, sigs, vm's, groups and blogs Details »
AME 2.5 - Media Embedding for posts, sigs, vm's, groups and blogs
Mod Version: 2.5.6, by The Geek (Coder) The Geek is offline
Developer Last Online: Jan 2019 I like it Show Printable Version Email this Page

vB Version: 3.8.0 Rating: (192 votes - 4.75 average) Installs: 1968
Released: 20 Jan 2009 Last Update: 09 Dec 2009 Downloads: 12879
Not Supported DB Changes Uses Plugins Template Edits Additional Files  

From the makers of the letters O and Yea comes the hottest 'must have mod' of the season: AME 2.5 - The Return of The Hot Mama.

Thanks everyone for making AME 2.5 Mod of the Month

AME is the multi award winning modification that smartly scans new and edited posts for URLs from a customisable variety of web sites (i.e. YouTube or Amazon or about 200 others). If it finds a match, AME will 'transform' the URL into inline embedded media without your users ever having to even think about it.

It was important for me to create a system that did not need updating (and subsequent reinstalling) every time one of the sites it supported decided to change the way it displayed its media (which is all the fricken time). Therefore I built a system in which the 'definitions' for each site could be imported, exported, tweaked and shared on a whim. This way, you only have to import the definitions that you want. It also allows the vB community to get creative and share definitions that I wouldn't of thought of!

Which sites are supported?

Included in the default installation is YouTube and Amazon. At time of posting this, I believe that there are over 180 sites supported that have been created by the vBulletin community. These range from sites that stream videos to Amazon referral links to locally hosted music and video files.

Check out the 'add ons' section of this post below to see availible add-ons.

For a total list of features and an FAQ, see click here.
For a post on troubleshooting, click here.

Though not tested on any version of vBulletin lower than 3.7.4, in theory it should work on versions 3.5 and higher (just dont quote this bit!).

Big thanks goes out to all those in the community that have supported this mod. Especially Digital Jedi who gives great support on this mod and has created over 160 definitions for this system alone!


Installation/Upgrade
  • Upload the contents of the forums folder into your forums directory and import the product-ame.xml file into your product manager (if upgrading, choose 'yes' to overwrite previous installation).
  • After installation, make sure that the system is on (admincp->AME CP->Settings)
  • Then you may want to try to rebuild old URLs via the tools option.

Change Log
nJoy

Download Now

Only licensed members can download files, Click Here for more information.

Addons

Supporters / CoAuthors

Screenshots

Click image for larger version

Name:	newpost.jpg
Views:	6629
Size:	26.4 KB
ID:	93148   Click image for larger version

Name:	newpost_result.jpg
Views:	9491
Size:	61.9 KB
ID:	93149  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Add-On Releases DJ's AMEs :: Media Definitions for AME 2.5 :: More Video, Twitter, Pinterest... Digital Jedi vBulletin 3.8 Add-ons 2086 05 Sep 2018 15:05
Add-On Releases Digital Sith's AMEs - ADULT Media Definitions Digital Sith vBulletin 3.6 Add-ons 66 08 Sep 2015 22:44
Show Thread Enhancements AME 2.0 -Auto Media Embedding for posts, blogs, visitor and group messsages The Geek vBulletin 3.7 Add-ons 954 25 May 2014 09:58
Add-On Releases DJ's AME (Auto Media Embedding) XML Media Definitions (Third Time's the Charm) Digital Jedi Modification Graveyard 828 10 Mar 2010 05:45

  #121  
Old 22 Jan 2009, 22:27
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
Originally Posted by tintructo View Post
any news on the ksort problem with the XML with all the sites ?
Haven't been able to duplicate. It shouldn't prevent imports though.

Originally Posted by lowlight View Post
Wow, many tables are messed up. Our database is huge, this is going to take hours.

What does the plugin attempt to do when you install it? Whatever it was, it was pretty serious.
AME adds a flag field to the posts, blog and groups tables. This allows people to disable embedding as well as to greatly speed up processing. If your posts table is massive, it will take a while to do, but it isn't an abnormal practise. Sounds like your tables may have already been in a state, especially if you have to repair additional tables. Its a good idea to backup your db before installing a mod that makes changes to the DB structure. Hope your repair goes smoothly

Originally Posted by TCB View Post
Thanks for this fantastic mod. How's gars and gal going currently?
Thanks Gars and GAL (and other thevbgeek.com scripts) are owned and supported by another author now (a very fine one might I add). I only upgraded this because it needed to be and it was a quick job

HTHs!
Reply With Quote
  #122  
Old 22 Jan 2009, 22:31
tintructo's Avatar
tintructo tintructo is offline
 
Join Date: Apr 2007
Real name: Agustin Saldias
the code in automediaembed_admin.php in line 2515 is :


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

BUT, it should be


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

the ksort not functioning makes the display of the sites unordered. with this fix it should work fine =)

cheers
Reply With Quote
  #123  
Old 22 Jan 2009, 22:36
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
Thanks for that. Ill update for next release
Reply With Quote
  #124  
Old 23 Jan 2009, 02:17
Manic Mechanic Manic Mechanic is offline
 
Join Date: Oct 2008
Originally Posted by Digital Jedi View Post
Thanks Geek! Will test it out right now and start working on the next set of defs if all is well.


You like having to give your users special instructions on how to use BBCode and then make them extract a set of numbers from the URL everytime, rather then just have them post the URL to the video and not even have to let them think about it? Okay. Just keep in mind, there's more then 20 to 30 sites that BBCode wouldn't even work with, because their videos have no video ID and AME converts them without having to even tell your users that it's going to embed.



Post the link to the Imeem URL that's not converting, but post it in the thread you downloaded my definitions from if you haven't already. I haven't checked those threads as of this post.



If you're using mine, then I haven't implemented that yet. Mainly because I didn't know how to use it. Now that I see the The Geek has one in his default install, I can reverse engineer what he did and I'll have it ready for the next 2.5 Defs update.



Make sure your using my set of definitions for 2.5 (Delta) and not the set for 2.0 (Third Time's the Charm).
Thank you I was still using 2.0 definitions.
Reply With Quote
  #125  
Old 23 Jan 2009, 03:54
tintructo's Avatar
tintructo tintructo is offline
 
Join Date: Apr 2007
Real name: Agustin Saldias
Originally Posted by The Geek View Post
Thanks for that. Ill update for next release
i just found out the ksort isn't working, because it can't re-order with values that actually are arrays..

you should use usort and make the custom comparing function to check the titles so it's ordered by name
Reply With Quote
  #126  
Old 23 Jan 2009, 08:31
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Real name: Mark Daniel Martinez
Originally Posted by tintructo View Post
i just found out the ksort isn't working, because it can't re-order with values that actually are arrays..

you should use usort and make the custom comparing function to check the titles so it's ordered by name
Are you saying that definitions aren't sorting by name for you? Because I've never had an problems as long as they were all set to the same number. Or are you refering to the sort order inside the XML file?
__________________
Reply With Quote
  #127  
Old 23 Jan 2009, 10:28
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Real name: Mark Daniel Martinez
Okay, you got me: I don't I understand how the Validation tool works. What is the RegEx checking for to determine if a video can be embedded or not?

Also, running this on my demo board, the default YouTube definition doesn't convert anything. It just turns videos into the little Film icon and nothing more.
__________________
Reply With Quote
  #128  
Old 23 Jan 2009, 11:46
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
Updated package to 2.5.3

This is a minor update which solves the ksort error some have reported while importing and a bug where non validated media wasnt showing the link.

Upgrade as normal
Reply With Quote
  #129  
Old 23 Jan 2009, 11:57
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
Originally Posted by Digital Jedi View Post
Okay, you got me: I don't I understand how the Validation tool works. What is the RegEx checking for to determine if a video can be embedded or not?

Also, running this on my demo board, the default YouTube definition doesn't convert anything. It just turns videos into the little Film icon and nothing more.
The validation works like this:

If the validation field has a value and extraction is on, then AME will scan the contents of the destination page for the existence of the validation field. If it finds the value, it is validated, otherwise not.

For instance, the following regexp is actually part of the HTML input box that contains youtubes Embed code IF the video can be embeded. If not, this regexp won't validate because the input box actually says 'Embedding disabled by request' instead of the HTML needed to embed:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

There was a bug prior to 2.5.3 that prevented the title appearing in a non validated result (just the icon showed).

HTHs
Reply With Quote
  #130  
Old 23 Jan 2009, 12:50
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Real name: Mark Daniel Martinez
Originally Posted by The Geek View Post
The validation works like this:

If the validation field has a value and extraction is on, then AME will scan the contents of the destination page for the existence of the validation field. If it finds the value, it is validated, otherwise not.

For instance, the following regexp is actually part of the HTML input box that contains youtubes Embed code IF the video can be embeded. If not, this regexp won't validate because the input box actually says 'Embedding disabled by request' instead of the HTML needed to embed:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

There was a bug prior to 2.5.3 that prevented the title appearing in a non validated result (just the icon showed).

HTHs
Ah, I see. My logic was completely inverted. I'll see if I can update my other YouTube defs after breakfast.
__________________
Reply With Quote
  #131  
Old 23 Jan 2009, 13:38
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Real name: Mark Daniel Martinez
Okay, the first major thing I'm running into is, the non-embeddable videos are indeed converting to links, but the link doesn't go a valid URL. It seems to be using the title instead of the URL.

Example
URL: http://www.youtube.com/watch?v=XZcG0...eature=related
Converts: YouTube - Boyz II Men - End Of The Road

URL: http://www.youtube.com/watch?v=jsd0pKGr2Os
Converts: YouTube - The Jets - The Same Love


Also, the source code in the default YouTube definition is no longer used by YouTube, so not all videos will load in that case.
__________________
Reply With Quote
  #132  
Old 23 Jan 2009, 14:03
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
Hmmm. I made a couple tweaks to includes/ame_bbcode.php and repackaged. Replace that file and all should be tickity boo
Reply With Quote
  #133  
Old 23 Jan 2009, 14:10
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Real name: Mark Daniel Martinez
That did the trick. Want to take odds on which thread will get the most people asking why the video didn't convert and is showing a little icon?

I do have one question, real quick. How does the validation tool know to look in the Embed Code box for a pattern? I'm curious how this will work for a site that keeps the embed code stored differently, or that put their embed code inside the flash player.
__________________
Reply With Quote
  #134  
Old 23 Jan 2009, 14:21
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
All it is doing is looking for a match to that pattern in the destinations source code. I suppose if the embed code is being shown in a flash player, you would still be able to view it from the page source as a parameter for the object (unless of course the flash player is fetching it at run time). In that case, I don't really have a suggestion
Reply With Quote
  #135  
Old 24 Jan 2009, 06:34
Gcox Gcox is offline
 
Join Date: Sep 2007
I am running vBulletin version 3.6.8. I have not been able to get the embedded youtube to work in either version AME 2.0.2 or 2.5.3.

With AME 2.0.2 - it will display the normal youtube controls and video image, but when I click the play button it blanks out the image except for circle in the middle screen which just spins forever. So I decided to upgrade to 2.5.3, and now when I post a youtube link in a message I do not see anything, not even the the link.

I have tried it with the extraction turned on and off.
I am sure it isnít the video because I got it to play using BB code.
I do get other video file types to work using AME such as wmv.
I just don't know what to test anymore and was hoping for some suggestions.
I would go back to 2.0.2 if that would be easier to resolve.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 20:34.

Layout Options | Width: Wide Color: