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
  #1112  
Old 01-06-2010, 09:04 PM
RadioErewan RadioErewan is offline
 
Join Date: Feb 2008
Location: Poland
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey, Geek, where descriptions are inserted into DB? I have ISO-8859-2 forum, and titles from YT containing characters outside of ASCII7 are destroyed (guess it is not iconved).
Reply With Quote
  #1113  
Old 01-06-2010, 09:12 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 drjdh View Post
This application doesn't seem to work unless HTML is turned on for the forum. Is there a way to get around this? If not, is this a big security concern?
Wha? Where on earth did you hear that HTML needed to be on?

Quote:
Originally Posted by RadioErewan View Post
Hey, Geek, where descriptions are inserted into DB? I have ISO-8859-2 forum, and titles from YT containing characters outside of ASCII7 are destroyed (guess it is not iconved).
Er... do you mean the titles for the link? When you post a link to youtube and you have extraction on, it will go fetch the page title and lin it up as [ame="url"]title of page[/ame]

I did some encoding for multiple languages, but as I only speak English (and not very well) I am at a disadvantage.
Reply With Quote
  #1114  
Old 01-06-2010, 09:29 PM
drjdh's Avatar
drjdh drjdh is offline
 
Join Date: Nov 2009
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It only works if I have HTML enabled for the forum. Otherwise, I get only the link showing up instead of the video.
Reply With Quote
  #1115  
Old 01-06-2010, 09:37 PM
RadioErewan RadioErewan is offline
 
Join Date: Feb 2008
Location: Poland
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

See here - it is publicly available on my forum
http://forum.olympusclub.pl/showpost...postcount=1128
And second video should contain "Paweł" not "PaweĹ�" on title bar as it is on original youtube page
http://www.youtube.com/watch?v=zlFbqtNjB0A
Hope will be able to find where you are writing it, but you know your code and can hint me, where to search for it. iconv is needed.
Would love to run my forum on UTF, but you know, it is not supported ;-)

Regards
Reply With Quote
  #1116  
Old 01-06-2010, 09:39 PM
drjdh's Avatar
drjdh drjdh is offline
 
Join Date: Nov 2009
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is the error message that I am getting:

The path to your file cache is set to /amecache/ which appears to be invalid and as such, the file cache is not correctly working. The suggested default value is /hermes/bosweb/web183/b1838/ipg.drjdh/amecache/.
Reply With Quote
  #1117  
Old 01-06-2010, 09:50 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 drjdh View Post
It only works if I have HTML enabled for the forum. Otherwise, I get only the link showing up instead of the video.
Can you post a link as an example.

Quote:
Originally Posted by RadioErewan View Post
See here - it is publicly available on my forum
http://forum.olympusclub.pl/showpost...postcount=1128
And second video should contain "Paweł" not "PaweĹ�" on title bar as it is on original youtube page
http://www.youtube.com/watch?v=zlFbqtNjB0A
Hope will be able to find where you are writing it, but you know your code and can hint me, where to search for it. iconv is needed.
Would love to run my forum on UTF, but you know, it is not supported ;-)

Regards
Not sure where the encoding will need to be done. Most likely here:

in includes/ame_bbcode.php specifically function ame_fetch_www_title

PHP Code:
$title unhtmlspecialchars($title); 
or possibly here (though this is at runtime):

includes/ame_bbcode.php
PHP Code:
$ameinfo['title'] = htmlspecialchars_uni($param1); 

Quote:
Originally Posted by drjdh View Post
This is the error message that I am getting:

The path to your file cache is set to /amecache/ which appears to be invalid and as such, the file cache is not correctly working. The suggested default value is /hermes/bosweb/web183/b1838/ipg.drjdh/amecache/.
That is a warning that your path to the file cache is incorrect. It needs the full server path to the folder. Listen to AME, she is giving you the answer
Reply With Quote
  #1118  
Old 01-06-2010, 10:39 PM
drjdh's Avatar
drjdh drjdh is offline
 
Join Date: Nov 2009
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

First is the image of the website.
Second image is of the settings panel (still getting error message).
Attached Images
File Type: jpg Try1.jpg (51.6 KB, 0 views)
File Type: jpg Try 2.jpg (85.7 KB, 0 views)
Reply With Quote
  #1119  
Old 01-06-2010, 11:05 PM
drjdh's Avatar
drjdh drjdh is offline
 
Join Date: Nov 2009
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, I got it working.

Problem: Needed to install the Product-ame.xml AFTER the files are uploaded.

Silly me
Reply With Quote
  #1120  
Old 01-06-2010, 11:47 PM
RadioErewan RadioErewan is offline
 
Join Date: Feb 2008
Location: Poland
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by The Geek View Post
in includes/ame_bbcode.php specifically function ame_fetch_www_title

PHP Code:
$title unhtmlspecialchars($title); 
First shot:
PHP Code:
$title unhtmlspecialchars(mb_convert_encoding ($title'ISO-8859-2''UTF-8' )); 
and everything works like a charm.

Thank you master!
Reply With Quote
  #1121  
Old 01-07-2010, 12:58 PM
Musika Musika is offline
 
Join Date: Jul 2008
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think the definition for clipfish has changed, cause it doesn't work.

This is an example expression What is the Media Definition Code, Regular expression and Replacement so that I can fix it?
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 07:26 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.17428 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
  • (4)bbcode_php
  • (7)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
  • (5)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