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
  #1142  
Old 01-21-2010, 09:31 PM
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 chick View Post
yes both globally and per definition or edit/resave

well I resynced everything and ran the tools and insured the settings were right YET anew post still says YouTube Broadcast yourself.

Where is this GLOBALLY located?
It's the second setting on the Settings page.
Reply With Quote
  #1143  
Old 01-22-2010, 10:46 AM
chick's Avatar
chick chick is offline
 
Join Date: Aug 2006
Location: PI Land
Posts: 381
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes it is set properly.

It is only YT that does this... here is my regular expression

Code:
http://[\w]+\.youtube\.[\w]+/watch\?v=([\w-]+)[\w&;=]*[\#t=]*([\d]*)s?
and the replacement

Code:
<object width="$ameinfo[width]" height="$ameinfo[height]">
<param name="movie" value="http://www.youtube.com/v/$p1&start=$p2"></param>
<param name="allowFullScreen" value="true"></param>
<embed src="http://www.youtube.com/v/$p1&start=$p2" type="application/x-shockwave-flash" allowfullscreen="true" width="$ameinfo[width]" height="$ameinfo[height]" wmode="transparent"></embed></object>
Is this correct?
Reply With Quote
  #1144  
Old 01-22-2010, 02:56 PM
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 chick View Post
Yes it is set properly.

It is only YT that does this... here is my regular expression

Code:
http://[\w]+\.youtube\.[\w]+/watch\?v=([\w-]+)[\w&;=]*[\#t=]*([\d]*)s?
and the replacement

Code:
<object width="$ameinfo[width]" height="$ameinfo[height]">
<param name="movie" value="http://www.youtube.com/v/$p1&start=$p2"></param>
<param name="allowFullScreen" value="true"></param>
<embed src="http://www.youtube.com/v/$p1&start=$p2" type="application/x-shockwave-flash" allowfullscreen="true" width="$ameinfo[width]" height="$ameinfo[height]" wmode="transparent"></embed></object>
Is this correct?
The definition only affects whether the video parses, not whether the title will convert. I can't remember what method The Geek used for extracting titles, but I believe your host needs to allow cURL queries from your server.

Since you're using my definition instead of the default one, post a couple of the links your using in my definitions thread so I can see if there's something different about the URLs in question.
Reply With Quote
  #1145  
Old 01-22-2010, 05:44 PM
MartinH66 MartinH66 is offline
 
Join Date: Sep 2004
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by chick View Post
Same here all mine still say this even after a fresh install, and I have extraction enabled.
From my earlier post, it's likely you have the same problem I did. The fact that you're getting "YouTube- Broadcast Yourself." means extraction is on and working it's just that you're hitting YouTube's spam protection page, which has that as its title.
Quote:
EDIT: Ok, it's YouTube - because a lot of requests have come from my domain they show a verification page where you have to enter a code before the actual content is shown. This verification page has the title "YouTube - Broadcast Yourself." Not sure if I can get round it but thought I'd report it in case other people hit the same thing.
I have fixed it on mine by editing the plugin code so that it uses YouTube's API to retrieve the video title. The code is clunky and I'm not really a coder but if the author or someone else wants to check it out they'd be very welcome.

Failing that it's a case of contacting YouTube to see if they'll remove your site from their spam list.
Reply With Quote
  #1146  
Old 01-22-2010, 09:49 PM
Nook_Neformat Nook_Neformat is offline
 
Join Date: May 2006
Location: Kiev, Ukraine
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Nook_Neformat View Post
to make it shure:
i need in includes/ame_bbcode.php
find
PHP Code:
$title unhtmlspecialchars($title); 
and replace it with
PHP Code:
$title unhtmlspecialchars(mb_convert_encoding ($title'ISO-8859-2''UTF-8' )); 
right?
guys, help me, please with it
Reply With Quote
  #1147  
Old 01-23-2010, 03:20 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 Nook_Neformat View Post
guys, help me, please with it
And you have to make sure your text editor didn't make any involuntary changes to your document without you knowing it. The code should work, so the only other reason you'd be getting a error is because something else has been changed.
Reply With Quote
  #1148  
Old 01-23-2010, 10:55 AM
Nook_Neformat Nook_Neformat is offline
 
Join Date: May 2006
Location: Kiev, Ukraine
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i checked it but still got same error:
Fatal error: Call to undefined function mb_convert_encoding() in ***/public_html/forum/includes/ame_bbcode.php on line 591

maybe someone else can help me. the problem is: i have forum in cp1251 and if title of media is in russian - it doesnt show properly. i will be glad if someone can solve this
Reply With Quote
  #1149  
Old 01-23-2010, 12:08 PM
chick's Avatar
chick chick is offline
 
Join Date: Aug 2006
Location: PI Land
Posts: 381
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

DJ, I allow cURL queries, it is my server... and all other titles work, it just youtube.

I even have a custon YouTube bbcode used as follows (which works properly and pulls the title)

Code:
[YOUTUBE]Yi-2ifWjVro&hl[/YOUTUBE]
and the html is

Code:
<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/Yi-2ifWjVro&amp;hl"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/Yi-2ifWjVro&amp;hl" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>
Martin what is the plugin code??? and where do I put it?
Reply With Quote
  #1150  
Old 01-24-2010, 07:55 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 Nook_Neformat View Post
i checked it but still got same error:
Fatal error: Call to undefined function mb_convert_encoding() in ***/public_html/forum/includes/ame_bbcode.php on line 591

maybe someone else can help me. the problem is: i have forum in cp1251 and if title of media is in russian - it doesnt show properly. i will be glad if someone can solve this
Start with a fresh copy of ame_bbcode, because I think this one has been nerfed. If you decide to make the edits again, do so in a different text editor. Something simple like Notepad. Even something as simple as a whitespace can screw PHP coding from functioning properly.
Reply With Quote
  #1151  
Old 01-24-2010, 11:40 AM
Nook_Neformat Nook_Neformat is offline
 
Join Date: May 2006
Location: Kiev, Ukraine
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

took fresh ame_bbcode and used notepad - all the same
error says:
Quote:
Fatal error: Call to undefined function mb_convert_encoding() in ***/public_html/forum/includes/ame_bbcode.php on line 591
that there are no such function "mb_convert_encoding()" so maybe problem is in some other place?
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 07:17 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.05546 seconds
  • Memory Usage 2,364KB
  • 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
  • (2)bbcode_php
  • (8)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
  • (5)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