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
  #1562  
Old 10-11-2011, 09:10 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 texasasl View Post
I've seen all xml definitions but I cannot find the extension for .flv there is only extension for .swf.
Is there anyway to modify it by only replacing the .swf with .flv in the code??

Thanks in advance
Sorry, I sometimes confuse the two. FLV files require a player of some kind to work. They don't stream or play on their own like SWF files do in browser. I have a demo that I hope to get working for FLV files in the JW Player, but right now the JW Player/AME integration (also in the Add On section above) only supports YouTube. Keep on eye on that thread for updates.
Reply With Quote
  #1563  
Old 10-11-2011, 04:17 PM
texasasl's Avatar
texasasl texasasl is offline
 
Join Date: Jul 2005
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Digital Jedi View Post
Sorry, I sometimes confuse the two. FLV files require a player of some kind to work. They don't stream or play on their own like SWF files do in browser. I have a demo that I hope to get working for FLV files in the JW Player, but right now the JW Player/AME integration (also in the Add On section above) only supports YouTube. Keep on eye on that thread for updates.
Thank you for your clarification.
Reply With Quote
  #1564  
Old 10-13-2011, 01:44 PM
Dj Smuggla Dj Smuggla is offline
 
Join Date: Sep 2009
Posts: 148
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
I wonder if anyone has some ideas on this... I (and a few others) are trying to get AME to work on posts that are made via an RSS feed.

For example if you have a youtube RSS feed you need to "edit" and "save" each post for the video to actually embed.

I am close to solving this, I think, but still not working.

I have edited the file rssposter.php in the includes/cron/ directory... Since there are no hooks.

Find this code:
PHP Code:
                        $rsslog_insert_sql[] = "($item[rssfeedid]$itemid, '$itemtype', '" $vbulletin->db->escape_string($uniquehash) . "', '" $vbulletin->db->escape_string($item['contenthash']) . "', " TIMENOW ", $threadactiontime)";
                        
$cronlog_items["$item[rssfeedid]"][] = "\t<li>$vbphrase[$itemtype] <a href=\"$itemlink\" target=\"logview\"><em>$itemtitle</em></a></li>";
                    } 
And right after it add:
PHP Code:
//Set AME Flag Start
      
require_once(DIR '/includes/functions.php');
       
$amethread fetch_threadinfo($itemid);
          
$postid $amethread['firstpostid'];
          
          
$post fetch_postinfo($postid);
          
          
$post['message'] = $post['pagetext'];
          
          require_once(
DIR '/includes/ame_bbcode.php');
          
$value ame_prep_text($post['message']);
          echo 
$post['message'];
          if (
$value == 1)
          {
                  
$vbulletin->db->query_write("UPDATE " TABLE_PREFIX "post SET pagetext ='" $vbulletin->db->escape_string($post['message']) . "', ame_flag=1 WHERE postid=$post[postid]");
          }
          else if (
$value == 2)
          {
                  
$vbulletin->db->query_write("UPDATE " TABLE_PREFIX "post SET pagetext ='" $vbulletin->db->escape_string($post['message']) . "', ame_flag=1 WHERE postid=$post[postid]");
          }
 
//Set AME Flag End 
This code will set the ame_flag to "1" in the database for the post but for some reason does NOT change the [url] bbcode to [ame]...

I use the same query for both value ==1 and ==2 because "2" I believe disables AME in the post, which I don't want- I will assume for every RSS post I want it enabled, so I set the flag to 1 in both cases.

Is there something else I am missing? Do I need to run something else besides ame_prep_text?

Maybe there is supposed to be some difference between $post[message] and $post[pagetext] that I am missing... ?
Yea Digital Jedi do you know how to make the RSS poster embed the link when it posts links to videos?

Thanks
Reply With Quote
  #1565  
Old 10-16-2011, 02:58 AM
420 420 is offline
 
Join Date: Nov 2004
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

We have VB 3.86 with PassiveVid plugin and now when people post the new YouTube structured urls, they don't make a player in thread, just a text link.

Does this plugin work better and if so, does it work on the new YouTube url structure?

If I replace PassiveVid with this plugin, will all of our old archive threads make players as well?

Thank you so very much for your valuable time, energy and support.

Namaste
Reply With Quote
  #1566  
Old 10-16-2011, 05:52 AM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I sort of dread passiveVid questions, as I never really know what to say for certain. Since passiveVid doesn't use tags of any kind, then I'm pretty sure you won't be getting any kind of conversion for old posts. Other users have tried and they seem to get mixed results. I know that some users have tried installing the two together, and this is big mistake. Also, passiveVid seems to leave some tables in the database after install, so you should check that before installing another media hack. This is, of course, not based on personal experience, but on various reports I've gotten from other users.

My updated set of definitions supports most, if not all of YouTube's URL strings.
Reply With Quote
  #1567  
Old 10-17-2011, 09:33 AM
Centurios Centurios is offline
 
Join Date: Oct 2011
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

in this mode also shows only links to videos in IE 9

Any fix?
Reply With Quote
  #1568  
Old 10-22-2011, 01:46 AM
Wonksta Wonksta is offline
 
Join Date: Apr 2009
Posts: 325
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there anyway for the Settings to accept percentages in Default post width? As I run a wrapper with min and max-width this would be really awesome because width would change depending on the users screen size and resolution.

I would keep Default post hight as px though....

Thank you!
Reply With Quote
  #1569  
Old 10-25-2011, 12:07 AM
Quads Quads is offline
 
Join Date: Jul 2008
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by 420 View Post
We have VB 3.86 with PassiveVid plugin and now when people post the new YouTube structured urls, they don't make a player in thread, just a text link.

Does this plugin work better and if so, does it work on the new YouTube url structure?

If I replace PassiveVid with this plugin, will all of our old archive threads make players as well?

Thank you so very much for your valuable time, energy and support.

Namaste
Subscribed. I'm in the same boat.
Would love to know if you got it working.
I blew away my test server the other day so I can't test it at the moment, but hope to test myself, or hear from someone else who has.
Reply With Quote
  #1570  
Old 10-29-2011, 09:21 AM
texasasl's Avatar
texasasl texasasl is offline
 
Join Date: Jul 2005
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Digital Jedi View Post
Sorry, I sometimes confuse the two. FLV files require a player of some kind to work. They don't stream or play on their own like SWF files do in browser. I have a demo that I hope to get working for FLV files in the JW Player, but right now the JW Player/AME integration (also in the Add On section above) only supports YouTube. Keep on eye on that thread for updates.
I am following your suggestion keeping an eye on this thread but I cannot see any improvement.
Thank you
Reply With Quote
  #1571  
Old 10-31-2011, 04:28 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 texasasl View Post
I am following your suggestion keeping an eye on this thread but I cannot see any improvement.
Thank you
That thread. Not this thread. When I post an update, it will be there.
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 01:02 AM.


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.23469 seconds
  • Memory Usage 2,382KB
  • 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