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
  #702  
Old 07-07-2009, 06:25 AM
newsoftw newsoftw is offline
 
Join Date: Nov 2008
Location: Pakistan
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by The Geek View Post
I got a trojan warning from my virus scanner with the full page ads that appear going to your site.

I then tested the you tube link which works perfect with a default installation of vb3.8.3 and AME 2.5.5. I didn't test the meta cafe as that is a custom definition so you will need to speak to the author.

If its an old post, try editing and saving it again. If it isnt a default definiton, you may want to reinstall.

HTHs!
i edit all old post but not show video and even i removed AME and reinstall again but dtill same and video should not display....just show only links...


please help on that issue

Thanks in ADVNS
Reply With Quote
  #703  
Old 07-07-2009, 07:16 AM
Brathamike Brathamike is offline
 
Join Date: Mar 2009
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How do i set this up with a local server?
Reply With Quote
  #704  
Old 07-07-2009, 09:02 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 Brathamike View Post
How do i set this up with a local server?
Try looking at DJ's add on definitions. I think he has some definitions for local content.
Reply With Quote
  #705  
Old 07-07-2009, 09:05 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 newsoftw View Post
i edit all old post but not show video and even i removed AME and reinstall again but dtill same and video should not display....just show only links...


please help on that issue

Thanks in ADVNS
Now you have another mod that prevents unregistered users from seeing links which means I can't even look at the link.

If its a fresh install of AME using default definitions and it isn't working, then it will be a conflict. The most common is a mod that changes URLs. If you are using vbSEO, make sure it isn't set to track outbound links.
Reply With Quote
  #706  
Old 07-07-2009, 09:10 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 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
Most likely a conflict then. It helps if you can link to a page with the URLs not working though
Reply With Quote
  #707  
Old 07-07-2009, 09:10 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 jkcerda View Post
disabled for now, same DB error, over and over and over, not sure where the conflict is, DB errors went away when I disabled it, kind of sad, hack has some nice features, I am using Yahoo for my web server host, not sure if this makes a difference at all.
what is the error?
Reply With Quote
  #708  
Old 07-07-2009, 10:30 AM
Makc666's Avatar
Makc666 Makc666 is offline
 
Join Date: Dec 2002
Location: MSK-RU
Posts: 392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can some one explain me, please, and may be add to FAQ, what it of these options do?
  1. Regular expression
  2. Replacement
  3. Extract destination data
  4. Embedding Regexp
  5. Validation

I see that some of them search code in posts, some search in remote pages, some checks.

But there must be some order what is used first and what it second.
Also, for example, when I use "Embedding Regexp" who the text is searched - throw every line?
Thanks
Reply With Quote
  #709  
Old 07-07-2009, 11:06 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

Regular Expression:
The regular expression is a pattern that matches the contents of a URL tag. For example the following regexp:

PHP Code:
[http://]*[a-z]*?[\.]?youtube\.[a-z]*?/watch\?v=([A-Z0-9._%-]*)[&\w;=\+_\-]* 
Matches all forms of youtube.com URLs in a post. If there is a match, AME knows to embed media.

Replacement:
This is the embed code that AME actually inserts into the post instead of the link. Technically speaking, it is what appears in the AME templates that are inserted into the post instead of the URL that the user entered.

Extract definition data:
This is an option that tells AME to go fetch the destination page when a match is made when the post is being saved. AME will then extract the page title. In some complex definitions where the URL doesnt contain enough information for the embedding to occur, AME may have to get the destination page to get the information required to actually embed the code.

Embedding Regexp:
In the case where the URL doesn't contain enough information for the embedding to occur, AME will need to fetch the destination page and extract the information it does need. In this case, this is the regular expression used to return the information AME needs.

Validation:
Some sites have external embedding disabled for some of its media (i.e. youtube). If extract definition data is on and there is a validation RegExp, AME will fetch the destination page and run the regexp on it (the regexp generally tries to match the text found in the destination sites Embed HTML textbox). If it finds what it is looking for, AME embeds, otherwise it asserts that the media cannot be externally embedded and as such, AME simply presents a link instead of a broken media box.

HTHs
Reply With Quote
  #710  
Old 07-07-2009, 01:23 PM
Brathamike Brathamike is offline
 
Join Date: Mar 2009
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow THANKS GEEK FOR NOT RESPONDING TO ME

Unistalled this product from my site!!!

Support sucks for this product
Reply With Quote
  #711  
Old 07-07-2009, 01:24 PM
Makc666's Avatar
Makc666 Makc666 is offline
 
Join Date: Dec 2002
Location: MSK-RU
Posts: 392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by The Geek View Post
Regular Expression:
The regular expression is a pattern that matches the contents of a URL tag.

Embedding Regexp:
In the case where the URL doesn't contain enough information for the embedding to occur, AME will need to fetch the destination page and extract the information it does need. In this case, this is the regular expression used to return the information AME needs.
I had a problem with these one two.

For example my post https://vborg.vbsupport.ru/showthread.php?p=1844418.

As you can see by default there were both options filled.

But in such case it doesn't work.

I tried to filled them both with:

PHP Code:
http://[w\.]*dailymotion\.[com|alicet\.]+/[\w/\-%]*video/([\w\-]+) 
I even tried to fill them both with:
PHP Code:
http://www.dailymotion.com/video/([\w\-]+) 
So, for example the URL:
http://www.dailymotion.com/video/x9m63m_canarias-timelapse_creation

If we open it in Firefox and look into HTML Source we can find there OUR full URL:
http://www.dailymotion.com/video/x9m63m_canarias-timelapse_creation
two times:
  1. HTML Code:
    <input type="text" readonly="readonly" onclick="this.select();" value="http://www.dailymotion.com/video/x9m63m_canarias-timelapse_creation" class="text embed_input" />
  2. HTML Code:
    <input type="text" readonly="readonly" onclick="this.select();" value="&lt;div&gt;&lt;object width=&quot;480&quot; height=&quot;291&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.dailymotion.com/swf/x9m63m_canarias-timelapse_creation&amp;related=0&quot;&gt;&lt;/param&gt;&lt;param name=&quot;allowFullScreen&quot; value=&quot;true&quot;&gt;&lt;/param&gt;&lt;param name=&quot;allowScriptAccess&quot; value=&quot;always&quot;&gt;&lt;/param&gt;&lt;embed src=&quot;http://www.dailymotion.com/swf/x9m63m_canarias-timelapse_creation&amp;related=0&quot; type=&quot;application/x-shockwave-flash&quot; width=&quot;480&quot; height=&quot;291&quot; allowFullScreen=&quot;true&quot; allowScriptAccess=&quot;always&quot;&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;b&gt;&lt;a href=&quot;http://www.dailymotion.com/video/x9m63m_canarias-timelapse_creation&quot;&gt;CANARIAS TIMELAPSE&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Загружено  &lt;a href=&quot;http://www.dailymotion.com/kromacan&quot;&gt;kromacan&lt;/a&gt;. - &lt;a href=&quot;http://www.dailymotion.com/ru/channel/creation/featured/1&quot;&gt;Arts and animation videos.&lt;/a&gt;&lt;/i&gt;&lt;/div&gt;" class="text embed_input" id="video_player_embed_code_text" />

But as I have said when I set both "Regular Expression" and "Embedding Regexp" to
PHP Code:
http://www.dailymotion.com/video/([\w\-]+) 
it doesn't work...

I can't understand why...

In other words...

Example #1
  • Regular expression
    PHP Code:
    http://[w\.]*dailymotion\.[com|alice\.it]+/[\w/\-%]*video/([\w\-]+) 
  • Extract destination data -> Yes
  • Embedding Regexp -> Empty

Works.
Example #2
  • Regular expression
    PHP Code:
    http://[w\.]*dailymotion\.[com|alice\.it]+/[\w/\-%]*video/([\w\-]+) 
  • Extract destination data -> Yes
  • Embedding Regexp
    PHP Code:
    http://[w\.]*dailymotion\.[com|alice\.it]+/[\w/\-%]*video/([\w\-]+) 

Doesn't work
  1. Why it doesn't work in second one?
  2. If I want to use Embedding Regexp how I has to fill it in this case?

Thanks
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 03:03 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.05470 seconds
  • Memory Usage 2,383KB
  • 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_html
  • (7)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