vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Add-On Releases - DJ's AME (Auto Media Embedding) XML Media Definitions (Third Time's the Charm) (https://vborg.vbsupport.ru/showthread.php?t=175378)

Digital Jedi 09-17-2008 05:43 PM

Quote:

Originally Posted by MonkYZ (Post 1624115)
Checked... twice. Even re-imported the definition. Doesn't help :)

Hrm, I can only recreate the behavior during an inline edit. During refresh it stays fine.

burntire 09-17-2008 08:50 PM

For some reason I can not get this flickr slide show to embedded?

http://www.flickr.com/photos/7449483...16025842/show/

Any Suggestions?

Digital Jedi 09-17-2008 11:53 PM

Quote:

Originally Posted by burntire (Post 1624386)
For some reason I can not get this flickr slide show to embedded?

http://www.flickr.com/photos/7449483...16025842/show/

Any Suggestions?

You've got an @ symbol in your URL. Open up your Flickr Slideshows (Sets) and change the regular expression to this

Code:

http://www\.flickr\.com/photos/[\w@]*/sets/([\d]+)/show/[\w/]*

burntire 09-18-2008 12:15 AM

Thanks that did the trick.

saxahan 09-18-2008 08:56 AM

Good work,nice.

Baldilocks 09-18-2008 02:56 PM

Does AME interfere with Wikipedia at all??

Every time I or a user post a Wikipedia link we get a "Wikimedia Error" instead of a link. (Weird)

Digital Jedi 09-18-2008 02:59 PM

Do you have some kind of integration? I don't know anything at all about Wikimedia or how it interacts with vBulletin. You might want to ask in the AME 2.0 thread about it, or in the thread for Wikimedia integration if we have one. I'm not sure what would cause that.

Baldilocks 09-18-2008 04:26 PM

Will do. :)

carlos54321 09-18-2008 09:11 PM

shit hot fella and users who have helped out thankyou :)

furst 09-19-2008 02:47 AM

Quote:

Originally Posted by Digital Jedi (Post 1622804)
They do, but that's not all that is required to make a working definition. The most crucial aspect is being able to reference consistent and pertinent data in either the URL or the source page. I've worked on this for quite a while, and for the moment, the problem lies in the fact that the pertinent data is not able to be referenced.

Ah, I see. I'll keep my fingers crossed for you having a moment of clarity one day and figuring out a new way to do it, or something like that. Thanks again for all your effort. It's truly a great piece of work.

carlos54321 09-19-2008 05:23 PM

i have an error when placing a zSHARE like in a post,i have done what you said by the book about the images im using ame 2.5 Beta 3 had no problems apart from this and gamespot links.
here is my error when posting a zSHARE link i have no idea what the error maybe (sorry)
but any advice i would be grateful

Parse error: syntax error, unexpected T_STRING in /cpanelusers/ragecarl/public_html/includes/ame_bbcode.php(788) : regexp code on line 5

Fatal error: preg_replace() [<a href='function.preg-replace'>function.preg-replace</a>]: Failed evaluating code: ame_match_bbcode($param1, $param2, 'zshare_links', 'zSHARE (Links)', 0, '&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; title=&quot;Download from $title!&quot;&gt; &lt;tr&gt; &lt;td&gt; &lt;a href=&quot;http://www.zshare.net/download/$p1&quot; target=&quot;_blank&quot;&gt; &lt;div style=&quot;background-image:url('images/misc/zshare1.png');background-repeat:no-repeat;width:70px;height:57px;cursor:hand;&quot;&g t;&lt;/div&gt; &lt;/a&gt; &lt;/td&gt; &lt;td&gt; &lt;a href=&quot;http://www.zshare.net/download/$p1&quot; target=&quot;_blank&quot;&gt; &lt;div style=&quot;background-image:url('images/misc/zshare2.png');background-color:transparent;font-family:Arial;font-size:large;color:#FF6600;letter-spacing:0px;text-align:center;height:57px;background-repeat:repeat-x;cursor:hand;text-decoration:none&quot;&gt; &lt;div style=&quot;white-space:no in /cpanelusers/ragecarl/public_html/includes/ame_bbcode.php on line 788

thankyou:)

gx123 09-19-2008 05:34 PM

i can't embed Flickr Slideshows (Photostreams). Copy paste the url and nothing happened. But the Flickr Slideshows (Set) working perfectly.

Digital Jedi 09-19-2008 07:55 PM

Quote:

Originally Posted by carlos54321 (Post 1625774)
i have an error when placing a zSHARE like in a post,i have done what you said by the book about the images im using ame 2.5 Beta 3 had no problems apart from this and gamespot links.
here is my error when posting a zSHARE link i have no idea what the error maybe (sorry)
but any advice i would be grateful

Parse error: syntax error, unexpected T_STRING in /cpanelusers/ragecarl/public_html/includes/ame_bbcode.php(788) : regexp code on line 5

Fatal error: preg_replace() [<a href='function.preg-replace'>function.preg-replace</a>]: Failed evaluating code: ame_match_bbcode($param1, $param2, 'zshare_links', 'zSHARE (Links)', 0, '&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; title=&quot;Download from $title!&quot;&gt; &lt;tr&gt; &lt;td&gt; &lt;a href=&quot;http://www.zshare.net/download/$p1&quot; target=&quot;_blank&quot;&gt; &lt;div style=&quot;background-image:url('images/misc/zshare1.png');background-repeat:no-repeat;width:70px;height:57px;cursor:hand;&quot;&g t;&lt;/div&gt; &lt;/a&gt; &lt;/td&gt; &lt;td&gt; &lt;a href=&quot;http://www.zshare.net/download/$p1&quot; target=&quot;_blank&quot;&gt; &lt;div style=&quot;background-image:url('images/misc/zshare2.png');background-color:transparent;font-family:Arial;font-size:large;color:#FF6600;letter-spacing:0px;text-align:center;height:57px;background-repeat:repeat-x;cursor:hand;text-decoration:none&quot;&gt; &lt;div style=&quot;white-space:no in /cpanelusers/ragecarl/public_html/includes/ame_bbcode.php on line 788

thankyou:)

That's a known bug with the 2.5 BETA 3 version of AME. We'll have to wait till The Geek addresses it for the Gold version.



Quote:

Originally Posted by gx123 (Post 1625778)
i can't embed Flickr Slideshows (Photostreams). Copy paste the url and nothing happened. But the Flickr Slideshows (Set) working perfectly.

Send me a link that's not converting and I'll take a look at it.

gx123 09-20-2008 02:57 PM

well actually every flickr photostreams is not converting.

last night, my photostream sets is working perfectly, but today, is not working at all.
http://flickr.com/photos/unwinged/se...08947441/show/
this is the forum post
http://www.gamexeon.com/forum/free-c...tml#post368493
thanks before :)

Digital Jedi 09-20-2008 06:34 PM

Their embedding for me, but I'm having to put in the www. However, I notice yours are extracting the Title. Try putting the www first and see if that corrects things, and I'll address that on the next udpate.

Robbed 09-21-2008 01:08 AM

Can you add support for 2ksports videos?

http://community.2ksports.com/commun...fm?mediaid=113

Thanks

Digital Jedi 09-21-2008 04:29 AM

Quote:

Originally Posted by Robbed (Post 1626650)
Can you add support for 2ksports videos?

http://community.2ksports.com/commun...fm?mediaid=113

Thanks

I should be able to. I'll give them a try when I get to the addition of new definitions update after next.

carlos54321 09-21-2008 04:59 PM

:)first just a heads up for my error i had with Zshare this is now working with the new AME 2.5 RC1.

and just a quick one for you dj can you add support for stumbleupon
there video links show like this

http://video.stumbleupon.com/#p=ri6i6500db

i understand this maybe imposable to do as stumble grabs it from other places but thought id ask the one with the know how

Thanks.

socalsoccer 09-22-2008 03:12 AM

CNN xml does not work with this:
<iframe src="http://www.cnn.com/video/savp/evp/?loc=dom&vid=/video/us/2008/09/21/bolduan.bush.bailout.update.cnn" height="393" width="406" allowtransparency="true" frameborder="0" scrolling="no"></iframe>
or this
http://www.cnn.com/video/savp/evp/?l...out.update.cnn

am I doing something wrong?

Digital Jedi 09-22-2008 03:40 AM

Quote:

Originally Posted by socalsoccer (Post 1627419)
CNN xml does not work with this:
<iframe src="http://www.cnn.com/video/savp/evp/?loc=dom&vid=/video/us/2008/09/21/bolduan.bush.bailout.update.cnn" height="393" width="406" allowtransparency="true" frameborder="0" scrolling="no"></iframe>
or this
http://www.cnn.com/video/savp/evp/?l...out.update.cnn

am I doing something wrong?

You have to use the Permalink or the page link for CNN videos. You don't use the supplied embed code for any definition.

Like I said when I released the CNN definition, CNN doesn't really make it easy for you to find. At least not from the video page. Most of the time videos linked in articles though are easy enough. I emailed CNN.com about this and pointed out the obvious flaw not putting the Permalink right in the video.

carlos54321 09-22-2008 02:55 PM

Can i also suggest enougher site which id like to see supported
http://www.imdb.com Movie trailers.:)
thanks

gator777 09-22-2008 02:59 PM

break.com is not working for me. Any suggestions? Great work by the way. :)

Digital Jedi 09-22-2008 05:30 PM

Quote:

Originally Posted by carlos54321 (Post 1627782)
Can i also suggest enougher site which id like to see supported
http://www.imdb.com Movie trailers.:)
thanks

The last time I checked them, I wasn't able to make them work. I suspect it's something to do with the grotesque amount of Google Ads they have on their pages, but I'll look them over again.

Quote:

Originally Posted by gator777 (Post 1627791)
break.com is not working for me. Any suggestions? Great work by the way. :)

If I'm not mistaken, I had to update Break due to a site code change. I'll be retesting all of them for the AME 2.5 RC1 update.

gx123 09-22-2008 06:52 PM

Quote:

Originally Posted by Digital Jedi (Post 1626502)
Their embedding for me, but I'm having to put in the www. However, I notice yours are extracting the Title. Try putting the www first and see if that corrects things, and I'll address that on the next udpate.

oh i see!
i put the www and everything goes normal. Thankyou so much!
except for the latest photo slideshow page, i still can't make it work.

I try to copy paste this link : http://www.flickr.com/photos/unwinged/show/ at the forum, and it still not showing. here's the forum link : http://www.gamexeon.com/forum/370691-post25231.html

thanks DJ :D
one post and my problem is gone :D

Digital Jedi 09-22-2008 07:03 PM

Quote:

Originally Posted by gx123 (Post 1627942)
oh i see!
i put the www and everything goes normal. Thankyou so much!
except for the latest photo slideshow page, i still can't make it work.

I try to copy paste this link : http://www.flickr.com/photos/unwinged/show/ at the forum, and it still not showing. here's the forum link : http://www.gamexeon.com/forum/370691-post25231.html

thanks DJ :D
one post and my problem is gone :D

Hmm, that's a slighly different URL structure then when I first made the two Flickr definitions. I may have to make a third.

silverado350 09-23-2008 01:14 AM

I downloaded the master xml file. Now what do I do? How do I import it? I've searched for hours trying to find a thread that would tell me how to do this but, I cant find anything

Digital Jedi 09-23-2008 03:34 AM

Quote:

Originally Posted by silverado350 (Post 1628126)
I downloaded the master xml file. Now what do I do? How do I import it? I've searched for hours trying to find a thread that would tell me how to do this but, I cant find anything

I explain it in the first post of this thread. You Import them through your AME CP.

silverado350 09-23-2008 08:20 AM

I have read your first thread. And I looked in the AME CP but I see no place to import anything.

The Geek 09-23-2008 09:32 AM

In the AME AdminCP, there is an option to import and to export.

silverado350 09-23-2008 02:53 PM

I must be looking in the wrong spot. What is the path to the AME CP? I can get to the settings by going to admincp/Plugins & Products/Manage Products/edit but there isn't thing in there that says import/export.

gator777 09-23-2008 03:00 PM

Quote:

Originally Posted by Digital Jedi (Post 1627876)
If I'm not mistaken, I had to update Break due to a site code change. I'll be retesting all of them for the AME 2.5 RC1 update.

Update: break.com works, but it can't handle extensions past the video ID
HTML Code:

EXAMPLE:
[B]This works:[/B]
[url]http://break.com/index/unnecessary-censorship-sesame-street-edition.html?[/url]

[B]This does not:[/B]
[url]http://break.com/index/unnecessary-censorship-sesame-street-edition.html?matchid=NTQwODEw[/url]


The Geek 09-23-2008 03:08 PM

Quote:

Originally Posted by silverado350 (Post 1628614)
I must be looking in the wrong spot. What is the path to the AME CP? I can get to the settings by going to admincp/Plugins & Products/Manage Products/edit but there isn't thing in there that says import/export.

Its in the Navigation pane (the frame on the left)

Digital Jedi 09-23-2008 03:29 PM

Quote:

Originally Posted by silverado350 (Post 1628614)
I must be looking in the wrong spot. What is the path to the AME CP? I can get to the settings by going to admincp/Plugins & Products/Manage Products/edit but there isn't thing in there that says import/export.

The AME CP is a brand new menu in your Admin CP after you install AME. As I stated in bold in the first post, you do not import the definitions through the Product Manager, you import them through the new menu the installation created. It looks like this:

AME CP
Settings
Display Definitions
Add New Definition
Import Definitions
Export Definitions
Tools


Quote:

Originally Posted by gator777 (Post 1628619)
Update: break.com works, but it can't handle extensions past the video ID
HTML Code:

EXAMPLE:
[b]This works:[/b]
[url]http://break.com/index/unnecessary-censorship-sesame-street-edition.html?[/url]
 
[b]This does not:[/b]
[url]http://break.com/index/unnecessary-censorship-sesame-street-edition.html?matchid=NTQwODEw[/url]


Yes, like I said, I'll be updating Break on the next udpate to account for that and I think they have a new embed code too.

silverado350 09-23-2008 04:08 PM

I got it now. For some reason I did not have the new menu. I had to uninstall and reinstall it and now I see it.

Thank you:D

Null Parameter 09-23-2008 04:37 PM

Bringing this over here, because I accidentally posted it in the main AME thread.

There's an error in the IGN code. Here's the changes I made to fix it:

Regular Expression:
Code:

http://([\w]+)\.ign\.com/dor/([\w]+)/([\d]+)/([\w-]+)/videos/([\w-]+)\.html
Replacement:
Code:

<embed src='http://videomedia.ign.com/ev/ev.swf' flashvars='object_ID=$p3&downloadURL=http://$p1.ign.com/$p2/video/article/$p4/$p5.flv&allownetworking='all' type='application/x-shockwave-flash' width='433' height='360'></embed>
It was just missing the parentheses and had some of the $p variables mixed up.

Sorry, if this has been pointed out already, I couldn't search for "IGN" because it is only 3 characters.

Digital Jedi 09-23-2008 05:49 PM

Quote:

Originally Posted by Null Parameter (Post 1628697)
Bringing this over here, because I accidentally posted it in the main AME thread.

There's an error in the IGN code. Here's the changes I made to fix it:

Regular Expression:
Code:

http://([\w]+)\.ign\.com/dor/([\w]+)/([\d]+)/([\w-]+)/videos/([\w-]+)\.html
Replacement:
Code:

<embed src='http://videomedia.ign.com/ev/ev.swf' flashvars='object_ID=$p3&downloadURL=http://$p1.ign.com/$p2/video/article/$p4/$p5.flv&allownetworking='all' type='application/x-shockwave-flash' width='433' height='360'></embed>
It was just missing the parentheses and had some of the $p variables mixed up.

Sorry, if this has been pointed out already, I couldn't search for "IGN" because it is only 3 characters.

That's okay. Yes, IGN changed their embed code again. (I've lost track of how many times they've done that.) Pretty much all the definitions are being retested for the AME 2.5 update, and I'll be sure to completely updated master for all these existing definitions. I'm finding quite a few sites are in need of an upgrade.

gator777 09-24-2008 06:34 PM

Quote:

Originally Posted by Digital Jedi (Post 1628647)
Yes, like I said, I'll be updating Break on the next udpate to account for that and I think they have a new embed code too.

Thanks for all your hard work. Great job! :D

testebr 09-25-2008 10:50 AM

Digital Jedi,

You will change the embed size of all definitions to $ameinfo[width] and $ameinfo[height] like The Geek explain here in next update of master xml?

cya

Skavenger 09-25-2008 02:32 PM

GoEar does not work anymore, they have changed the embed codes. Can somebody release a fix for this?

Thanks.

Digital Jedi 09-26-2008 12:47 AM

Quote:

Originally Posted by testebr (Post 1629945)
Digital Jedi,

You will change the embed size of all definitions to $ameinfo[width] and $ameinfo[height] like The Geek explain here in next update of master xml?

cya

Yup, I'll be starting a new thread for those definitions when all the bugs are worked out. I'll post the announcement here when I start it.

Quote:

Originally Posted by Skavenger (Post 1630084)
GoEar does not work anymore, they have changed the embed codes. Can somebody release a fix for this?

Thanks.

GoEar was working for me last time I checked. Can you send me some sample links?


All times are GMT. The time now is 03:08 AM.

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.02261 seconds
  • Memory Usage 1,857KB
  • 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
  • (5)bbcode_code_printable
  • (2)bbcode_html_printable
  • (20)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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