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)
-   -   Add-On Releases - DJ's AMEs :: Media Definitions for AME 2.5 :: More Video, Twitter, Pinterest... (https://vborg.vbsupport.ru/showthread.php?t=195884)

Digital Jedi 12-19-2011 03:04 PM

Open the definition with the key ebay3, and in the Regular expression field, put a colon right about here:
Code:

[\w&;:\#.%\?=]*

meijin 12-19-2011 10:50 PM

Bingo! Thanks Mark! You're help is much appreciated!

weindians 12-22-2011 11:36 AM

Quote:

Originally Posted by xTerMn8R (Post 1943794)
Thanks DJ for the responce...

I finally got it to work and made an xml file that will let ya post a .pdf from any site, including locally.

Regular Expression
Code:

([http://]*[\w]*[\.]*[\w]\.[\w/&;%-\.]+\.pdf)
Replacement
Code:

<iframe src="http://docs.google.com/viewer?url=$p1&embedded=true" width="$ameinfo[width]" height="$ameinfo[height]" align="center" style="border: none;"><param name="url" value="pdf=$p1" /></iframe>
One down, now if I can get one for DocStoc I'll be doing Great, I can do them with BBcode, but they pass 2 varibles so I have to use the "Option" in BBCode.
(ex. [doc=MemID]Document ID[/doc]) I dont know how to code that in AME definitions.

Thanks Again DJ and Please check my xml and make sure it's up to standards, and as it should be.

LOL what a way to spend New years Eve, troubleshooting embedding code...Go Figure....LOL

i have installed this definition.. great for me using external pdfs... i just want to change the title on to middle from 'PDF' to thread title like in youtube embed..... may be this 'pdf=$p1' part in replacement to be changed.... i tried $threadtitle not working....

Digital Jedi 12-22-2011 07:10 PM

Quote:

Originally Posted by weindians (Post 2280056)
i have installed this definition.. great for me using external pdfs... i just want to change the title on to middle from 'PDF' to thread title like in youtube embed..... may be this 'pdf=$p1' part in replacement to be changed.... i tried $threadtitle not working....

AME will only pull the title of URL source. So if it doesn't have one, such as a PDF, you have to use the default name of the definition. Template variables do not parse inside of of the replacement field.

whaase 12-31-2011 05:34 AM

Quote:

Originally Posted by meijin (Post 2278253)
I just pulled this one out at random and just tried it again with the same result. Pasting the following link into a post (verified that all 3 eBay definitions are active) does nothing except give me a clickable link.

http://www.ebay.com/itm/260670311006...ht_3573wt_1163

Thanks for your help!

Quote:

Originally Posted by Digital Jedi (Post 2279120)
Open the definition with the key ebay3, and in the Regular expression field, put a colon right about here:
Code:

[\w&;:\#.%\?=]*

I'm having the same issue, with ebay items only showing up as a clickable link. I made that modification to ebay3, with no result. Here is the link that's not working for me.(I know..I know.lol)
http://www.ebay.com/itm/Original-Ott...item4ab27b4e31

ShackMaster 01-22-2012 10:04 PM

facebook videos are not working for me. I have the latest AME and just imported the definition and enabled it. Currently I only have YouTube, Vimeo and facebook enabled.

Here is the link to where I am testing it in our forum:

http://www.hometheatershack.com/foru...tml#post490539

Here is the link to the facebook video:

https://www.facebook.com/pages/Value...c/107818673444

Here is the link from the facebook page I am trying to embed:

https://www.facebook.com/video/video...50484546314677

Any help is appreciated.

j-bo 01-24-2012 05:13 PM

Sorry.. I have a dumb question. How do I get ALL of the definitions to show up in the AME CP?

It stops at the key "godtube". I'm assuming there are additional pages of definitions, but how do I get to the next page to see them?

When I imported, it said worked like a charm.

Is there a limitation on how many I can import?

ShackMaster 01-24-2012 06:33 PM

Quote:

Originally Posted by ShackMaster (Post 2291141)
facebook videos are not working for me. I have the latest AME and just imported the definition and enabled it. Currently I only have YouTube, Vimeo and facebook enabled.

Here is the link to where I am testing it in our forum:

http://www.hometheatershack.com/foru...tml#post490539

Here is the link to the facebook video:

https://www.facebook.com/pages/Value...c/107818673444

Here is the link from the facebook page I am trying to embed:

https://www.facebook.com/video/video...50484546314677

Any help is appreciated.

We figured this out... remove the "s" from "https".

j-bo 01-25-2012 09:27 PM

Quote:

Originally Posted by j-bo (Post 2291839)
Sorry.. I have a dumb question. How do I get ALL of the definitions to show up in the AME CP?

It stops at the key "godtube". I'm assuming there are additional pages of definitions, but how do I get to the next page to see them?

When I imported, it said worked like a charm.

Is there a limitation on how many I can import?

Anyone? I can't get vimeo and a lot of others to embed.

Yes.. I read the FAQ and see that sometimes it will only import half. I tried importing the others and it just won't import them, although it says it worked like a charm. Frustrating for newbies!

I even deleted a bunch that I didn't want and tried to re-import just vimeo, photobucket, and a few others and would not import.

Pahonix 01-26-2012 12:41 PM

Looks like the request forum is offline again...

This GameSpot video isn't parsing:

http://www.gamespot.com/the-secret-w...video-6349173/

Has GameSpot has changed their video URL scheme? Almost all that I can find at http://www.gamespot.com/videos/index.html are www.gamespot.com / <gamename> / videos / videoname-videoid which doesn't match either of the conditions in the two GameSpot definitions (at least what my limited knowledge of expressions tells me).


All times are GMT. The time now is 02:17 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.03056 seconds
  • Memory Usage 1,756KB
  • 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
  • (4)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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