Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
AME 2.0 -Auto Media Embedding for posts, blogs, visitor and group messsages Details »
AME 2.0 -Auto Media Embedding for posts, blogs, visitor and group messsages
Mod Version: 2.0.2, by The Geek (Coder) The Geek is offline
Developer Last Online: Jan 2019 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.7.x Rating: (89 votes - 4.75 average) Installs: 936
Released: 27 Aug 2008 Last Update: 21 Sep 2008 Downloads: 5777
Not Supported DB Changes Uses Plugins Additional Files  

From the creators of French and Toast comes a sweet and sticky enchanement to the New York Times best-seller: AME - Auto Media Embedding

AME 2.0 - The Embedder Strikes Back!

AME has won Mod of the Month for Spetember 08. Thanks!

Note that 2.5 Gold has been released. Click Here.

Discussions for AME 2.5 RC 1 start here

AME 2.0 is the next version of the "Mod of the Month" winning media embedder that:
  • Allows user to simply 'paste' in a URL (i.e. a youtube link) without needing to know any special tags. However instead of displaying just the URL, it will show the media within the post
  • is lightweight as it does all of her chores without the overhead of having 1 bbcode per pattern or trying to parse a post every single time it gets displayed with a bunch of patterns. AME radically reduces overhead and speeds up processing. The only time ame will kick in is after creating a new post or after editing an existing one (or if an ame tag is found)
  • is extensible. She allows you to add, edit, delete, import and export patterns. That way you can decide which services to support, how they should look and then share them with others! At time of typing this, there are over 150 media sites that have been contributed by vBulletin.org members
  • can extract the title (requires your server to allow url wrappers with fetch_contents)
  • can extract embed code from sites whose URLs do not contain sufficient information to embed the video
  • can rebuild your old posts to convert your 'other' mediaish tags into URL tags.
  • can rebuild your old posts, blogs, comments, visitor and social group messages to convert URL tags into ame tags where needed
  • can convert her codes BACK to url codes so you're not stuffed with a bunch of dead tags if you uninstall!
  • won't uglify your site by having videos appear in quotes, php, code or html blocks (blech!)
  • can be globally disabled
  • can be excluded from forums
  • can exclude usergroups
  • can be toggled on/off per post, blog, comment, visitor and social group message
  • would cook dinner for you if she had arms
  • can wrap the output in a 'container' with original URL
  • has a super comprehensive admincp help system. Yes, I actually took the bloody time to add all the info you need into vB's admincp help system. If you ask a silly question in this thread that is addressed in the help system, you will be taunted.
  • is fully phrased
  • has hooks around integral operations so you can extend it
  • Supports embedding in vbBlog, Visitor Messages and Social Groups.
  • Can be disabled in one or more of the following sections: Posts, vbBlog, Visitor Messages and/or Social Groups
Apart from the additional areas of support around vbBlog, Visitor Messages and Social Groups, little has changed about AME since version 1.0 released over a year ago. I cleaned up a few minor bugs, trimmed and updated the default definitions.

Which sites are supported?

At time of counting this, there are about 170 sites supported. But I have only included a few common standards as default (yahoo, youtube, myspace, google and Amazon). Why only these? AME was designed with its own import and export system that enables users to create or modify definitions and share them with the community. This keeps the system lightweight, customisable and saves us all from having to upgrade every time a media site changes their URL structure or if I add another site.

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



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.
Big thanks goes out to all those in the community that have supported this mod. Especially Digital Jedi Who has created about 155 definitions for this system alone!

Change Log


2.0.2 - fixed added slashes in quote blocks (DoH!), vm advanced error and incrimented product version. You need to replace include/ame_bb_code.php and re-import the product-ame.xml to upgrade
2.0.1 - fixed missing backslashes in code blocks

2.5 Pre-Release information

Attached to this post is pre-release of version 2.5

2.5 is a pretty major upgrade from the 2.0 series and adds the following functionality to 2.0:
  • New in Beta 3 - Validation ability. This will help prevent media being embedded that can not be embedded (i.e. youtube videos that the author has stipulated can not be shown off of youtube). This option requires the extraction option to be turned on and a valid validation regexp. I have included one in the default youtube version. When a video on you tube gets embedded, but the author doesnt allow embedding, a link (with icon) is shown instead.
  • Ability to prevent non authorised usergroups from viewing (see Readme file in zip for more info)
  • Usergroup permissions (edit usergroup to adjust edit/view permissions)
  • Template driven system - uses templates now instead of 1 master replacement (see Readme file in zip for more info)
  • Signatures supported
  • Different sizes and template configurations for each supported zone (posts, blogs, groups, visitor messages and signatures)
  • A couple new hooks (Mainly to support a future add on for AME media in profiles)
  • Notfication system (similar to vB's to check for errors)
  • Definition keys for easier updating of definitions and to use in templates
  • File caching system which radically reduces processing
  • And more that I cant think of off the top of my head!
Note that while previous definitions will work with the new system, they will not be sizeable by zone. Since DJ helped with the private beta testing, I am sure he will be releasing 2.5 versions of his definitions soon.

Please note that 2.5 is a pre-release so there will be issues. If you want more stability, use 2.x until this version becomes gold FWIW: The only items currently outstanding are to add some missing admincp help. The rest is working as intended as far as I can tell

nJoy

Download Now

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

Addons

Screenshots

Click image for larger version

Name:	editor.jpg
Views:	3770
Size:	158.9 KB
ID:	86110   Click image for larger version

Name:	post.jpg
Views:	4064
Size:	111.0 KB
ID:	86111  

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 16:05
Add-On Releases Digital Sith's AMEs - ADULT Media Definitions Digital Sith vBulletin 3.6 Add-ons 66 08 Sep 2015 23:44
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 06:45
Add-On Releases AME (Auto Media Embedding) XML Releases Dannyloski Modification Graveyard 289 09 Oct 2009 02:33
Add-On Releases AME (Auto Media Embedding) XML's (The Geek) hotwheels Modification Graveyard 66 22 Aug 2009 06:40

  #61  
Old 28 Aug 2008, 11:04
MindStar MindStar is offline
 
Join Date: Jan 2007
Excellent!

Would you consider using cURL instead of file_get_contents to get the title of the video file?

* we have disabled file_get_contents on our server due to the security risks with using file_get_contents.

Here's a link to an example of using cURL to replace a call to file_get_contents

http://uk3.php.net/manual/en/functio...ents.php#82255
Reply With Quote
  #62  
Old 28 Aug 2008, 11:38
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
Originally Posted by hornstar1337 View Post
My youtube vid after I press play is just having the loading sign go around and round. It is not playing. It has always worked good until I updated.

Any ideas?

Does it work for anyone else here http://www.gamerzneeds.net/forums/bl...-profiles-339/

edit: it is working in IE but not in FF3 for me. it appears to only be youtube for now as well.
Works for me in FF3
Reply With Quote
  #63  
Old 28 Aug 2008, 11:38
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
Originally Posted by MindStar View Post
Excellent!

Would you consider using cURL instead of file_get_contents to get the title of the video file?

* we have disabled file_get_contents on our server due to the security risks with using file_get_contents.

Here's a link to an example of using cURL to replace a call to file_get_contents

http://uk3.php.net/manual/en/functio...ents.php#82255
Ill look into it
Reply With Quote
  #64  
Old 28 Aug 2008, 11:54
Subah's Avatar
Subah Subah is offline
 
Join Date: Feb 2006
Thanks for the upgrade again
Reply With Quote
  #65  
Old 28 Aug 2008, 11:55
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
Originally Posted by NeverBored View Post
Damn, I'm late to the party with a feature request... I would like to be able to use if conditionals in the container HTML and replacement HTML boxes... Would that add any strain on performance?

Anyhow, cool to see you've updated this mod. It's a great mod, and my site is more or less actually built around it. Your work is appreciated.
Just a quick update to say that, I just tested this out. Its pretty easy to implement and I will most likely do it, however the key problem with putting conditionals in is that postbit contents get cached once they are parsed. So say for instance you wanted to show a container for logged in users, but just the URL for non logged in users. If the first person to view it is a logged in user, then the conditional wont be run again until it expires from the cache and the next person views it. There are other ways to do this, just not really ideal with a conditional.

I could most likely force AME'ed posts to bypass the cache, but I don't think the performance trade off is worth it.

So...

I will most likely be switching to templates in the future as they give a lot better flexibility but you would have to be mindful of the cache for conditionals.
Reply With Quote
  #66  
Old 28 Aug 2008, 12:11
verino verino is offline
 
Join Date: May 2008
thank's for the mod installed
Reply With Quote
  #67  
Old 28 Aug 2008, 13:05
YopY YopY is offline
 
Join Date: Aug 2006
I has question. In an earlier version of AME, it caused an error when posting or editing a post containing PHP code (i.e. code examples), probably due to the regexes AME (I assume) uses getting triggered by PHP code. Is that issue known, and if so, has it been fixxxed in this version (or an earlier one)?
Reply With Quote
  #68  
Old 28 Aug 2008, 14:00
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
Originally Posted by YopY View Post
I has question. In an earlier version of AME, it caused an error when posting or editing a post containing PHP code (i.e. code examples), probably due to the regexes AME (I assume) uses getting triggered by PHP code. Is that issue known, and if so, has it been fixxxed in this version (or an earlier one)?
If you mean php and other code blocks, the issue had been sorted
Reply With Quote
  #69  
Old 28 Aug 2008, 14:03
entertain entertain is offline
 
Join Date: May 2007
Hi Geek,

do you know why ,,, and so on will not be displayed correctly in the video header?


Greetings.
Reply With Quote
  #70  
Old 28 Aug 2008, 14:06
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
I really don't know enough about character sets, but try editing ame_bbcode.php and change:

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

to


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

Let me know if that helps

(and click install if you get a sec )
Reply With Quote
  #71  
Old 28 Aug 2008, 14:15
entertain entertain is offline
 
Join Date: May 2007
I'm still using the old version and there i can not find the code you have posted.

Should I update?
Reply With Quote
  #72  
Old 28 Aug 2008, 14:17
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
Originally Posted by entertain View Post
I'm still using the old version and there i can not find the code you have posted.

Should I update?
lol. Yea. In fact he new version should work for you without the above workaround. The above code was put in to take care of most special character cases.

HTHs
Reply With Quote
  #73  
Old 28 Aug 2008, 14:19
entertain entertain is offline
 
Join Date: May 2007
ehhm - is it necessary to reinstall the product or can i also overwrite it?
Reply With Quote
  #74  
Old 28 Aug 2008, 14:21
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
Originally Posted by entertain View Post
ehhm - is it necessary to reinstall the product or can i also overwrite it?
ofc, just upload new files and import the new product (choosing to overwrite) as per instructions in the first post.
Reply With Quote
  #75  
Old 28 Aug 2008, 14:28
entertain entertain is offline
 
Join Date: May 2007
okay - the characters are still not working. I also did the code edit like you have posted it in post #70.

& is also not working and is displayed in its html tag &
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 09:22.

Layout Options | Width: Wide Color: