Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
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
  #622  
Old 06-15-2009, 06:05 PM
Ryloth Ryloth is offline
 
Join Date: Dec 2006
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So this step:

Adding index to post table. Please standy by.... this bit can take a few...

Has now been running for over 30 hours.

I am running it in a browser window from my server. It hangs on trying to create an index apparently. What is your suggestion? I am half tempted to remove this step from the product and create the index in mysql on my own. The post table has over 2 million rows and is myisam.
Reply With Quote
  #623  
Old 06-15-2009, 06:16 PM
Kavadas's Avatar
Kavadas Kavadas is offline
 
Join Date: Jun 2009
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Alright, I finally got AME working (and it's great!) but I have one more n00b question. I went ahead and created a custom BBCode entry for AME through the AdminCP. The button is up on my post editor toolbar and it correctly adds the BBCode tags. When I submit a post it displays correctly and works fine but when I hit preview or go to edit the AME tags simply revert to URL tags the message field itself.

Meaning that if I preview something and submit my AME tags switch to URL tags in the message editor box. Or if I go to edit something they'll switch to URL and screw up the post unless you manually change the URL tags back into AME tags.

In the "replacement" field I currently have:
Code:
<div class="ame"> {param} </div>
What should I stick in here to prevent this from happening?
Reply With Quote
  #624  
Old 06-17-2009, 03:29 PM
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 Kavadas View Post
Alright, I finally got AME working (and it's great!) but I have one more n00b question. I went ahead and created a custom BBCode entry for AME through the AdminCP. The button is up on my post editor toolbar and it correctly adds the BBCode tags. When I submit a post it displays correctly and works fine but when I hit preview or go to edit the AME tags simply revert to URL tags the message field itself.

Meaning that if I preview something and submit my AME tags switch to URL tags in the message editor box. Or if I go to edit something they'll switch to URL and screw up the post unless you manually change the URL tags back into AME tags.

In the "replacement" field I currently have:
Code:
<div class="ame"> {param} </div>
What should I stick in here to prevent this from happening?
I am not sure why you would do this? AME was designed so that you and your users just had to paste the URLs in the post. AME will do the rest.
Reply With Quote
  #625  
Old 06-17-2009, 03:30 PM
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 Ryloth View Post
So this step:

Adding index to post table. Please standy by.... this bit can take a few...

Has now been running for over 30 hours.


I am running it in a browser window from my server. It hangs on trying to create an index apparently. What is your suggestion? I am half tempted to remove this step from the product and create the index in mysql on my own. The post table has over 2 million rows and is myisam.
That would indeed work, but you wouldnt have to take the step out of the product file, ame will silently skip the step if the column is already there.
Reply With Quote
  #626  
Old 06-17-2009, 03:34 PM
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 Kavadas View Post
No, it's definitely set to "No" in that disable new stuff option and when it wasn't working my usergroup permissions was one of the first things I checked but that's kosher too.

I thought maybe I had fudged the chmod on that amecache folder or something but it was all sevens so... yeah, I'm lost on this one
I lay money on the fact that something is being overlooked. The most common mistakes centred around the 'it doesn't work' arena are:

1- Users install product and go 'refresh' a page that has a media URL in it. AME doesn't work this way. AME will sprinkle its magic onto a post only when AME is installed and the post is saved (or rebuilt using the tools)

2- Users are pasting a youtube video into a post, but the video they are posting has external embedding disabled so AME just links to the video instead of showing you a broken one (in other words, it is actually working)

3- Usergroup permissions are wrong

4- Cache setup wrong (disable the file cache to test).

5- They are trying to install on phpBB. Fail.
Reply With Quote
  #627  
Old 06-17-2009, 05:39 PM
Chadi's Avatar
Chadi Chadi is offline
 
Join Date: May 2004
Location: USA
Posts: 2,043
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by The Geek View Post
I am sure this could be done by just editing the templates, but currently have no plans to expand the feature set. I assume next time I crack open the code will be to develop a version for vb4.0.

Nice effect though
Thanks.
Reply With Quote
  #628  
Old 06-18-2009, 08:14 AM
Kavadas's Avatar
Kavadas Kavadas is offline
 
Join Date: Jun 2009
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by The Geek View Post
I am not sure why you would do this? AME was designed so that you and your users just had to paste the URLs in the post. AME will do the rest.
AME only works for me when I surround the media's URL with AME and /AME (bracketed, of course).

Quote:
Originally Posted by The Geek View Post
I lay money on the fact that something is being overlooked. The most common mistakes centred around the 'it doesn't work' arena are:

1- Users install product and go 'refresh' a page that has a media URL in it. AME doesn't work this way. AME will sprinkle its magic onto a post only when AME is installed and the post is saved (or rebuilt using the tools)

2- Users are pasting a youtube video into a post, but the video they are posting has external embedding disabled so AME just links to the video instead of showing you a broken one (in other words, it is actually working)

3- Usergroup permissions are wrong

4- Cache setup wrong (disable the file cache to test).

5- They are trying to install on phpBB. Fail.
1. I didn't refresh a page to see if it worked. I created a new post with several links from various video tube sites (G4TV, YouTube, Google Video).

2. Like I said, I posted multiple videos from multiple sites.

3. I've checked and rechecked usergroup permissions. Everything is kosher here (as mentioned in a previous post this was the first thing I checked for troubleshooting).

4. Cache setup is not wrong. It's currently set as enabled, the folder is place in the correct directory, and it is CHMODded to "777." There are no cache alerts at the top of the AME CP options page.

5. My site utilizes vBulletin 3.8.3.
Reply With Quote
  #629  
Old 06-18-2009, 03:30 PM
Ohiosweetheart Ohiosweetheart is offline
 
Join Date: Dec 2005
Location: N.E. Ohio
Posts: 2,291
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are there any known issues concerning AME and the vBBlog?

I just tried posting to our blog, and got the following database error, which would seem to involve AME?

Quote:
Database error in vBulletin 3.8.2:

Invalid SQL:
UPDATE blog_text SET ame_flag=0 WHERE blogtextid = 0;

MySQL Error : Unknown column 'ame_flag' in 'field list'
Error Number : 1054
Request Date : Thursday, June 18th 2009 @ 12:25:30 PM
Error Date : Thursday, June 18th 2009 @ 12:25:31 PM
Script : http://rushhourmadness.com/blog_post...teblog&blogid=
Referrer : http://rushhourmadness.com/blog_post.php?do=newblog
IP Address : 99.138.12.173
Username : Peggy
Classname : vB_Database
MySQL Version : 5.0.77-community
any ideas here?
Thanks in advance.
Reply With Quote
  #630  
Old 06-19-2009, 03:32 PM
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 means AME was installed before vbBlog. Check the AME tools menu in the admincp. There is an option to add the ame_flag column you need
Reply With Quote
  #631  
Old 06-19-2009, 03:34 PM
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 Kavadas View Post
AME only works for me when I surround the media's URL with AME and /AME (bracketed, of course).
Do you have vbseo running and if so, are you using it to track outbound links? Or maybe any other link modifying hack?
Reply With Quote
Reply

Thread Tools

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 10:30 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
  • Page Generation 0.10038 seconds
  • Memory Usage 2,362KB
  • 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_code
  • (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
  • (5)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