vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Add-On Releases - DJ's AMEs :: Media Definitions for AME 3 (Beta) (https://vborg.vbsupport.ru/showthread.php?t=302731)

Digital Jedi 09-26-2013 10:00 PM

DJ's AMEs :: Media Definitions for AME 3 (Beta)
 
1 Attachment(s)
These media definitions are imported through your AME CP. That means you have to have AME 3 installed in order to do that.

This is a Beta. I've tested this on my 4.0.3 installation. But I've experienced some weird issues, like the same URL not converting in post 1, but converting fine in post 12. I can only presume this is because of my older version of vB4. Please report the issues you have on newer versions of vB. Also note the AME 3 thread, for tweaks and changes people had to make depending on their version of vB4.

NOTE: I am still looking for anyone willing to lend me access to their demo board on vB4.1 or higher to test definitions, as well as a future version of AME 3. I will also be looking into, but not necessarily guaranteeing, that I can extend AME to vB5. But I have to take a look at how vB5 parses media to know if AME is even relevant on that system.

MEDIA DEFINITIONS
This is just a small set of definitions to test out functionality. Most everything here is tweaked, so just back up any custom defs you already have, and replace these to try them out. If everything goes smoothly, we'll expand from there.

CNBC
CNN
CNN 2
CollegeHumor
CollegeHumor (Legacy)
Dailymotion
Facebook
GameSpot (Part 1)
GameSpot (Part 2)
GameTrailers
Hulu
Metacafe
Photobucket (Direct Link)
Photobucket (Videos)
Storify
Twitter
Vevo
Vimeo
Youku
YouTube
YouTube (Playlists)
YouTube (Short URL)

NOTE: No, these will not work on AME 2.5. -_-

elnapotandil 09-27-2013 10:27 PM

Great work! Thanks!!

tareqbd 09-28-2013 05:19 AM

Seems interesting! can you please add some screenshots and procedure to install.

tbworld 09-28-2013 05:23 AM

Great work @Digital Jedi, I am going to try out AME3 this weekend. My daughter will love it! :)
I know AME3 has been out awhile, but I have not had the need for it untill now. This will definitely help her implement it.

I will be testing it on v4.2.0, v4.2.1. I will report back the interesting stuff.

Digital Jedi 09-28-2013 02:32 PM

Quote:

Originally Posted by tareqbd (Post 2448510)
Seems interesting! can you please add some screenshots and procedure to install.

I plan on adding some screenshots a little later. Hopefully today. Procedure to install is explained in the first post.


Quote:

Originally Posted by tbworld (Post 2448511)
Great work @Digital Jedi, I am going to try out AME3 this weekend. My daughter will love it! :)
I know AME3 has been out awhile, but I have not had the need for it untill now. This will definitely help her implement it.

I will be testing it on v4.2.0, v4.2.1. I will report back the interesting stuff.

Thanks. Haven't had a chance to test on anyone's 4.1 or 4.2 installations.

Ross L 09-29-2013 02:00 PM

Excellent, thanks!

Any chance of support for Heartthis.at (http://hearthis.at/chocomang/beads-t...s-nickelback/)?

Azum 10-05-2013 08:38 PM

Any chance of a fix for the twitter definition? Currently, just ends up as a blank post. I was excited to see it (been looking and trying myself to implement a plugin that converts full twitter URLs to embedded tweets w/ no luck) and it's really the reason I installed AME3 and the definitions... only to find out, it no worky.

Digital Jedi 10-05-2013 09:28 PM

Quote:

Originally Posted by Azum (Post 2450265)
Any chance of a fix for the twitter definition? Currently, just ends up as a blank post. I was excited to see it (been looking and trying myself to implement a plugin that converts full twitter URLs to embedded tweets w/ no luck) and it's really the reason I installed AME3 and the definitions... only to find out, it no worky.

Let me see the thread where you've tested this in, if you don't mind.

I tested Twitter just now, and it seems to be working as intended:

https://www.diigo.com/item/p/pebbaaz...b410cfcea4b546

However, I think the problem you and some other have experienced is with Twitter's API usage limits. I can't remember how many requests are limited per domain, but it might be a lot of the time, and particularly if you have other Twitter plugins running on your site, that this could be you just running into your limit.

Also remember, this is JavaScript embed code. And as always, you won't see the JavaScript if posted via AJAX (quick reply and inline editing). But everyone else will, and you'll see it when you refresh the page.

Digital Jedi 10-06-2013 03:46 AM

Any more feedback so far? It seems Twitter is susceptible to any invalid HTML in your source code, which is why it seems to be working for some and not others (that includes the various BBCode mods out there.) But how about the other sites on the list? Anyone run into any issues so far?

elnapotandil 10-06-2013 03:59 AM

The ones I've tried so far, works perfectly.

Sorry for my english...

Azum 10-07-2013 02:36 PM

I got it working now, was a bb_videocode template issue. Thanks for your help, DJ.

Digital Jedi 10-07-2013 05:56 PM

Quote:

Originally Posted by Azum (Post 2450723)
I got it working now, was a bb_videocode template issue. Thanks for your help, DJ.

Glad you got it sorted out. I had forgotten that JavaScript is temperamental when it comes to the rest of the code on your webpage. If anyone else is having problems with Twitter, be sure to run a validation check on your forum for any HTML errors.


If no one else is having issues, then I'll start working on expanded BETA set. If no one has issues with that one, I'll take it out of BETA for the following update.

SPEEDKILLZ 10-08-2013 03:52 PM

I installed ame3 on my 4.2.1 do i need to install this as well?

Digital Jedi 10-08-2013 05:02 PM

Quote:

Originally Posted by SPEEDKILLZ (Post 2450932)
I installed ame3 on my 4.2.1 do i need to install this as well?

If you want AME support for the websites listed, or the ones that aren't up to date within AME 3, then yes.

SPEEDKILLZ 10-08-2013 06:43 PM

Quote:

Originally Posted by Digital Jedi (Post 2450960)
If you want AME support for the websites listed, or the ones that aren't up to date within AME 3, then yes.


Thank you. two questions. After installing AME3 on my site when i post a lnk it dosent work> Do i need to do something else? And when i try to upload this file via plugin manager is reads "non existing file"

Digital Jedi 10-08-2013 07:42 PM

Quote:

Originally Posted by SPEEDKILLZ (Post 2450988)
Thank you. two questions. After installing AME3 on my site when i post a lnk it dosent work> Do i need to do something else?

Probably an outdated definition within AME 3.


Quote:

And when i try to upload this file via plugin manager is reads "non existing file"
Ah, there's a reason for that. ;)
Quote:

Originally Posted by Digital Jedi (Post 2448445)
These media definitions are imported through your AME CP.


SPEEDKILLZ 10-09-2013 12:26 AM

Quote:

Originally Posted by Digital Jedi (Post 2450996)
Probably an outdated definition within AME 3.




Ah, there's a reason for that. ;)

OK i reuploaded files and then imported this thru amecp and still not auto embedding? Any more suggestions? Thank you kindly

Digital Jedi 10-09-2013 01:05 AM

Quote:

Originally Posted by SPEEDKILLZ (Post 2451070)
OK i reuploaded files and then imported this thru amecp and still not auto embedding? Any more suggestions? Thank you kindly

What version of vB4 are you on? What URLs are you trying to embed? Is AME's file cache enabled? Are you editing existing posts, or posting new ones? Any additional information you include can help me troubleshoot.

SPEEDKILLZ 10-09-2013 02:11 AM

Quote:

Originally Posted by Digital Jedi (Post 2451100)
What version of vB4 are you on? What URLs are you trying to embed? Is AME's file cache enabled? Are you editing existing posts, or posting new ones? Any additional information you include can help me troubleshoot.


VB4.2.1, youtube url's, tried enabled and cache not enabled, new post. thank you

Digital Jedi 10-09-2013 03:19 AM

Quote:

Originally Posted by SPEEDKILLZ (Post 2451128)
VB4.2.1, youtube url's, tried enabled and cache not enabled, new post. thank you

I mean, I need to see the URLs, so I can test them on my installation. In the AME 3 thread, look through the first few pages. For your version of vB, you have to change the hook location of one of your plugins. I forget which one, at the moment. But it's easy enough to change it until the new version is released.

SPEEDKILLZ 10-09-2013 03:25 AM

ok i will see what i can find. thank you

links such as http://www.youtube.com/watch?v=UrgpZ0fUixs

SPEEDKILLZ 10-09-2013 03:36 AM

ok so it does not auto embed? if i add [video]url[/video] is works

SPEEDKILLZ 10-09-2013 03:40 AM

also should cache be on or off?

Digital Jedi 10-09-2013 11:35 PM

Quote:

Originally Posted by SPEEDKILLZ (Post 2451153)
also should cache be on or off?

Cache will help speed up the process of embedding videos, and save some system resources. It's optional. I just need to know when it's on depending on the questions raised.

Did you find the post mentioning the hook change?

SPEEDKILLZ 10-10-2013 12:23 AM

Quote:

Originally Posted by Digital Jedi (Post 2451510)
Cache will help speed up the process of embedding videos, and save some system resources. It's optional. I just need to know when it's on depending on the questions raised.

Did you find the post mentioning the hook change?


OK, No sir i did not. I actually just loaded another plugin until i can figure out what the problem is with this one. Any help would be greatly appreciated. I really like this mod.

Digital Jedi 10-10-2013 02:23 AM

Quote:

Originally Posted by SPEEDKILLZ (Post 2451539)
OK, No sir i did not. I actually just loaded another plugin until i can figure out what the problem is with this one. Any help would be greatly appreciated. I really like this mod.

I haven't gotten into real depth with that particular product yet. But I intend to after I release my own version of AME 2.5.7. I also intend to do my own release of AME 3, but I'll need to do a little more research on that one. I'm sure there's a number of posts in the AME 3 thread explaining what to do with the hook change, but they appear to be spread out. So it will take some time before I fully understand what changed between the different versions and AME 3's release that cause the disparate types of file edits.

But like I said before, If anyone is willing to lend me access to their demo board for Beta testing my own AME 3 release, I can try and sort the issues out with it on vB 4.1 and 4.2. Right now, I only have my copy of vB 4.0 to work with.

Azum 10-11-2013 12:34 AM

Hook posts:

Code edit:
https://vborg.vbsupport.ru/showpost....&postcount=608

Plugin edit:
https://vborg.vbsupport.ru/showpost....postcount=1002

Azum 10-11-2013 12:37 AM

Here's a little contribution that you can include in your definitions if you'd like DJ.

ESPN Video definition that I finally worked the kinks out of, tested and working:

Code:


Tagoption: espn

URL: espn.go.com

Regex: https?:\/\/espn\.go\.com\/video\/clip?.id=([a-z0-9-_]+)

Embed: <script src="http://player.espn.com/player.js?playerBrandingId=4ef8000cbaf34c1687a7d9a26fe0e89e&adSetCode=91cDU6NuXTGKz3OdjOxFdAgJVtQcKJnI&pcode=1kNG061cgaoolOncv54OAO1ceO-I&width=576&height=324&externalId=espn:{vb:raw code}&thruParam_espn-ui[autoPlay]=false&thruParam_espn-ui[playRelatedExternally]=true"></script>


katie hunter 10-14-2013 12:00 PM

When i did an import, the youtube short url isn't getting imported, it says this

"You cannot import this definition as its tagoption is invalid."

It works i think so far, but i can't import the short youtube url. Also i think i need to rebuilt my posts so it removes the ame tag and replace it with video tag, right ?

Digital Jedi 10-14-2013 03:53 PM

Quote:

Originally Posted by katie hunter (Post 2453198)
When i did an import, the youtube short url isn't getting imported, it says this

"You cannot import this definition as its tagoption is invalid."

It works i think so far, but i can't import the short youtube url. Also i think i need to rebuilt my posts so it removes the ame tag and replace it with video tag, right ?

If you're upgrading from AME 2.5, yes. Since default vB doesn't the parsing in AME 3. I'm not certain why the Short URL wouldn't import. The tagoption should be perfectly valid. But you might want to crack open the XML and see if it downloaded fully. Or copy and paste the content of it into a newly created def. It should be importing, though.

katie hunter 10-14-2013 07:57 PM

I think it is because it has a .be you know like it is not one name like youtube.

But i just reinstalled the xml and used the one that comes originally with AME 3 :0)

DemOnstar 10-15-2013 12:32 PM

Quote:

Originally Posted by katie hunter (Post 2453198)
When i did an import, the youtube short url isn't getting imported, it says this

"You cannot import this definition as its tagoption is invalid."

It works i think so far, but i can't import the short youtube url. Also i think i need to rebuilt my posts so it removes the ame tag and replace it with video tag, right ?

I have the same issue...

I deleted all the other dupes and did the import and all bar this one went in...

It does seem you have spent a lot of time and energy on this mod and I am sure that the mod community appreciate your efforts... Not sure if it works yet but will get back...

Thanks..

EDIT:

Slight confusion on file upload also.. Within includes/xml/product-ame.xml, I am assuming that product-ame.xml doesn't get uploaded via FTP and is imported through plugins and products..

Thanks again..

Digital Jedi 10-15-2013 03:58 PM

Quote:

Originally Posted by DemOnstar (Post 2453560)
I have the same issue...

I deleted all the other dupes and did the import and all bar this one went in...

It does seem you have spent a lot of time and energy on this mod and I am sure that the mod community appreciate your efforts... Not sure if it works yet but will get back...

Thanks..

EDIT:

Slight confusion on file upload also.. Within includes/xml/product-ame.xml, I am assuming that product-ame.xml doesn't get uploaded via FTP and is imported through plugins and products..

Thanks again..

If you're talking about AME 3 itself, then I believe The Geek left instructions on where to find the product XML. He wanted everyone to read the instructions carefully before installing.

Digital Jedi 10-15-2013 04:25 PM

|[Minor Update|]

Updated YouTube (Short URL) and removed the . from the [minicode]<tagoption>[/minicode]. Apparently, it saved fine on my installation. But is not a valid character for a tag option, so that's probably why some of you were getting import errors.

DemOnstar 10-15-2013 04:54 PM

Ok...Seemed to have gone in...

Very good DJ...Very active and quick to respond...

I am not even sure what a short url is but I am overly impressed by your spirit and passion...
And the humour in the UI and read me files...

Great work sir......

Nominated.....

Digital Jedi 10-15-2013 05:03 PM

Quote:

Originally Posted by DemOnstar (Post 2453618)
Ok...Seemed to have gone in...

Very good DJ...Very active and quick to respond...

I am not even sure what a short url is but I am overly impressed by your spirit and passion...
And the humour in the UI and read me files...

Great work sir......

Nominated.....

Thanks.

Short URLs are the shortened links YouTube provides in the share features. For instance:

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

Will have the short link:

http://youtu.be/ZT2z0nrsQ8o

It's the default share option on YouTube, so people sharing videos they found on Twitter or in text messages will likely be in this format.

DemOnstar 10-15-2013 05:10 PM

Marvelous!

Thanks for clearing that up..

I am living in China most of the time and as you may know already, youtube is not available.

Options for youku and www.56.com only..

Thanks again...

Digital Jedi 10-15-2013 05:25 PM

That's one of the reasons I went ahead and included Youku in this Beta set. I wasn't familiar with 56. I'll bookmark that as a site for potential development, unless someone beats me to it.

DemOnstar 10-15-2013 05:33 PM

It appears that you have all the angles covered...

http://www.funshion.com/ is another popular site in China but i think it is mainly for movies..

Not sure really, can't understand most of it but used it once or twice..

katie hunter 10-16-2013 03:54 PM

XD

DJ is there a way to import these site to the new AME 3 ? https://vborg.vbsupport.ru/showthread.php?t=188970


All times are GMT. The time now is 04:47 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.01532 seconds
  • Memory Usage 1,845KB
  • 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
  • (1)bbcode_code_printable
  • (20)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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