Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

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

Category: Show Thread Enhancements - Version: 3.7.x Rating:
Released: 08-26-2008 Last Update: 09-20-2008 Installs: 939
DB Changes Uses Plugins
Additional Files  
No support by the author.

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #702  
Old 12-10-2008, 10:00 PM
Dabbi's Avatar
Dabbi Dabbi is offline
 
Join Date: Sep 2007
Location: Seaway Valley NY
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Digital Jedi View Post
YouTube just did a massive overhaul, so they'll have to be looked at again once they've finished up with whatever it is they're doing. The other sites will have to be looked at again too. If your subscribed to the updates in my Add-On threads, then you know I will be looking at this over the course of the week and that I'm in the process of trying to get more organized.
Thank you. I'll subscribe to those as well then. I just wanted to see if this mod worked okay and the way I hoped before adding on the add ons.

So far my members seem very happy just to be able to add YouTube video. That's the one my board members will use most often anyway probably.
Reply With Quote
  #703  
Old 12-10-2008, 10:34 PM
geni57 geni57 is offline
 
Join Date: Jul 2008
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, I've read everything here I can think of, nothing has helped me.

I have a VB 3.7.2

I downloaded the 2.0.2 zip file.

My forum does not have a "forums" folder it's just all in the root directory.

First I'll state my problem then what I've done.

I have no AME CP

I uploaded the following

In my root directory is VB I open VB and get the following folders:

admincp
archive
clietnscript
cpstyles
customavatars
customprofilepics
images
includes
install
modcp
signaturepics

First I went to admin cp
In that folder I uploaded the following: automediaembed_admin

Next I went to the Images folder and uploaded amazon_icon

Next I went to Includes folder and uploaded the following:
ame_bbcode and the cpnav_automediaembed xml document and the hook_automediaembed xml document

Next I went to my admin panel and imported the product-ame xml document

ALL of the above files are there as I've checked.

I found the AME Settings but there is NO AME CP anywhere..

In the AME Settings I see the following...
The maximum amount of characters to display in the title (note you can use the AME CP for this option)

I can click on AME CP and something comes up.. but it's just the SETTINGS.

There is no AME CP anywhere.. .

What did I do wrong??

Help please.
Reply With Quote
  #704  
Old 12-11-2008, 01:33 AM
a squared's Avatar
a squared a squared is offline
 
Join Date: Jul 2005
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I sort of realized the double definitions on the way home from work. I disabled one and tada it worked! I am running v2.0.2 though. I didn't know that 2.5 was a stable release. Is it?



Quote:
Originally Posted by Digital Jedi View Post
You have two YouTube definitions, and it looks like your running 2.5, as it appears you have one that's following the sizing options and one that isn't. You need to delete one of them.

On 2.5, the height and width variables can be set under Settings.


Unless, of course, your using 2.5, in which case you set that under the Settings menu.
Reply With Quote
  #705  
Old 12-11-2008, 04:34 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 macc View Post
i changed url to my site but do not know what thread you mean and which changes must be make for get divx to work?

regards

macc
The thread you downloaded the DIVX definition from. You didn't get it from this thread, you got it from my Add-On thread (which is linked in the first post). Post what changes you made in that thread so I can take a look at them.


Quote:
Originally Posted by geni57 View Post
Ok, I've read everything here I can think of, nothing has helped me.

I have a VB 3.7.2

I downloaded the 2.0.2 zip file.

My forum does not have a "forums" folder it's just all in the root directory.

First I'll state my problem then what I've done.

I have no AME CP

I uploaded the following

In my root directory is VB I open VB and get the following folders:

admincp
archive
clietnscript
cpstyles
customavatars
customprofilepics
images
includes
install
modcp
signaturepics

First I went to admin cp
In that folder I uploaded the following: automediaembed_admin

Next I went to the Images folder and uploaded amazon_icon

Next I went to Includes folder and uploaded the following:
ame_bbcode and the cpnav_automediaembed xml document and the hook_automediaembed xml document

Next I went to my admin panel and imported the product-ame xml document

ALL of the above files are there as I've checked.

I found the AME Settings but there is NO AME CP anywhere..

In the AME Settings I see the following...
The maximum amount of characters to display in the title (note you can use the AME CP for this option)

I can click on AME CP and something comes up.. but it's just the SETTINGS.

There is no AME CP anywhere.. .

What did I do wrong??

Help please.
You probably added a few files to the wrong place since you added them individually like that. That's not at all necessary, as the files are already configured in the order they need to be in. Just drag and drop the contents in one swoop and it will add everything in every folder it needs to be in.

As for the forums folder, that's just in the event your forum root is located in a folder of that name. In that case, you could just grab that folder and overwrite it onto your existing forums folder. But as I said above, since you don't have that, you'd just grab the contents of that folder in one swoop and let it overwrite into your forum root directory.


Quote:
Originally Posted by a squared View Post
I sort of realized the double definitions on the way home from work. I disabled one and tada it worked! I am running v2.0.2 though. I didn't know that 2.5 was a stable release. Is it?
It looked like you were running 2.5 because one was smaller then the other. I guess maybe me and The Geek had our YouTube dimensions set differently,

Most comments I've heard is that it's running fine in a production environment, with only a couple of bugs in a couple of individual cases.
Reply With Quote
  #706  
Old 12-14-2008, 04:46 AM
Sunka Sunka is offline
 
Join Date: Mar 2008
Location: Croatia
Posts: 400
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed.
Thank you!
Reply With Quote
  #707  
Old 12-14-2008, 03:05 PM
zelnik zelnik is offline
 
Join Date: Aug 2008
Posts: 374
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Guys,

Just installed your great mod (rc1) and have one small problem.

I had previously been using passivevid and needed a replacement and unfortunately I can not seem to get all the old urls to automatically work for this hack.

I assume because it has not added the [AME] tags to the urls.

Passivevid does not add any tags to the urls so they're in their virgin state so hopefully am I just missing an option to scan old messages to change the youtube urls to [ame] tags or is there no such option?

Thanks in advance.

ps: I've tried the conversion and it says it finds nothing to convert!!
Reply With Quote
  #708  
Old 12-14-2008, 07:37 PM
nerofix nerofix is offline
 
Join Date: Mar 2006
Location: Saarland
Posts: 219
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice work, can you add the possibility to get this working in custom profile fields too?
Reply With Quote
  #709  
Old 12-14-2008, 09:31 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 zelnik View Post
Hi Guys,

Just installed your great mod (rc1) and have one small problem.

I had previously been using passivevid and needed a replacement and unfortunately I can not seem to get all the old urls to automatically work for this hack.

I assume because it has not added the [AME] tags to the urls.

Passivevid does not add any tags to the urls so they're in their virgin state so hopefully am I just missing an option to scan old messages to change the youtube urls to [ame] tags or is there no such option?

Thanks in advance.

ps: I've tried the conversion and it says it finds nothing to convert!!
The older posts wouldn't convert unless there was some way to replace older tags. In that case, the posts would need to be re-saved.
Reply With Quote
  #710  
Old 12-16-2008, 10:13 AM
Boots Boots is offline
 
Join Date: Dec 2004
Posts: 172
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyway to get this to work with the RSS feed poster?
Reply With Quote
  #711  
Old 12-16-2008, 12:13 PM
Eneswar Eneswar is offline
 
Join Date: Dec 2005
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any chance to make this to add the HD quality version of You Tube videos if there is, if not it adds the normal version?
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 05:19 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.05166 seconds
  • Memory Usage 2,338KB
  • Queries Executed 25 (?)
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
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete