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
  #172  
Old 06-19-2017, 10:18 AM
durham durham is offline
 
Join Date: Oct 2008
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Found solution. Add ?rel=0 instead of &rel=0

it works for me anyway!
Reply With Quote
Благодарность от:
MarkFL
  #173  
Old 07-31-2017, 10:32 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Has anyone tried this on PHP 7.0+ and VB 3.8.11?
Reply With Quote
  #174  
Old 07-31-2017, 02:45 PM
Rafa-el's Avatar
Rafa-el Rafa-el is offline
 
Join Date: Feb 2010
Location: Nicaragua
Posts: 170
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
Has anyone tried this on PHP 7.0+ and VB 3.8.11?
Yes, it worked.
Reply With Quote
Благодарность от:
BirdOPrey5
  #175  
Old 07-31-2017, 07:28 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Rafa-el View Post
Yes, it worked.
I'm sorry but are you sure you're running PHP 7.0.x or 7.1.x? I ask because I am looking through the code and for example in the /includes/ directory there is a file called ame_bbcode.php and one line, among many, is:

Code:
$text = preg_replace('/<<<@!([0-9]+)!@>>>/sme', 'ame_unsubstitute(\'\\1\',$ame_subbed)', $text);
The problem being that pre_replace() call is using the "e" modifier. While this would have worked in all versions of PHP 5.x.x, just logging a warning on PHP 5.5.x and 5.6.x, support for the e modifier was totally removed in PHP 7.x so that code could no longer function.

Those were the same kind of lines preventing the older version of this mod from running on PHP 7.x.

Of course maybe I'm missing something and those lines don't actually get triggered or something....
Reply With Quote
  #176  
Old 08-01-2017, 02:04 PM
Rafa-el's Avatar
Rafa-el Rafa-el is offline
 
Join Date: Feb 2010
Location: Nicaragua
Posts: 170
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
I'm sorry but are you sure you're running PHP 7.0.x or 7.1.x? I ask because I am looking through the code and for example in the /includes/ directory there is a file called ame_bbcode.php and one line, among many, is:

Code:
$text = preg_replace('/<<<@!([0-9]+)!@>>>/sme', 'ame_unsubstitute(\'\\1\',$ame_subbed)', $text);
The problem being that pre_replace() call is using the "e" modifier. While this would have worked in all versions of PHP 5.x.x, just logging a warning on PHP 5.5.x and 5.6.x, support for the e modifier was totally removed in PHP 7.x so that code could no longer function.

Those were the same kind of lines preventing the older version of this mod from running on PHP 7.x.

Of course maybe I'm missing something and those lines don't actually get triggered or something....
Honestly that really didn't caused a problem on the forum that I tested it, I'll dig into it later today but if its just a warning it might have been unnoticed.
Reply With Quote
  #177  
Old 08-01-2017, 06:39 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's a warning but unlike PHP 5.x the code can't function as intended in PHP 7.x. Perhaps the code is rarely needed or the e modifier was a mistake to begin with. There are reasons, just surprising. Thank you again.
Reply With Quote
  #178  
Old 09-29-2017, 02:10 AM
bbqchef33 bbqchef33 is offline
 
Join Date: Sep 2005
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by durham View Post
I have the same issue - adding rel=0 didnt fix for me. This must be a serious issue for lots of forums now https is being pushed so hard by Google.

Any fix please?
Quote:
Originally Posted by durham View Post
Found solution. Add ?rel=0 instead of &amp;rel=0

it works for me anyway!

Same here. We've been running for years without issue. We just upgraded to HTTPS and all our videos are just a blank post. I edited the replacement HTML to include HTTPS and ?rel=0, but stilll no video.

Heres the edited code. Any Ideas?

<iframe width="$ameinfo[width]" height="$ameinfo[height]" src="https://www.youtube.com/embed/$p1?start=$p2?rel=0" frameborder="0" allowfullscreen></iframe>
Reply With Quote
  #179  
Old 10-07-2017, 12:42 PM
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Location: Michigan
Posts: 2,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I had this working fine with https but now, it stopped working for me as well.
Reply With Quote
  #180  
Old 01-02-2018, 05:05 AM
Goomzee Goomzee is offline
 
Join Date: Apr 2008
Location: Philippines
Posts: 588
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

same thing happened with me
Reply With Quote
  #181  
Old 01-18-2018, 05:37 PM
bbqchef33 bbqchef33 is offline
 
Join Date: Sep 2005
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

anything folks?? same problem for months since we went with SSL. all links are white screens. Changed everything to https and ?rel=0 with no luck. Ive run out of ideas.
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 02:42 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.05511 seconds
  • Memory Usage 2,359KB
  • Queries Executed 29 (?)
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
  • (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
  • (5)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)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_postinfo_query
  • fetch_postinfo
  • 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