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
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Well, i am getting the following error when trying to post videos.
Code:
Warning: include(/kunden[path]/amecachefindonly.php) [function.include]: failed to open stream: No such file or directory in [path]/includes/ame_bbcode.php on line 74
Whats wrong?
Same issue here when I try to rebuild the post cache. Turned off 'enable file cache' and 'extract destination data' then tried rebuilding again and it worked.
Just installed this today. Have the same issue as a few other people with the flash loading icon appearing but no video. However, this only seems to happen in the Firefox browser, works fine in IE. Any suggestions?
Just installed this today. Have the same issue as a few other people with the flash loading icon appearing but no video. However, this only seems to happen in the Firefox browser, works fine in IE. Any suggestions?
Update flash and/or ff.
REMEMBER: This system only transforms your URL into the destination sites embed code!
Finally the following type of errors:
failed to open stream: No such file or directory in [path]/includes/ame_bbcode.php
Are because the files were either not uploaded into the correct location, some files weren't uploaded or the uploaded files do not have permission to be run.
Any chance you can give me a little more detail how to do this in phpmyadmin? My experience in phpmyadmin is limited although I've had no problems doing things in there with more details.
If I understand this correctly, in the Post table I would be adding a field - does it matter if it is at the beginning or end of the table or after any particular field? I'm guessing that the Field Name would be "ame_flag"? Do I need any values after the Type?
Thanks.
Sorry, I really can't. If you are semi new to using phpmyadmin and/or sql I would suggest avoiding the use of it (especially on a large site). Im sure it isn't what you want to hear, however I just don't feel overly comfortable helping you edit your db tables via a forum. Hope you understand
Thanks for this awesome mod. But i have a question.
How do i edit the Post Width and Height? I edited them to 500x500 under Posting Zone Settings. It's still intact with the default settings.
I've been running into a couple of problems with developing definitions for 2.5. Every so often, I make a definition and the $url and $title do not parse on certain people's forums, even with the brackets. I thought I goofed and needed to use the $ameinfo_ prefix, but that didn't work either. I've had a chance to test a few boards and see if their is a common, or conflicting hack, and can't quite find a common denominator just yet (other then the Post Thanks Hack, which I don't think is related). I forget, did I mention this already? My brain is not what I imagine it used to be.
Nope. I have some changes for another RC or Gold, but havent had time to roll them up into a release. TBH, there are really few problems with the current RC and the issues that are there are pretty minor as they mainly just prevent rebuilding and/or converting old posts.
Check your file cache settings and make sure that the folder that stores the cache (by default this is called amecache) is writeable if you are using the file cache.