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 06-19-2013 07:19 AM

Quote:

Originally Posted by idan356 (Post 2428329)
Hi, I'm trying to make a dropbox player.
This is what I tried but I can't make it work.
What's wrong?

The Original Link (Example):
https://www.dropbox.com/s/n4htlu6gwy...%20Edit%29.mp3

Regular expression:
http[s]*://www\.dropbox\.com/s/([\w]+)/([\w_-#&\%^]+)\.mp3

Replacement:
<object type="application/x-shockwave-flash" data="/misc/audio-player/player.swf" id="audioplayer" height="24" width="290"> <param name="movie" value="/misc/audio-player/player.swf"> <param name="FlashVars" value="playerID=audioplayer&amp;soundFile=https%3A %2F%2Fwww\.dropbox\.com/s/$p1%2F$p2.mp3?dl=1"> <param name="quality" value="high"> <param name="menu" value="false"> <param name="wmode" value="transparent"> </object>

I don't know too much about embedding Dropbox audio, but I can tell you that your regex shouldn't have the - in the center of the group. It treats the _ and # as a span like it would between 0-9. Move the dash to just after the caret symbol ^. That, at the very least, will give you a valid regex pattern.



Quote:

Originally Posted by MonkYZ (Post 2428715)
Hi Digital Jedi!

I am trying to use your XML media definitions on my AME3, but i am getting some error "You appear to be trying to import old AME definitions. You can only import definitions made in 3.x".

I don't understand... the definitions are newer... and isn't AME3 newer than AME 2.5?

What should i use to make these definitions work?

Thanks in advance!

AME 3 is newer, but these definitions are for 2.5 only. AME 3 requires a whole different set be written, which I'm currently trying to work on.


Quote:

Originally Posted by MonkYZ (Post 2428716)

Only if you're using vBulletin 3.x. AME 2.5 will not work on the vBulletin 4 series, and vice versa.


Quote:

Originally Posted by kshymkiw (Post 2428927)
It does end with </AME>

I removed some of the Imports, and just trying to do Youtube. It says the display order has been saved, but when I go to display defintions, it says there is no definitions.

That definitely sounds like a server issue. And we seem to be running into more and more of these as vB 3 gets older. Try checking with your host to see if limits are set on what can saved or submitted by scripts on your server.

MonkYZ 06-19-2013 08:04 AM

Oh, thanks for the answer. Well, i'm holding my breath for your definitions for AME 3 then :)
Can we donate to speed things up? :)

Digital Jedi 06-19-2013 03:34 PM

Quote:

Originally Posted by MonkYZ (Post 2429068)
Oh, thanks for the answer. Well, i'm holding my breath for your definitions for AME 3 then :)
Can we donate to speed things up? :)

I would hate to say yeah, and then one of those Digital Jedi things happens again, where something just ridiculously obscure happens to delay me from working on the project. But if folks really would like to see AME 3 definitions sooner than later, then I can try and put it on one of the front burners. I plan on making them one way or another, I just know my time estimates have always been way off in the past. I never want to discourage people from giving me money, though. :p

davew 06-23-2013 11:14 AM

Apologies if this has been covered already, but I've searched every way I can without finding a solution.

Installing the last Master xml file appears to have broken existing links to photobucket images.

The code for the Images ends with .jpg.html ? EG https://vborg.vbsupport.ru/external/2013/06/1.html

Dropping the .html works, but shouldn't AME be taking care of that?

Any suggestions appreciated :)

Cheers,
Dave

Digital Jedi 06-24-2013 03:43 PM

Quote:

Originally Posted by davew (Post 2429962)
Apologies if this has been covered already, but I've searched every way I can without finding a solution.

Installing the last Master xml file appears to have broken existing links to photobucket images.

The code for the Images ends with .jpg.html ? EG http://s634.photobucket.com/user/wjp...ts001.jpg.html

Dropping the .html works, but shouldn't AME be taking care of that?

Any suggestions appreciated :)

Cheers,
Dave

Image pages should be being ignored completely by AME. No parsing should be taking place except for when you use a video page, so I'm not sure what's happening there. In fact, from checking just now, Photobucket has moved all their video URLs, so even video wouldn't be parsing properly at the moment. Do you possibly have another modifications installed that affects URLs?

rockerzteam 06-24-2013 06:40 PM

CNN Videos do not work! Can we please get this fixed.

wacnstac 06-25-2013 07:53 PM

Hey Jedi, we are having an issue updating the XML file for a site that is running 3.8.X and AME 2.5.6. We are trying to import all from latest XML delta file and keep getting the error:

PHP Code:

Can not save Import because of the following error(s):

    
Some keys are empty
    
Some keys contain invalid characters and must be validated prior to import

We've delete all the definitions from the AME table, uninstalled and reinstalled the AME plugin but keep getting the same error. Any suggestions?

davew 07-01-2013 05:49 AM

Quote:

Originally Posted by Digital Jedi (Post 2430199)
Image pages should be being ignored completely by AME. No parsing should be taking place except for when you use a video page, so I'm not sure what's happening there. In fact, from checking just now, Photobucket has moved all their video URLs, so even video wouldn't be parsing properly at the moment. Do you possibly have another modifications installed that affects URLs?

I don't believe I have, but I'll take a good look at it it tonight..

Thanks for the reply, much appreciated!

Cheers,
Dave

gabrielt 08-01-2013 09:38 PM

Same issue here:

Quote:

Can not save Import because of the following error(s):
Some keys are empty
Some keys contain invalid characters and must be validated prior to import.
I tried checking only a few of the definitions; it says "imported like a charm," however the new definitions don't show up under "Display Definitions." HELP.

Jamey 08-10-2013 01:16 AM

I can't get photobucket videos to work. Any ideas?


All times are GMT. The time now is 05: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.04193 seconds
  • Memory Usage 1,754KB
  • 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_php_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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