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 AME :: The Ultimate Automatic Media Embedder :: 2.5.7 Details »»
DJ's AME :: The Ultimate Automatic Media Embedder :: 2.5.7
Version: 2.5.7, by Digital Jedi Digital Jedi is offline
Developer Last Online: Sep 2023 Show Printable Version Email this Page

Category: Major Additions - Version: 3.8.x Rating:
Released: 10-14-2013 Last Update: 10-17-2013 Installs: 97
Supported DB Changes Uses Plugins Auto-Templates
Additional Files Translations  

From the team who brought you the blockbuster film "Yahtzee!", comes the next major motion picture about incredibly bad and arbitrary puns:

AME 2.5.7: Electric Boogaloo


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?


[hr]#CCCCCC[/hr]
NEW INSTALLATIONS
  1. Download and Unzip the contents of the ZIP file.
    .
  2. Upload the contents of the "UPLOAD to Forum Root" folder to your forum's root directory. (This is the directory where your vBulletin is physically installed.) Also, if you've renamed your Admin CP folder, be sure to move the admincp folder's contents to your renamed directory.
    .
  3. CHMOD your amecache folder to 777.
    .
  4. Go to your Admin CP ?? Plugins & Products ?? Manage Products ?? Add/Import Products and import the product-djs_AME-2.5.7.xml file.
    .
  5. Your Admin CP should automatically refresh and you should now see the AME CP somewhere below your vBulletin Options menu.

[hr]#CCCCCC[/hr]
TO UPGRADE

If you are upgrading from AME 2.5.6.
  1. Delete custom definitions specifically for Amazon, Dailymotion, Metacafe, Vimeo and YouTube. (Key names: amazon, dailymotion, metacafe, vimeo and youtube) Theses five definitions are now hard coded into the product and will be updated along with the product if need be. You can back these up if you need to, but keep in mind if you use any custom defs for these sites, they will be duplicated every time you upgrade AME. So don't ask my why your videos are doubled up, or I'll throw rocks at you.
    .
  2. Upload the contents of the "UPLOAD to Forum Root" folder to your forum's root directory, overwriting previous versions of the files.
    .
  3. Ensure that your amecache directory is still CHMOD'd to 777.
    .
  4. Import the product-djs_AME-2.5.7.xml file into your Product Manager, making sure to set the option to Allow Overwrite to Yes.
    .
  5. If you are using the file cache, it is strongly recommended that you re-sync your cache using the Tools menu.

[hr]#CCCCCC[/hr]
WHAT ELSE?

The following five posts will include:
  • Additional Screenshots
  • Full Features List
  • FAQ
  • Resources to develop your own custom definitions
  • AME History/Changelog

Download Now

File Type: zip DJ's AME 2.5.7.zip (475.2 KB, 927 views)

Screenshots

File Type: png screen-demo-1.png (48.8 KB, 0 views)
File Type: png screen-demo-2.png (367.6 KB, 0 views)

Supporters / CoAuthors

Show Your Support

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

Comments
  #92  
Old 03-07-2014, 07:06 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 the Sandman View Post
I tried that several times, but it breaks all of the existing embedded media. Could it be my XCache?
It could be. They should, essentially, be doing the same job. So you likely don't need AME's built in version.

Quote:
Also, do you have a link to the code for the youtube shortcut urls?
Yes, it's linked in the Add-On section for this mod above. I had to break the XML files up into volumes, but YouTube (Short URL) should be located in the final XML file.
Reply With Quote
Благодарность от:
tbworld
  #93  
Old 03-07-2014, 12:04 PM
the Sandman's Avatar
the Sandman the Sandman is offline
 
Join Date: Aug 2003
Location: Tampa, FL
Posts: 229
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Digital Jedi View Post
Yes, it's linked in the Add-On section for this mod above. I had to break the XML files up into volumes, but YouTube (Short URL) should be located in the final XML file.
Thanks! That worked!
Reply With Quote
  #94  
Old 03-07-2014, 02:50 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Digital Jedi View Post
Have you observed it crashing with specific media websites, or does it just generally do so? For example, does it crash with games or music media as well? Or just YouTube? I'm unfamiliar with the mobile app and how all that's handled, but if it's basically using it's own templates, you could experiment with the AME conditionals being used in its particular ame_container template.
Seems to be with any post that uses it.

If I make a plugin on postbit_display_complete that replaces all code in $post[message] with just say static "This is a test" it works fine, but if I try to edit the $post[message] array in anyway, say to remove text from it, it still crashes the app.

What is weird is the API log isn't even logging any data when I click on the bad posts, like something perhaps the app loads before I click on a post... Now that I type that out it gives me a better idea where to look.
Reply With Quote
Благодарность от:
Digital Jedi
  #95  
Old 03-20-2014, 04:28 PM
weindians weindians is offline
 
Join Date: Sep 2006
Posts: 130
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by durham View Post
Hi

Since I upgraded to 3.5.7. my Vimeo definitions have stopped working? And Vimeo is not in the definitions list - should it be?

I'm using vb 3.8.5. and vimeo has always worked in the past - but I did delete the definitions as instructed on the install. Perhaps I wasnt in 3.5.6?

Anyway how do I get vimeo back please?

Thanks

Durham
I figured it out (both of us had same probelm). After you upgrading to 2.5.7, vimeo not in definitions list. You are likely end up with this problem if you have imported all definitions from here . One of the denition xml has definitions for embedding 2k videos and one of them has (i donno by mistake or not) vimeo replacement html in it and conflicting with original vimeo definitions and wont display in list or embed vimeo videos. So to check this best is go thru list and find 2k definitions and under key heading it will show vimeo ( i deleted it) and imorted vimeo.xml and everything working fine....

@Digital Jedi will look into this i hope
Reply With Quote
  #96  
Old 03-20-2014, 07: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 weindians View Post
I figured it out (both of us had same probelm). After you upgrading to 2.5.7, vimeo not in definitions list. You are likely end up with this problem if you have imported all definitions from here . One of the denition xml has definitions for embedding 2k videos and one of them has (i donno by mistake or not) vimeo replacement html in it and conflicting with original vimeo definitions and wont display in list or embed vimeo videos. So to check this best is go thru list and find 2k definitions and under key heading it will show vimeo ( i deleted it) and imorted vimeo.xml and everything working fine....

@Digital Jedi will look into this i hope
The media repository doesn't have a definition for 2k.com, exactly. I have two for 2kSports.com, but that was for the old domain, and those definitions haven't been updated yet. Neither of those use any Vimeo embed code. With that said, Replacement HTML plays no part in conflicts. Multiple definitions use the same embed code, such as sites who host all their content on YouTube or BrightCove. Conflict results when two regex patterns try to match the same URL. On rare occasion, a URL string within an embed code can trigger an AME match, but as I mentioned, neither 2K Sports defs use any Vimeo code, and certainly shouldn't have vimeo as their key. Either you have definitions from another source, or you're running into a PHP/server configuration problem with vB3. I'm seeing this more the older vB3 gets, and in most cases, the problems only clear up once the site is moved to a new, updated server. I'm hoping it's not that drastic in your case.
Reply With Quote
  #97  
Old 03-21-2014, 04:40 PM
weindians weindians is offline
 
Join Date: Sep 2006
Posts: 130
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

but that was exactly the problem.. after importing all definitions i had 3 definitions total for 2ksports and under key information table it showed 'vimeo' and i checked the html replacement before deleting it(definitley vimeo code was there). And after deleting it conflict gone and i could import vimeo.xml you provided in previous page..

You can reproduce it if you are on 3.8.x and upgrade from 2.5.6 to .7 . i deleted all those youtube, vimeo, dailymotion etc before upgrade as advised here. and after upgrade all definitions given from legacy, local and vol 1-5 imported. Definetly there was no vimeo in the lists after full import. Then i decided to import vimceo.xml and i couldnt and i went digging it. Went through definition lists and i noticed for first definition for 2k sports under key area 'vimeo' was showing up. i got curious and opened it and i found vimeo code and i thought of deleting it and try as i dont use it. And then imported vimeo.xml and it worked and vimeo was showing up in posts.. Thats all i did and i thought of sahring it as i found another member @durham also has same issue ans he couldnt fix it
Reply With Quote
  #98  
Old 03-22-2014, 06:38 AM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The link you posted was for 2k.com, and I definitely don't have a definition for that. So I wanted to make that clear first.

To also be clear, the reason you couldn't import the vimeo.xml file was because you had a definition with the same key. Not because of the embed code. Keys are designed to prevent duplicate definitions from importing. Apparently, your 2k Sports definitions merged with Vimeo upon upgrade, and this should not have happened. It certainly never happened during any of my test upgrades. The only thing I can think of is somehow they shared the same ID number in your database, and when you upgraded, it simply wrote in the data into 2k Sports as it would during an upgrade. Keeping part of one and adding in the other. I've not seen this happen on any other installation, so you may want to keep an eye out for any server hiccups.
Reply With Quote
  #99  
Old 03-24-2014, 06:17 PM
joeychgo's Avatar
joeychgo joeychgo is offline
 
Join Date: Mar 2004
Location: Chicago, IL
Posts: 933
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

are the regular youtube urls suppose to work?

ie:
Reply With Quote
  #100  
Old 03-24-2014, 10:56 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 joeychgo View Post
are the regular youtube urls suppose to work?

ie:
Of course.
Reply With Quote
  #101  
Old 03-25-2014, 02:32 AM
joeychgo's Avatar
joeychgo joeychgo is offline
 
Join Date: Mar 2004
Location: Chicago, IL
Posts: 933
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

not working for me then -- other youtube links work but not the plain url
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 09:01 PM.


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.05350 seconds
  • Memory Usage 2,369KB
  • 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
  • (8)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
  • (11)post_thanks_box
  • (5)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)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