![]() |
DJ's AME :: The Ultimate Automatic Media Embedder :: 2.5.7
1 Attachment(s)
From the team who brought you the blockbuster film "Yahtzee!", comes the next major motion picture about incredibly bad and arbitrary puns:
AME automatically embeds media in posts without the need for pesky BBCode cluttering up your editor toolbar. It's also lightweight, and saves resources that BBCode would ordinarily consume. Your users don't even have to know you have AME installed. If they share a link from YouTube, Dailymotion, Amazon, Metacafe or Vimeo, AME automatically embeds the content for them. No special code to learn. No instructions for newbies to understand. In addition, AME allows you to create, import and export support for individual websites in the form of media definitions. These XML files expand your AME to support a limitless number of websites from around the net and let you share them with the community. We currently have around 200 media definitions collected at this repository thread. If you want additional support for website not listed, please ask for it there. Odds are, we might already have one. (TIP: Be sure to check the Add-Ons section below for stuff you might miss out on, otherwise.) [hr]#CCCCCC[/hr] CREDITS This modification was originally built by [name]The Geek[/name], who is no longer coding for vBulletin. We miss him. But he gave permission for someone to continue to build upon his work. All I've done is modify the code a little to support additional functionality and to provide a place to continue to support the product. The product didn't need too much tweaking, but I did manage to add some new features I think you will enjoy, which I'll lay out in the feature list below. [hr]#CCCCCC[/hr] RECOMMENDATIONS It is HIGHLY recommended that you read the READ ME.html file included in the ZIP file before you upgrade or install. You don't want to be blind-sided, now do you? :eek: [hr]#CCCCCC[/hr] NEW INSTALLATIONS
[hr]#CCCCCC[/hr] TO UPGRADE If you are upgrading from AME 2.5.6.
[hr]#CCCCCC[/hr] WHAT ELSE? The following five posts will include:
|
1 Attachment(s)
|
FEATURE LIST
What's New in 2.5.7?
. . . Previous Feature List from The Geek
|
DJ'S FREQUENTLY ASKED QUESTIONS (AME 2.5)
|
RESOURCES
How To Create Media Definitions for AME 2.5 --BirdOPrey5 explains the basic info you need for creating media definitions. Embed RegEx --A Brief explanation as to how to use the Embed regexp (now called Extraction RegEx) field in definitions. www.Regular-Expressions.info --Comprehensive Regular Expressions Tutorial and Reference Guide. DJ's Frequently Asked Questions (AME 2.5) --An update of Dannyloski's Trouble Shooting Guide, this FAQ addresses the most common problems associated with AME. DJ's Definitions FAQ --Information on specific definitions and their peculiarities as well some tips and tricks on how to use AME. RegExBuddy Buddy Trial Download --Limited free trial period with option to buy licence. I'd advise learning with this first, before trying the freeware below. Expresso --Free Regular Expressions tester for beginners or the advanced. Excellent version if you don't want to spend quite that much on a tester. This is the one I currently use. Requires registration after a trial period, but remains free after registration. PowerGREP --A newer RegEx tester that also has a free trial period. I have not tested this one personally. regexpal.com --An Online JavaScript Regular Expression tester based on open source project XRegExp. Works very similar to RegExBuddy. |
1 Attachment(s)
HISTORY
AME has had a long and varied history. The ZIP file includes an AME History text file which is just for reference, and to help you understand why there are so many AME-related threads lying around. I've also attached it here for quick reference, as well as including the changelog in this post for my iteration of AME. CHANGELOG AME 2.5.7 Adopted the product under my silly prefix Cleaned up and reformatted the UI Rewrote most Help Menu Items Stripped out tables from the ame_container template Set global default size variables to a larger, more modern standard Moved some vBulletin Options AME items into an Advanced Options item in the AME CP Added ability to include optional JavaScript in <head> or <body> of areas where AME is normally parsed Changed default definitions to now include updated YouTube, Amazon Thumbs, Metacafe, Dailymotion and Vimeo definitions (Will remove these from the Master XML) Changed film_go.png from film image, to a more media generic green "play" button. Now called noembed.png 2013-10-18 Replaced a deprecated PHP function in the new plugins Corrected redundant text in the new feature descriptions, because that kind of stuff bugs the heck out of me |
Downloaded/Reserved.
I have previous version, studying this one. |
Working well on 3.8.5. Thank You. :)
|
Hi,
I just updated my site with this and am now getting this at the top of my pages: Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'nobody'@'localhost' (using password: NO) in [path]/showthread.php(112) : eval()'d code on line 4 Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in [path]/showthread.php(112) : eval()'d code on line 4 Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'nobody'@'localhost' (using password: NO) in [path]/showthread.php(112) : eval()'d code on line 10 Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in [path]/showthread.php(112) : eval()'d code on line 10 |
Quote:
What version of PHP is your server running? Admin CP ?? Maintenance ?? View PHP Info. Is it 5.5 or up? I presume you're on vBulletin 3.8.8? If this is the case, I'll see if I can push out a fix for that. You should be able to suppress this error by disabling the AME :: Extra plugins in your Plugin Manager until I can get that ready. This will, of course, disable the new functionality for that time. |
I am running
PHP 5.2.17 vBulletin 3.8.7 I have already disabled the entire plugin for the time being D. |
One further question,
Once we get this working, Will I need to upload any deltas or does this version have everything up to date at this point? D. |
Quote:
|
Quote:
|
Excellent!
Thanks! |
Ack, give me a few more. My host apparently decided I don't really need a website right now. So I can't test my changes. I'll have to pester them to get me back online. Shared hosting. -_-
|
No worries.
Thanks for the update. |
|[UPDATE]|
|
Thanks!
Seems to be working just fine for me now! Can't thank you enough! D. |
Sorry to bug you again,
Youtube videos are not embedding for me. https://www.toronto-subaru-club.com/...-vehicles.html The first post has a Youtube URL but is just showing the link... not the video D. |
Quote:
|
Quote:
It's also not working for new posts either. D. |
Quote:
Quote:
|
Disable settings is set to NO
I checked usergroups... all have proper permissions set I tried running the query Confirmed, since upgrading to the new version the Mod is no longer working for me. It is not converting the [URL] tag to an [AME] tag D. |
I just tried other items and they are not embedding either.
D. |
Quote:
|
Quote:
Quote:
|
Quote:
https://vborg.vbsupport.ru/showthread.php?t=202476 And I ran the tool - it took a LONG time to finish. 1000s of posts processed. Then later on I noticed really old threads with YouTube links in the posts, all now embedded by AME. I was impressed, it did each and every such link ever posted, globally. EDIT to add: It looks like the Geek says it gets ALL the URLs, here: https://vborg.vbsupport.ru/showpost....62&postcount=2 Quote:
|
Quote:
I'll also look into a way to optimize that process, if possible. Thanks for catching that. |
PM sent for access to my forums (Much appreciated)
Also.... Maybe my issue has to deal with the fact my site is https:// as I run the site with an SSL cert. ???? Just trying to figure out why it isn't working. D |
Quote:
But that's to be expected when you're going back 100s of 1000s of posts, retro. |
Thanks for the update as well as new features Mark.
I tried to "Like" your first post but was not allowed as I have liked to many of your post.... (Another thread topic) |
Quote:
In any event, I had to delete four defs you did have. 220 and both 2KSports will need to be reimported. I went ahead and added YouTube, Dailymotion, Vimeo and replaced Amazon, since these were the five that incorrectly imported during upgrade. I'll address this install bug on the next update. |
Thanks!
You rock! D. |
Quote:
Quote:
|
Quote:
|
See the PM from my site I just sent you.
Not out of the wood yet. :( D. |
Quote:
Also, I believe because of the https://, I have to allow any videos to appear in my browser on my end. So everything's blank until I click the security message in Chrome. Probably seeing something similar in your browser. And eBay. The eBay def broke a while back, (as eBay change a lot about their URL structure) and has been totally rewritten for my next update. So for now, that one just won't work. You may be interested in waiting for the new one, however. It looks something like this: https://www.diigo.com/item/p/pebbaaz...11f641b987bd2f |
Quote:
It worked very slick though, very impressive. |
I'll try to put this in the FAQ a little later, but if you're website is running an SSL certificate, you need to tweak your definition slightly in order to fully support external embedding.
Find the source URL in your respective definitions' Replacement HTML: HTML Code:
src="http://www.youtube.com/embed/abc123456" Code:
src="https://www.youtube.com/embed/abc123456" |
All times are GMT. The time now is 03:33 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|