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
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
Version: 2.5.6, by The Geek The Geek is offline
Developer Last Online: Jan 2019 Show Printable Version Email this Page

Category: Major Additions - Version: 3.8.0 Rating:
Released: 01-19-2009 Last Update: 12-08-2009 Installs: 1968
DB Changes Uses Plugins Template Edits
Additional Files  
No support by the author.

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

File Type: zip ame2.5.6.zip (46.6 KB, 6324 views)

Screenshots

File Type: jpg newpost.jpg (26.4 KB, 0 views)
File Type: jpg newpost_result.jpg (61.9 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
6 благодарности(ей) от:
Digital Jedi, luizalmir, Neal-UK, vijayninel, vithorius, zascok

Comments
  #752  
Old 07-20-2009, 08:46 AM
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
Location: Behind you
Posts: 2,779
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That isn't AME. AME doesn't add tags like that.
Reply With Quote
  #753  
Old 07-22-2009, 09:55 AM
Scitz0 Scitz0 is offline
 
Join Date: Jun 2009
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just installed this module on my 3.8.3 forum but I have a problem with the import. No matter what I try it always say(translated from swedish) "No file uploaded and no local file found.". And yes, I use AME CP->Import Definitions. Tried to browse to the file stored on my computer, tried to upload the file to the server and import localy and I even tried to rename the file so there are no special chars or spaces. The files I have tried are from https://vborg.vbsupport.ru/showthrea...195884&page=49 , tried both the master xml and a single definition with the same result. Not sure what to do.

Need help resolving this please.
Reply With Quote
  #754  
Old 07-22-2009, 09:56 AM
Charles_1 Charles_1 is offline
 
Join Date: Jun 2006
Location: Czech Republic, Brno
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Digital Jedi View Post
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.
I have similar issue on vBulletin v3.8.2 and AME v2.5.5.

When I post full URL (http://www.youtube.com/watch?v=i8OLcbxZ0cA) everything is OK, player will appear. But when I post URL without http://, it shows only link with this target:
http://www.svethardware.cz/forum/www...?v=i8OLcbxZ0cA

It adds URL of our forum to beginning and link is of course not working. How to change it please? Besides that this mod is great becouse users don't need to learn something new, thanks.
Reply With Quote
  #755  
Old 07-22-2009, 10:35 AM
Scitz0 Scitz0 is offline
 
Join Date: Jun 2009
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Got it to work now, had to retry several times before it accepted the xml.
Reply With Quote
  #756  
Old 07-23-2009, 10:35 AM
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
Location: Behind you
Posts: 2,779
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Charles_1 View Post
I have similar issue on vBulletin v3.8.2 and AME v2.5.5.
The example above isn't related to this. Those examples were working as intended as embedding was disabled (in fact, neither of those videos are valid links anymore anyway)

Quote:
When I post full URL (http://www.youtube.com/watch?v=i8OLcbxZ0cA) everything is OK, player will appear. But when I post URL without http://, it shows only link with this target:
http://www.svethardware.cz/forum/www...?v=i8OLcbxZ0cA

It adds URL of our forum to beginning and link is of course not working. How to change it please? Besides that this mod is great becouse users don't need to learn something new, thanks.
However this I just confirmed as indeed a bug. The bug is that if no protocol is included (i.e. no http://) then the link will be malformed. I have included the fix in the next release but as I am heading out on Holiday Saturday, Ill post it here for those that want to apply the fix sooner.

in includes/ame_bbcode.php on or around line 492 find

PHP Code:
$url str_replace(array("[url]""[URL]""[/url]""[/URL]"), array("","","",""), $param1); 
and directly below it, add:

PHP Code:
        if (!preg_match('#^[a-z0-9]+(?<!about|javascript|vbscript|data):#si'$url))
        {
            
$url "http://$url";
        } 
HTHs
Reply With Quote
  #757  
Old 07-23-2009, 01:52 PM
biome.pat biome.pat is offline
 
Join Date: Aug 2008
Location: Toronto, ON, Canada
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think I might have a similar issue. I just upgraded to vB 3.8.3, and I'm finding that valid video links convert to standard URL tags, not AME tags. I don't use the WYSIWYG editor, so I don't think it has anything to do with the color tags, if that makes a difference.

Not sure if it's important, but when it changes to URL tags, the link is displayed as if embedding were disabled:
Attachment 102400

Also, I noticed that if I manually change the URL tags to AME tags, it shows up correctly, BUT if I try to edit the post again, the AME tags revert back to URL tags. But the ame_strip function seems to be doing this, so maybe it's on purpose, with the expectation that it will be converted back to AME tags?

Anyhow, maybe I'll jump back to the previous version of AME, but I thought I'd let you know about it

Thanks for all your great work with this mod, by the way!
Reply With Quote
  #758  
Old 07-23-2009, 02:15 PM
biome.pat biome.pat is offline
 
Join Date: Aug 2008
Location: Toronto, ON, Canada
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by aperio View Post
Mod is also not working for me. Mine is a fresh install of vbulletin version 3.8.3 and i have triple checked to ensure all files are in place and that I have the settings as they should be... links are simply links (youtube videos, embedding allowed) whether new posts or old ones edited. The videos are simply not appearing. Just a heads-up that it's not an isolated incident... great looking mod though, so I'll try to be patient
Let me guess -- and the tooltip was showing up when you hovered the link, saying "External Embedding Not Available"?

I think I just figured this out:
Turn off "Extract destination data" in the settings. It seems like it's detecting embedding as disabled regardless. You'll need to rebuild to fix old posts, but any new posts should just show up.

This is vB3.8.3 by the way, in case it helps Geek!

Cheers all

UPDATE: The only other plug-in that seemed like it might conflict was the "Auto-Merge Post" plugin, which also uses the newpost_complete hook. I disabled it and the problem was still there.
Reply With Quote
  #759  
Old 07-23-2009, 11:36 PM
PossumX's Avatar
PossumX PossumX is offline
 
Join Date: Oct 2006
Location: NE USA
Posts: 141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by biome.pat View Post

Not sure if it's important, but when it changes to URL tags, the link is displayed as if embedding were disabled:
Attachment 102400

Also, I noticed that if I manually change the URL tags to AME tags, it shows up correctly, BUT if I try to edit the post again, the AME tags revert back to URL tags. But the ame_strip function seems to be doing this, so maybe it's on purpose, with the expectation that it will be converted back to AME tags?
Same issue here on vB 3.8.3 and AME 2.5.5, no matter what, the videos will no longer embed and only show up as titles.
Reply With Quote
  #760  
Old 07-24-2009, 03:51 AM
SMMensans SMMensans is offline
 
Join Date: Jul 2009
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This mod is great. Thanks to everyone involved.

Is there a way to change the color of the font above the videos without changing the color in the actual forum style? If not is there a way to change which font color (First Alternating Color), it pulls from in the forum style?

See the image below:

Reply With Quote
  #761  
Old 07-24-2009, 10:34 AM
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
Location: Behind you
Posts: 2,779
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by biome.pat View Post
Let me guess -- and the tooltip was showing up when you hovered the link, saying "External Embedding Not Available"?

I think I just figured this out:
Turn off "Extract destination data" in the settings. It seems like it's detecting embedding as disabled regardless. You'll need to rebuild to fix old posts, but any new posts should just show up.

This is vB3.8.3 by the way, in case it helps Geek!

Cheers all

UPDATE: The only other plug-in that seemed like it might conflict was the "Auto-Merge Post" plugin, which also uses the newpost_complete hook. I disabled it and the problem was still there.
Not sure about the automerge hack (which I noticed in your attachement) however i did notice that the video that embeded clearly didn't extract the definition data as the title was just 'You Tube'. There is either a subtle bug with validation when extraction isn't enabled (or working) or you have extraction on, but your server doesn't allow it (i.e. you don't have ccurl). Edit the Youtube definition and either remove the validation regexp or turn off the 'extraction' setting.

HTHs
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 08:02 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.08546 seconds
  • Memory Usage 2,371KB
  • 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
  • (2)bbcode_php
  • (6)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
  • (4)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (6)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)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