vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Major Additions - AME 2.5 - Media Embedding for posts, sigs, vm's, groups and blogs (https://vborg.vbsupport.ru/showthread.php?t=202476)

Digital Jedi 09-06-2009 07:05 PM

It remains to be seen whether it will support media to the degree that AME can. If anything, vB emulates modification functionality, but rarely duplicates it to a great extent.

testbot 09-08-2009 12:53 PM

Request: Exclude from Styleid

this messes with our mobile site. it would be nice to exclude our mobile style.

thx :D

Gamelobby 09-08-2009 06:01 PM

Love this Mod, but i recently installed a mod called "Garage" and was wondering how to go about getting Photobucket (or any videos) to work in it.?

Garage Mod - https://vborg.vbsupport.ru/showthread.php?t=216529

I'm wondering if it is their mod that is stopping it, or this mod that needs to be adapted to work in that section.

Thanks.

Digital Jedi 09-08-2009 08:25 PM

Quote:

Originally Posted by testbot (Post 1881562)
Request: Exclude from Styleid

this messes with our mobile site. it would be nice to exclude our mobile style.

thx :D

AME uses templates, so all you would need to do is edit the template in that mobile style to display whatever you wanted.

Quote:

Originally Posted by Gamelobby (Post 1881709)
Love this Mod, but i recently installed a mod called "Garage" and was wondering how to go about getting Photobucket (or any videos) to work in it.?

Garage Mod - https://vborg.vbsupport.ru/showthread.php?t=216529

I'm wondering if it is their mod that is stopping it, or this mod that needs to be adapted to work in that section.

Thanks.

It depends on what URL strings the modification uses, but I can look into it.

testbot 09-08-2009 11:03 PM

Quote:

Originally Posted by Digital Jedi (Post 1881759)
AME uses templates, so all you would need to do is edit the template in that mobile style to display whatever you wanted.


i don't see "clientscript/ame.js" in the template. is it in a plugin? either way, it would just be nice to have a field in the settings that says exclude styleid or something. not a big deal. just a wish maybe. ;)

Digital Jedi 09-09-2009 01:38 AM

Quote:

Originally Posted by testbot (Post 1881822)
i don't see "clientscript/ame.js" in the template. is it in a plugin? either way, it would just be nice to have a field in the settings that says exclude styleid or something. not a big deal. just a wish maybe. ;)

You wouldn't need to do anything to the JS file. Just replace the contents of the AME template with something simple, like a link to the video.

testbot 09-09-2009 12:55 PM

i'm not sure if i'm getting you or not. the clientscript/ame.js is in the <head> tags which can cause problems on some mobile phones that can't handle javascript.

The Geek 09-09-2009 01:34 PM

Quote:

Originally Posted by testbot (Post 1882017)
i'm not sure if i'm getting you or not. the clientscript/ame.js is in the <head> tags which can cause problems on some mobile phones that can't handle javascript.

I can't claim to know all about mobile phone browsers, however if you look at the js file, it is one function that toggles the hiding/unhiding of the media based on usergroup permissons. Simply edit the ame_output template of your mobile style to be:

<a href="$ameinfo[url]" />$ameinfo[title]</a>

And there will be nothing for the js to do. If you do that, I would edit the mobiles ame_container template and delete all the HTML in it (so its an empty template)

That should do you fine.

iguano 09-11-2009 10:19 AM

In my forum works only YouTube link, the rest ... nothing :mad:

The Geek 09-11-2009 10:23 AM

Quote:

Originally Posted by iguano (Post 1883049)
In my forum works only YouTube link, the rest ... nothing :mad:

AME only comes with youtube and amazon. If any custom definitions aren't working, contact their author.

HTHs :)

developpez.com 09-11-2009 02:01 PM

I have a problem. When I activate the "Extract destination data" setting (required to make dailymotion to work), if the title has accentued letters in it, it will be shows in utf-8 encoded form. The mods lacks a utf8_decode() call somewhere. :(

Example :

http://www.youtube.com/watch?v=DIBGpG1Gy2g

Gives as title :
YouTube - BANDE SON -- Les sous doués passent le Bac

where it should have been
YouTube - BANDE SON -- Les sous dou?s passent le Bac

Fixed by adding utf8_decode() at the two returns in the ame_fetch_www_page function in includes/ame_bbcode.php

Gamelobby 09-12-2009 02:35 AM

Quote:

Originally Posted by Gamelobby (Post 1881709)
Love this Mod, but i recently installed a mod called "Garage" and was wondering how to go about getting Photobucket (or any videos) to work in it.?

Garage Mod - https://vborg.vbsupport.ru/showthread.php?t=216529

I'm wondering if it is their mod that is stopping it, or this mod that needs to be adapted to work in that section.

Thanks.

Quote:

Originally Posted by Digital Jedi (Post 1881759)
It depends on what URL strings the modification uses, but I can look into it.

Any luck..?
Or any questions or info i can give to help with your research.?

Also they have another mod called "Clubs" that would be cool to be able to add videos to also. :)

Digital Jedi 09-12-2009 05:07 PM

Quote:

Originally Posted by Gamelobby (Post 1883473)
Any luck..?
Or any questions or info i can give to help with your research.?

Also they have another mod called "Clubs" that would be cool to be able to add videos to also. :)

I'm still trying to catch up on a few other things.

Digital Jedi 09-12-2009 05:09 PM

Quote:

Originally Posted by The Geek (Post 1882038)
I can't claim to know all about mobile phone browsers, however if you look at the js file, it is one function that toggles the hiding/unhiding of the media based on usergroup permissons. Simply edit the ame_output template of your mobile style to be:

<a href="$ameinfo[url]" />$ameinfo[title]</a>

And there will be nothing for the js to do. If you do that, I would edit the mobiles ame_container template and delete all the HTML in it (so its an empty template)

That should do you fine.

I went ahead and made a mod thread with the template edits and marked it as an add-on to this thrad, since this question does come up a lot: AME Templates for Mobile Skin

P.Jackson 09-16-2009 11:00 AM

When we post a link we don't actually get a video, its just a link to the video. any ideas?

Digital Jedi 09-16-2009 02:28 PM

Quote:

Originally Posted by P.Jackson (Post 1885666)
When we post a link we don't actually get a video, its just a link to the video. any ideas?

Post an example of where that's happening.

rladner 09-17-2009 02:29 AM

When I view a post in IE6 through IE8 the video doesnt show at all, any recommendations?

Here is an example - http://www.40by20.com/forum/showthread.php?t=33

They all play fine except in IE6,7,8

Digital Jedi 09-17-2009 04:49 AM

Quote:

Originally Posted by rladner (Post 1886135)
When I view a post in IE6 through IE8 the video doesnt show at all, any recommendations?

Here is an example - http://www.40by20.com/forum/showthread.php?t=33

They all play fine except in IE6,7,8

Are you actually using AME 2.5, because it looks to me like your height and width parameters are being stripped out? Your source code shows the height and width for your videos blank. That would only happen if you were using a 2.0- version of AME and the definitions for 2.5.

rladner 09-17-2009 06:34 AM

Yes, I'm using 2.5. Heres what it shows on my installed products

AME - The Automatic Media Embeder 2.5.5 Automatically embeds media URLs with posts


Here's what Im using for the youtube definitions:

regular expression:
Code:

http://[\w]+\.youtube\.[\w]+/watch\?v=([\w-]+)[\w&;=]*[\#t=]*([\d]*)s?
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>

Quote:

Originally Posted by Digital Jedi (Post 1886171)
Are you actually using AME 2.5, because it looks to me like your height and width parameters are being stripped out? Your source code shows the height and width for your videos blank. That would only happen if you were using a 2.0- version of AME and the definitions for 2.5.


Digital Jedi 09-17-2009 03:23 PM

Quote:

Originally Posted by rladner (Post 1886198)
Yes, I'm using 2.5. Heres what it shows on my installed products

AME - The Automatic Media Embeder 2.5.5 Automatically embeds media URLs with posts


Here's what Im using for the youtube definitions:

regular expression:
Code:

http://[\w]+\.youtube\.[\w]+/watch\?v=([\w-]+)[\w&;=]*[\#t=]*([\d]*)s?
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>


Only thing I can think of is to check your Height and Width global settings in the AME CP and make sure they aren't blank. Then resave your posts and see if the settings stick. If that doesn't work, then go into your media definition and in the Replacement HTML put brackets around each instance of the size variables. Remember that you'll probably have more than two each definition:

Code:

width="{$ameinfo[width]}" height="{$ameinfo[height]}"
Then resave the posts and see if that helps.

P.Jackson 09-17-2009 08:45 PM

Quote:

Originally Posted by Digital Jedi (Post 1885750)
Post an example of where that's happening.


http://www.clan-killers.com/forum/ge...eens-vids.html

Happens every time we try it we have to use a ame bbcode atm to get it to show


http://www.clan-killers.com/forum/ha...tml#post195465

Digital Jedi 09-18-2009 12:08 AM

Quote:

Originally Posted by P.Jackson (Post 1886631)
http://www.clan-killers.com/forum/ge...eens-vids.html

Happens every time we try it we have to use a ame bbcode atm to get it to show


http://www.clan-killers.com/forum/ha...tml#post195465

You appear to have something on your board that affects the content of posts, other than AME. The code is there if you look at the Source Code of your pages, but it's literally translating the Replacement HTML into ampersand commands (&lt; instead of < for example) and putting line breaks <br /> where there shouldn't be.


Code:

                <!-- message -->
<div id="post_message_195465" class="vb_postbit">

<a href="http://&lt;div style=&quot;display: none;&quot; id=&quot;ame_noshow_post_1253102005_1&quot;&gt;<br />
&lt;a href=&quot;&quot; title=&quot;YouTube&quot; target=&quot;_blank&quot;&gt;YouTube&lt;/a&gt;<br />
&lt;/div&gt;<br />
&lt;div style=&quot;display: inline;&quot; id=&quot;ame_doshow_post_1253102005_1&quot;&gt;<br />
&lt;div align=&quot;center&quot;&gt;<br />
&lt;table class=&quot;tborder&quot; cellpadding=&quot;6&quot; cellspacing=&quot;1&quot; width=&quot;425&quot; style=&quot;margin:10px 0&quot;&gt;<br />
&lt;thead&gt;<br />
&lt;tr&gt;<br />
&lt;td class=&quot;tcat&quot; colspan=&quot;2&quot; style=&quot;text-align:center&quot;&gt;<br />
&lt;a href=&quot;&quot; title=&quot;YouTube&quot; target=&quot;_blank&quot;&gt;YouTube&lt;/a&gt;<br />
&lt;/td&gt;<br />
&lt;/tr&gt;<br />
&lt;/thead&gt;<br />
&lt;tbody&gt;<br />
&lt;tr&gt;<br />
&lt;td class=&quot;panelsurround&quot; align=&quot;center&quot;&gt;<br />
&lt;object width=&quot;425&quot; height=&quot;350&quot;&gt;<br />
&lt;param name=''movie'' value=&quot;http://www.youtube.com/v/MUx9Z3l6S7U&amp;ap=%2526fmt%3D18&amp;fs=1&quot;&gt;&lt;/param&gt;<br />
&lt;param name=&quot;allowFullScreen&quot; value=&quot;true&quot;&gt;&lt;/param&gt;<br />
&lt;embed src=&quot;http://www.youtube.com/v/MUx9Z3l6S7U&amp;ap=%2526fmt%3D18&amp;fs=1&quot; type=&quot;application/x-shockwave-flash&quot; allowfullscreen=&quot;true&quot; width=&quot;425&quot; height=&quot;350&quot; wmode=&quot;transparent&quot;&gt;&lt;/embed&gt;&lt;/object&gt;<br />
&lt;/td&gt;<br />
&lt;/tr&gt;<br />
&lt;/tbody&gt;<br />
&lt;/table&gt;&lt;/div&gt;<br />
&lt;/div&gt;" target="_blank">YouTube - Slife 2</a>
</div>
                <!-- / message -->


Digital Jedi 09-18-2009 05:07 AM

Hey Geek, I just noticed something odd on my installation. AME seems to be ignoring my character count settings passed 20, and clips them kind of short anywhere below that. Right now I have this set at 50: http://www.cogonline.net/forums/show...80&postcount=8

Also, I don't know if this is really important or not, but I notice when merging posts, you have to re-edit to get the parsing.

fly 09-18-2009 10:45 AM

So, AME won't let me delete any definitions. I imported an update that DJ made for photobucket, but when I try to delete the old one - nothing happens. Any ideas?

Drache 09-19-2009 03:30 AM

Will this increase the server load? does it adds many queries?

The Geek 09-21-2009 03:51 PM

Quote:

Originally Posted by Digital Jedi (Post 1886806)
Hey Geek, I just noticed something odd on my installation. AME seems to be ignoring my character count settings passed 20, and clips them kind of short anywhere below that. Right now I have this set at 50: http://www.cogonline.net/forums/show...80&postcount=8

Also, I don't know if this is really important or not, but I notice when merging posts, you have to re-edit to get the parsing.

Are you using $title or $aminfo[title]? $title wont get trimmed, the latter will.
Re: Merging, this makes sense if the post you merge into doesn't have ame in it, however it should work if the post you are merging to does (if that makes sense). Not sure it would be frequent enough to warrent the merge code, but will look into it!

Quote:

Originally Posted by flypaper (Post 1886911)
So, AME won't let me delete any definitions. I imported an update that DJ made for photobucket, but when I try to delete the old one - nothing happens. Any ideas?

Sounds like you may be using the file cache, but for whatever reason, the server can no longer write to the aminfo folder. Check chmod on the folder and its files. Alternatively, turn off the file cache.

Quote:

Originally Posted by Drache (Post 1887370)
Will this increase the server load? does it adds many queries?

AME is designed to have minimal footprint and won't increase load or queries on threads that contain no media. If you are using the file cache, there will be no additional queries when a post with AME appears, but load will increase slightly as the media definitions are loaded up into memory.

The more noticeable area for load with AME isn't really server load. If you are including media in a post that extracts destination data (i.e. a youtube video that extracts the destination pages title) then there will be a slight delay when you save the post as AME fetches the destination page and extracts the title. Obviously the more AME you have in a post, the longer this takes (i.e. if you put 10 videos in your post that all extract data, thats 10 pages AME will download while you are saving your post). Saying that, it is only when you save it. After that, its pretty much undetectable.

The Geek 09-21-2009 03:52 PM

Quote:

Originally Posted by P.Jackson (Post 1886631)
http://www.clan-killers.com/forum/ge...eens-vids.html

Happens every time we try it we have to use a ame bbcode atm to get it to show


http://www.clan-killers.com/forum/ha...tml#post195465

Most likely a mod conflict. Most likely a mod that changes URLs (i.e. a mod that tracks outbound links).

The Geek 09-21-2009 03:52 PM

If you guys installed, please click install :D

Digital Jedi 09-21-2009 04:03 PM

Quote:

Originally Posted by The Geek (Post 1888495)
Are you using $title or $aminfo[title]? $title wont get trimmed, the latter will.

I'm using the $ameinfo[title]. Also, it's not abbreviating even in the container template, not just the definition. From what I've observed so far, it appears kind of random. In some cases it seems to be abbreviating fine and others it ignores or only works under a certain character count. It seems to be site by site.


Quote:

Re: Merging, this makes sense if the post you merge into doesn't have ame in it, however it should work if the post you are merging to does (if that makes sense). Not sure it would be frequent enough to warrent the merge code, but will look into it!
You mean like if the earliest post already has an AME converted video in it, right? In the six cases I had to do a merge, all the posts had video. But I agree, I don't know if it's important enough to worry about, just thought I'd mention it. https://vborg.vbsupport.ru/external/2009/09/9.png

Chadi 09-22-2009 09:50 PM

Quote:

Originally Posted by Chadi (Post 1824735)
Feature Request:
*************

Jquery implementation (lightbox)

http://www.no-margin-for-errors.com/...ightbox-clone/

Really nice :)

Can we get votes on this please? :)

rladner 09-23-2009 01:08 AM

The height/width under AME settings were just fine and I also implemented the {} as you suggested but it still doesnt work.

Quote:

Originally Posted by Digital Jedi (Post 1886416)
Only thing I can think of is to check your Height and Width global settings in the AME CP and make sure they aren't blank. Then resave your posts and see if the settings stick. If that doesn't work, then go into your media definition and in the Replacement HTML put brackets around each instance of the size variables. Remember that you'll probably have more than two each definition:

Code:

width="{$ameinfo[width]}" height="{$ameinfo[height]}"
Then resave the posts and see if that helps.


cschroeder1 09-24-2009 03:40 PM

I've installed this pulgin, and set it up correctly, I believe, but whenever I post a video url to a thread, it just shows the link and icon for external embedding not available; but if I post the embed code from the you tube page in the post, it embeds just fine. Help!

cschroeder1 09-24-2009 05:02 PM

...but my IE settings were set funky, so my browser was breaking it. Fine now. Awesome add on.

rladner 09-24-2009 08:45 PM

Can anyone give me a helping hand?

Digital Jedi 09-25-2009 02:15 AM

Quote:

Originally Posted by rladner (Post 1890162)
Can anyone give me a helping hand?

Other than putting in the actual height and width you want for videos, there's no other reason I can think of that it would be doing that. It appears to be an anomaly unique to your forum. Have you tried turning your mods off one at a time yet to see if there's a conflict with something?

The Geek 09-25-2009 08:35 AM

Quote:

Originally Posted by rladner (Post 1890162)
Can anyone give me a helping hand?

Try disabling file caching.

And click install please :)

fly 09-25-2009 12:28 PM

Quote:

Originally Posted by The Geek (Post 1888495)
Sounds like you may be using the file cache, but for whatever reason, the server can no longer write to the aminfo folder. Check chmod on the folder and its files. Alternatively, turn off the file cache.

Actually, it looks like I can delete and modify all definitions from approximately A-C in the list. After that, I can't delete anything. As a test, I turned off the file cache. It did not seem to help.


edit: Just for fun, I turned off file cache, deleted the files in it, and turned the cache back on. It did create new files in there, but it still doesn't work. BTW, I'm using DJ's definitions. When I attempt to delete ALL of them, this is the error I get - apparently these are the only defs that AME "sees".

Quote:

Are you sure you want to delete 220, 2K Sports (Part 1), 2K Sports (Part 2), 5min Life Videopedia, Adult Swim, AllPosters (Thumbnails), AllPosters (Thumbnails/Browse), AllPosters (Thumbnails/Search Results), Amazon (aStore), Amazon (Links), Amazon (Thumbnails), AOL Music, AOL Video, Apache Clips, Atom, Bebo (Sponsored Content), BikerPunks, Blip (Permalink), Blip (Show Pages), BooMP3, Break, Break (User Content), Brightcove, CafePress (Thumbnails), CannabisTV, Carpix, Carpix (Categories), Carpix (Live), CBS News, CBS Sports, Clarin, ClipBucket, Clipfish, ClipShack, ClipShare Demo, ClipShare Demo (Old), CNN, **Internal Linking (Forums/Categories), **Internal Linking (Member Profiles), **Internal Linking (Single Posts), **Internal Linking (Threads)? This action can not be undone!

vwdforum 09-26-2009 08:47 PM

Hi Guys.

I've noticed the pins do not appear on vbgooglemaps if I have AME - The Automatic Media Embeder 2.5.5 enabled.

If I disable AME the pin's appear.

Any idea how to fix this issue?

Thanks Mally

odln018 09-30-2009 02:42 PM

Is there a method where the video can be placed on the left/right/center?

odln018 09-30-2009 05:04 PM

I've just run into an issue where AME somehow breaks internal linking.

Here's another person who's run into the problem: http://www.vbulletin.com/forum/showthread.php?t=298020

I've confirmed this by disabling AME on my forum, and all internal links start to work.


All times are GMT. The time now is 09:09 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.02988 seconds
  • Memory Usage 1,877KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (7)bbcode_code_printable
  • (28)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete