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

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
  #2  
Old 01-20-2009, 03:04 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

I hate long first posts, so I thought I would reserve this one for the Features and FAQ

Features:
  • Allows user to simply 'paste' in a URL (i.e. a youtube link) without needing to know any special tags. However instead of displaying just the URL, it will show the media embedded within the post
  • is lightweight as it does all of her chores without the overhead of having 1 bbcode per pattern or trying to parse a post every single time it gets displayed with a bunch of patterns. AME radically reduces overhead and speeds up processing. The only time ame will kick in is after creating a new post or after editing an existing one (or if an ame tag is found)
  • is extensible. She allows you to add, edit, delete, import and export patterns. That way you can decide which services to support, how they should look and then share them with others! At time of typing this, there are over 150 media sites that have been contributed by vBulletin.org members
  • can extract the media title (requires your server to allow url wrappers with fetch_contents or ccurl)
  • can extract embed code from sites whose URLs do not contain sufficient information to embed the video
  • can rebuild your old posts to convert your 'other' mediaish tags into URL tags.
  • can rebuild your old posts, blogs, comments, visitor and social group messages to convert URL tags into ame tags where needed
  • can convert her codes BACK to url codes so you're not stuffed with a bunch of dead tags if you uninstall!
  • won't uglify your site by having videos appear in quotes, php, code or html blocks (blech!)
  • can be globally disabled
  • can be excluded from forums
  • can exclude usergroups
  • can be toggled on/off per post, blog, comment, visitor and social group message
  • would cook dinner for you if she had arms
  • can wrap the output in a 'container' with original URL
  • has a super comprehensive admincp help system. Yes, I actually took the bloody time to add all the info you need into vB's admincp help system. If you ask a silly question in this thread that is addressed in the help system, you will be taunted.
  • is fully phrased
  • has hooks around integral operations so you can extend it
  • Supports embedding in vbBlog, Visitor Messages and Social Groups.
  • Can be disabled in one or more of the following sections: Posts, vbBlog, Visitor Messages and/or Social Groups
  • Validation ability. This will help prevent media being embedded that can not be embedded (i.e. youtube videos that the author has stipulated can not be shown off of youtube). This option requires the extraction option to be turned on and a valid validation regexp. I have included one in the default youtube version. When a video on you tube gets embedded, but the author doesnt allow embedding, a link (with icon) is shown instead.
  • Ability to prevent non authorised usergroups from viewing (see Readme file in zip for more info)
  • Usergroup permissions (edit usergroup to adjust edit/view permissions)
  • Template driven system
  • Signatures supported
  • Different sizes and template configurations for each supported zone (posts, blogs, groups, visitor messages and signatures)
  • A couple new hooks (Mainly to support a future add on for AME media in profiles)
  • Notfication system (similar to vB's to check for errors)
  • Definition keys for easier updating of definitions and to use in templates
  • File caching system which radically reduces processing
  • And more that I cant think of off the top of my head!

FAQ's
  • Can you make me a definition for xyz? Personally, no - I just don't have the time, however there are plenty others that do (Digital Jedi being the grand champion).
  • Can I use my definitions from a previous version? You should be fine with many of the definitions for AME 2.0 however many of the new features will not work until the definitions have been updated.
Reply With Quote
  #3  
Old 01-20-2009, 03:05 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

Troubleshooting


I keep getting 'doubled up' media or the media is all wacked out.
This is usually caused by duplicate definitions. Check you don't have duplicates. Duplicates are bad.

The video embeds fine, but when I click to start it, it says the video isn't available anymore. Yet, when I click the link, it is! What gives!?! Gief video!
This is because the publisher of the video has disallowed off site embedding. AME has a feature to help prevent this (see next point).

Media won't embed, it just gives the link with an icon after it.
This means that the publisher of the video has disallowed the video to be shown off site. Its actually a feature of AME to do that

I can't see me AME CP or I keep getting errors similar to:Warning: require_once([path]/includes/ame_bbcode.php) [function.require-once]: failed to open stream: No such file or directory in blahblahblah

This means that you have not correctly uploaded some (or ALL) of the files in the upload/forums folder. Simply FTP ALL of the contents of the upload/forums folder into your forum directory (as the per the readme).

Here is the file structure of the package:

Code:
+Upload
      + Forums
            + admincp
                  - automediaembed_admin.php
            + amecache
                  - index.html
            + clientscript
                  - ame.js
            + images
                  + misc
                        amazon_icon.gif
                        film_go.png
            + includes
                  ame_bbcode.php
                  + xml
                        bitfield_automediaembed.xml
                        cpnav_automediaembed.xml
                        hooks_automediaembed.xml
If you have tripple checked that the files are there are you are still getting errors, check that the server has permission to execute the files (they should really have the same owner as your other vB files)
Reply With Quote
  #4  
Old 01-20-2009, 03:44 PM
SwollenCranium's Avatar
SwollenCranium SwollenCranium is offline
 
Join Date: Oct 2007
Location: Raleigh, NC
Posts: 263
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When I finished uploading the product and saved, I got some weird "parse error".

The mod works fine. Just a heads up to you.

I am unable to find anything wrong with my forums.


EDIT: Here is the error;

Reply With Quote
  #5  
Old 01-20-2009, 03:55 PM
xili4n xili4n is offline
 
Join Date: Mar 2008
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/radiosww/public_html/forum/vb/admincp/plugin.php(1995) : eval()'d code on line 8
Adding index to post table. Please standy by.... this bit can take a few...
Adding index to Blog and Social Groups (if needed). This could take a sec... hang on!
Adding index to Visitor Messages (if needed). This could take a sec... hang on!
Reply With Quote
  #6  
Old 01-20-2009, 03:57 PM
redraider redraider is offline
 
Join Date: Sep 2006
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I get the exact same error as above :

PHP Code:
Importing ProductPlease Wait...

[:]

Parse errorsyntax errorunexpected T_STRINGexpecting ',' or ';' in /home/scorech/public_html/gmat/ad_console/plugin.php(1995) : eval()'d code on line 8
Adding index to post table. Please standy by.... this bit can take a few...
Adding index to Blog and Social Groups (if needed). This could take a sec... hang on!
Adding index to Visitor Messages (if needed). This could take a sec... hang on! 
Reply With Quote
  #7  
Old 01-20-2009, 03:58 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

Thanks guys... just fixed it. It was a bug with the check to make sure files were uploaded first. It wont have affected your installs, but it also wont happen again.

Also, thanks to the lame-o who rated it 1 star. Can only assume its some disgruntled 'other media hack' coder who couldn't pull something as snazzy as this off
Reply With Quote
  #8  
Old 01-20-2009, 04:02 PM
The Notorious's Avatar
The Notorious The Notorious is offline
 
Join Date: Jan 2006
Posts: 118
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice, will install right after 3.8.
Reply With Quote
  #9  
Old 01-20-2009, 04:03 PM
tei727's Avatar
tei727 tei727 is offline
 
Join Date: Feb 2006
Posts: 162
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

WHen I convert codes i get:

You don't have permission to access /forum/admincp/automediaembed_admin.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Reply With Quote
  #10  
Old 01-20-2009, 04:03 PM
SemperFideles's Avatar
SemperFideles SemperFideles is offline
 
Join Date: Oct 2006
Location: Northern VA
Posts: 223
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I had 2.5RC1 already installed and successfully working. I uploaded the contents of the forum folder to my directory (did this twice) but when I try to install the product I receive this error:

Quote:
It seems like you are missing some of the required AME files.
Please upload the contents of the upload/forums folder into your forums directory before installing this modification.j
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 09:15 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.05901 seconds
  • Memory Usage 2,350KB
  • Queries Executed 25 (?)
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
  • (1)bbcode_code
  • (1)bbcode_php
  • (1)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
  • (2)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (10)post_thanks_box
  • (6)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (3)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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