Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons

Reply
 
Thread Tools
DJ's AME :: The Ultimate Automatic Media Embedder :: 2.5.7 Details »»
DJ's AME :: The Ultimate Automatic Media Embedder :: 2.5.7
Version: 2.5.7, by Digital Jedi Digital Jedi is offline
Developer Last Online: Sep 2023 Show Printable Version Email this Page

Category: Major Additions - Version: 3.8.x Rating:
Released: 10-14-2013 Last Update: 10-17-2013 Installs: 97
Supported DB Changes Uses Plugins Auto-Templates
Additional Files Translations  

From the team who brought you the blockbuster film "Yahtzee!", comes the next major motion picture about incredibly bad and arbitrary puns:

AME 2.5.7: Electric Boogaloo


AME automatically embeds media in posts without the need for pesky BBCode cluttering up your editor toolbar. It's also lightweight, and saves resources that BBCode would ordinarily consume. Your users don't even have to know you have AME installed. If they share a link from YouTube, Dailymotion, Amazon, Metacafe or Vimeo, AME automatically embeds the content for them. No special code to learn. No instructions for newbies to understand.

In addition, AME allows you to create, import and export support for individual websites in the form of media definitions. These XML files expand your AME to support a limitless number of websites from around the net and let you share them with the community. We currently have around 200 media definitions collected at this repository thread. If you want additional support for website not listed, please ask for it there. Odds are, we might already have one. (TIP: Be sure to check the Add-Ons section below for stuff you might miss out on, otherwise.)


[hr]#CCCCCC[/hr]
CREDITS

This modification was originally built by [name]The Geek[/name], who is no longer coding for vBulletin. We miss him. But he gave permission for someone to continue to build upon his work. All I've done is modify the code a little to support additional functionality and to provide a place to continue to support the product. The product didn't need too much tweaking, but I did manage to add some new features I think you will enjoy, which I'll lay out in the feature list below.

[hr]#CCCCCC[/hr]
RECOMMENDATIONS

It is HIGHLY recommended that you read the READ ME.html file included in the ZIP file before you upgrade or install. You don't want to be blind-sided, now do you?


[hr]#CCCCCC[/hr]
NEW INSTALLATIONS
  1. Download and Unzip the contents of the ZIP file.
    .
  2. Upload the contents of the "UPLOAD to Forum Root" folder to your forum's root directory. (This is the directory where your vBulletin is physically installed.) Also, if you've renamed your Admin CP folder, be sure to move the admincp folder's contents to your renamed directory.
    .
  3. CHMOD your amecache folder to 777.
    .
  4. Go to your Admin CP ?? Plugins & Products ?? Manage Products ?? Add/Import Products and import the product-djs_AME-2.5.7.xml file.
    .
  5. Your Admin CP should automatically refresh and you should now see the AME CP somewhere below your vBulletin Options menu.

[hr]#CCCCCC[/hr]
TO UPGRADE

If you are upgrading from AME 2.5.6.
  1. Delete custom definitions specifically for Amazon, Dailymotion, Metacafe, Vimeo and YouTube. (Key names: amazon, dailymotion, metacafe, vimeo and youtube) Theses five definitions are now hard coded into the product and will be updated along with the product if need be. You can back these up if you need to, but keep in mind if you use any custom defs for these sites, they will be duplicated every time you upgrade AME. So don't ask my why your videos are doubled up, or I'll throw rocks at you.
    .
  2. Upload the contents of the "UPLOAD to Forum Root" folder to your forum's root directory, overwriting previous versions of the files.
    .
  3. Ensure that your amecache directory is still CHMOD'd to 777.
    .
  4. Import the product-djs_AME-2.5.7.xml file into your Product Manager, making sure to set the option to Allow Overwrite to Yes.
    .
  5. If you are using the file cache, it is strongly recommended that you re-sync your cache using the Tools menu.

[hr]#CCCCCC[/hr]
WHAT ELSE?

The following five posts will include:
  • Additional Screenshots
  • Full Features List
  • FAQ
  • Resources to develop your own custom definitions
  • AME History/Changelog

Download Now

File Type: zip DJ's AME 2.5.7.zip (475.2 KB, 927 views)

Screenshots

File Type: png screen-demo-1.png (48.8 KB, 0 views)
File Type: png screen-demo-2.png (367.6 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
3 благодарности(ей) от:
CreativeIT, ozzy47, xorex

Comments
  #152  
Old 10-30-2015, 03:28 AM
weindians weindians is offline
 
Join Date: Sep 2006
Posts: 130
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have an issue with posting new threads with this add-on after upgrading to 3.8.9 (running php 5.5 or 5.6), new thread is not being taken to thread page, hanging there, but thread is actually posted... i individually disabled each plugins and A.M.E 2.5.7 is the culprit
Reply With Quote
  #153  
Old 10-30-2015, 06:56 PM
Triky's Avatar
Triky Triky is offline
 
Join Date: Mar 2007
Location: [Italy]
Posts: 728
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If I link a youtube video like this, it convert it! And it shound't! Anyway to fix this?

Quote:
Originally Posted by weindians View Post
i individually disabled each plugins and A.M.E 2.5.7 is the culprit
Probably it conflicts with other plugins.
Reply With Quote
  #154  
Old 10-31-2015, 12:20 PM
weindians weindians is offline
 
Join Date: Sep 2006
Posts: 130
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Triky View Post
Probably it conflicts with other plugins.
But in 3.8.7 they were'nt conflicting though.. Just an upgrade cause that, especially when 3.8.9 only added php 5.5-5.6 supported
Reply With Quote
  #155  
Old 11-01-2015, 07:16 PM
Triky's Avatar
Triky Triky is offline
 
Join Date: Mar 2007
Location: [Italy]
Posts: 728
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by weindians View Post
But in 3.8.7 they were'nt conflicting though.. Just an upgrade cause that, especially when 3.8.9 only added php 5.5-5.6 supported
I had to unistall this one. I founded another BBcode that does the same and it's more pratical. You can read more here: https://theadminzone.com/threads/gen...eo-tag.136956/
Reply With Quote
  #156  
Old 11-26-2015, 09:55 PM
woostar's Avatar
woostar woostar is offline
 
Join Date: Aug 2006
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice A request for any possible future release - Having a box where you can interact with the parts of the Regular Expression in PHP instead of (or as well as) Replacement HTML.

For example:

PHP
Code:
include('curl_parser.php);
Replacement HTML
Code:
<iframe src="http://www.domain.com/?var=$my_variables_from_curl_parser.php"></iframe>

OR

PHP
Code:
include('curl_parser.php);
echo myFunction($p1);

Would made interacting with social media API's a lot easier
Reply With Quote
  #157  
Old 01-21-2016, 03:05 PM
socialvisionsbcn's Avatar
socialvisionsbcn socialvisionsbcn is offline
 
Join Date: Jul 2010
Location: Barcelona - Spain
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

From the readme:
Quote:
Delete custom definitions specifically for Amazon, Dailymotion, Metacafe, Vimeo and YouTube. (Key names: amazon, dailymotion, metacafe, vimeo and youtube) Theses five definitions are now hard coded into the product
Well, the definition for Vimeo is not installed when installing the product. So, I deleted the old one and no new one was installed :down::down:
Reply With Quote
  #158  
Old 06-06-2016, 04:55 PM
Tourmeister Tourmeister is offline
 
Join Date: Nov 2005
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The AME definition I have for Google Maps is no longer working. Is there anyone with a working definition that would be willing to share it here? I am not a coder, so I really need to be able to just cut/paste the regular expression and replacement code if possible.

This is what I have for the regular expression that used to work:

Code:
https://maps\.google\.com[\w.]*/[maps]*\?[\w]*=[\w+&;='%,.-]+
and this is the replacement code:

Code:
<iframe width="800" height="600" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="$ameinfo[url]&output=svembed"></iframe>
I know nothing about how this stuff works...
Reply With Quote
  #159  
Old 06-30-2016, 11:26 PM
Gabe505 Gabe505 is offline
 
Join Date: Feb 2004
Location: Albuquerque NM
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone have soundcloud links working?
Reply With Quote
  #160  
Old 07-11-2016, 03:18 PM
RapRoyalty RapRoyalty is offline
 
Join Date: Dec 2015
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Gabe505 View Post
Anyone have soundcloud links working?
There may be a better way, but this is what works for us.

1. Register your app to get a client ID number.
2. Replace the previous Soundcloud Replacement expression with this...

Code:
<script src="https://connect.soundcloud.com/sdk/sdk-3.0.0.js"></script>
<script>
  SC.initialize({
    client_id: 'YOUR CLIENT ID NUMBER GOES HERE',
    redirect_uri: 'http://example.com/callback'
  });
</script>




<script src="https://w.soundcloud.com/player/api.js"></script> 

<script type="text/javascript">    soundcloud.addEventListener('onPlayerReady', function(player, data) {      player.api_play();    }); </script>  

<div id="putTheWidgetHere"></div>
<script type="text/javascript">
  SC.oEmbed('http://soundcloud.com/$p1/$p2', {
    element: document.getElementById('putTheWidgetHere')
  });
</script>


<span style="text-align:center" class="smallfont">  <a href="$ameinfo[url]">$ameinfo[title]</a></span>
Example: http://www.rap-royalty.com/forum/aud...get-shook.html

You'll have to figure out the customization to what you want with the dimensions and look that you want it to be like, but otherwise, save and enjoy.
Reply With Quote
  #161  
Old 07-14-2016, 12:38 AM
Gabe505 Gabe505 is offline
 
Join Date: Feb 2004
Location: Albuquerque NM
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My problem is the soundcould links are automatically being turned into urls. Also, never had a app.. we've been using a custom bbcode.
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 04:38 PM.


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.13593 seconds
  • Memory Usage 2,355KB
  • 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
  • (6)bbcode_code
  • (5)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
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (3)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