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 - DJ's AME :: The Ultimate Automatic Media Embedder :: 2.5.7 (https://vborg.vbsupport.ru/showthread.php?t=303416)

Digital Jedi 04-10-2014 05:36 PM

Are you running only default definitions? There's no Game Informer there. Not even in my repository set. No Game Informer links should be trying to convert, and .aspx links wouldn't react without first matching the domain name.

EnemyNSA 04-10-2014 05:52 PM

Yep. My bad. Installed DBSEO at the same time, and it was it's URL rewrite rules. For some reason it crashes when trying to pull titles from .aspx pages.

Thanks for the reply though it forced me to use my brain for a second! :D

Digital Jedi 06-03-2014 07:20 PM

No updates for you at the moment, gang. We lost my wife's mom suddenly week before last, and now we're just getting back into our normal lives. Please give a me a few to get back into the swing of things.

creativepart 06-23-2014 06:21 PM

Quote:

I just updated one of my forums to AME 2.5.7. I uploaded the files (3 times and with a new download) and I uploaded the new main xml a couple of times with overwrite but I still only had YouTube and Amazon as video options showing in ame's AdminCP.

Products/Plugins shows AME 2.5.7.

So, I exported the missing standard video options from another of my websites - just the missing vimeo, etc -- and uploaded those via import.

Now those options show up in ame's admincp and are activated, but vimeo clips still aren't being embedded.

Is it a VB version issue? I'm running 3.7.3. As I mentioned I'm running 2.5.7 on a 3.8.7 vb install and it works just fine.
UPDATE: FIXED! Turns out I had to uninstall the Product XML and then reinstall it. That fixed everything. Thanks.

BlackxRam 07-13-2014 11:04 PM

Is Twitch.tv integration possible?

BlackxRam 07-13-2014 11:57 PM

Every time I try to embed something just doing testing with justin.tv it says External Embedding Not Available.

bmwfans 09-07-2014 02:21 PM

Many thanks for the hack it works great!!!

However we face a problem. Because previously we were using another hack to do this work, right now all the previous posted video links are just showing as link and do not embed.

Is there any query or fix for this issue?

p.s We have noticed that if you just press edit in a post and submit again without any change, the link converted correctly.

joeychgo 11-16-2014 01:51 PM

any idea why PDF files are displaying like this:

http://www.forabodiesonly.com/mopar/...26&postcount=1

desmomax 11-25-2014 08:57 AM

hy there,

thanks for this mod.

I installed the mod following instructions but it look like not working.

this post for example (youtube video):
http://www.ilbraccoitaliano.net/foru...2&postcount=57

what can i do?

many thanx

desmomax 11-25-2014 12:42 PM

.. still in trouble.. i imported all definitions as mentioned here
https://vborg.vbsupport.ru/showthrea...ight=goldbrick

but still no conversion in my post..


what can i do? after installing mod and defintions i need to do something else in order to convert url tag video in my old posts? i tried also to create new thread with a tag video inside but nothing..

lowlight 12-01-2014 08:33 AM

Is there a way to embed remotely hosted files, similar to how the locally hosted embedding works?

original'as 12-04-2014 01:22 PM

I can't delete some of DJ AME definitions, after selecting definitions to be deleted or not active and clicking save, it show display order saved, but doesn't do anything all settings stays the same. Any ideas?

I have moved my VPS recently, set new location for amecache and 777.

mykkal 02-20-2015 01:48 AM

I don't suppose there is a version that will work on vb5? We just upgraded and this is the one mod we didn't check :(

ozzy47 02-20-2015 09:08 AM

Nope, there is nothing like this for vB5.

mykkal 02-21-2015 10:46 PM

Quote:

Originally Posted by ozzy47 (Post 2538067)
Nope, there is nothing like this for vB5.

Damn so everyone that used AME for years is SOL now? That sucks... is here at least a way to transfer the embed code back to url form so there aren't weird characters and other things showing in old posts?

VB software kinda sucks now

Max Taxable 02-21-2015 11:12 PM

Quote:

Originally Posted by mykkal (Post 2538248)
Damn so everyone that used AME for years is SOL now? That sucks... is here at least a way to transfer the embed code back to url form so there aren't weird characters and other things showing in old posts?

VB software kinda sucks now

Alot of people revert to vB 4, which you can download from your members area at vbulletin dot com. Seen it done. Here most recently.

Guest210212002 03-17-2015 11:24 AM

Edit: Just a heads up.

Installation automatically rewrote all of my Amazon links to use DJ's affiliate ID. Using the tools to revert them, all of the URLs were no longer hotlinks, just raw text. I have to restore from a backup to undo this, because Amazon is a big revenue provider for my forum. Uninstalling the product and using the tool basically nuked several years of affiliated links from my site.

creativepart 03-17-2015 01:05 PM

Looking at the XML file for this mod the only Amazon coding I see is to format Amazon Video services. What is the AF ID you are seeing being applied?

Guest210212002 03-17-2015 01:34 PM

I should have been more specific - this mod, plus the definitions:

https://vborg.vbsupport.ru/showpost....03&postcount=3

Quote:

Amazon.com (Thumbnails) and (Links): The original Thumbnail version of the Amazon Links was created by nevetS in one of the old XML threads and it was the first definitions created to demonstrate turning product links into thumbnails rather then links.

Note that I have also included my affiliate IDs in these definitions, mainly because these are constructed on my live site. To work in your own affiliate ID in either the Links or Thumbnails definitions, look for the instances of the ?tag= in theReplacement HTMLand replace the following IDs with your own. Or, again, you can leave them in. Won't hurt my feelings.
I should have RTFP'd a bit better, heh. Uninstalling it, like I said, rewrote all of the URLs back to normal but none of them were actually parsed as links anymore. So I had hundreds of posts with amazon links that weren't click-able links anymore. Not fun.

creativepart 03-17-2015 02:11 PM

So, it was the one of the definitions - I'm not using his definitions package.

BirdOPrey5 03-20-2015 06:53 PM

Quote:

Originally Posted by mykkal (Post 2538051)
I don't suppose there is a version that will work on vb5? We just upgraded and this is the one mod we didn't check :(

Quote:

Originally Posted by ozzy47 (Post 2538067)
Nope, there is nothing like this for vB5.

VB5 has built in video embedding and my video embedding mod will automatically embed youtube and vimeo videos embedded with AME - https://vborg.vbsupport.ru/showthread.php?t=288954

Digital Jedi 05-06-2015 04:59 PM

Quote:

Originally Posted by Chris-777 (Post 2540711)
Edit: Just a heads up.

Installation automatically rewrote all of my Amazon links to use DJ's affiliate ID. Using the tools to revert them, all of the URLs were no longer hotlinks, just raw text. I have to restore from a backup to undo this, because Amazon is a big revenue provider for my forum. Uninstalling the product and using the tool basically nuked several years of affiliated links from my site.

I didn't see this when you first posted, but FYI for anyone coming across this later, you only have to edit the definition to replace your affiliate ID with your own. (Keeping in mind that caching of any kind may not properly reflect your changes right away.) My ID doesn't work anymore, and hasn't for a few years. It's just in there so you can change it and implement your own without a lot of fuss. I did, however, point that out in the FAQ. :)

Quote:

Originally Posted by Chris-777 (Post 2540726)
I should have been more specific - this mod, plus the definitions:

https://vborg.vbsupport.ru/showpost....03&postcount=3



I should have RTFP'd a bit better, heh. Uninstalling it, like I said, rewrote all of the URLs back to normal but none of them were actually parsed as links anymore. So I had hundreds of posts with amazon links that weren't click-able links anymore. Not fun.

Yes, an uninstall without running the conversion tools first will results in unparsed links. I was certain I had included this in the README, and it is mentioned in various places like in the Admin CP and the FAQ, but apparently I didn't include it in a prominent place. I'll be sure to put that in main README file to prevent any confusion in the future.

creativepart 05-07-2015 02:20 PM

Quote:

Originally Posted by Digital Jedi (Post 2544990)
I didn't see this when you first posted, but FYI for anyone coming across this later, you only have to edit the definition to replace your affiliate ID with your own. (Keeping in mind that caching of any kind may not properly reflect your changes right away.) My ID doesn't work anymore, and hasn't for a few years. It's just in there so you can change it and implement your own without a lot of fuss. I did, however, point that out in the FAQ. :)

The Amazon rewrite only applies to people activating the Amazon Video functions in this modification. Correct? If you install it without Amazon Video there is no issue??

Digital Jedi 05-09-2015 02:54 AM

Quote:

Originally Posted by creativepart (Post 2545042)
The Amazon rewrite only applies to people activating the Amazon Video functions in this modification. Correct? If you install it without Amazon Video there is no issue??

It only applies to posted links to Amazon products. (I'm unaware of any way to embed Amazon Videos.) But the links are editable within the definition. You simply add your own, or remove the ID string.

Gabe505 07-27-2015 10:42 PM

When a user posts a link to a video url such as;

http://www.worldstarhiphop.com/video...Jt34Y0079wW9uz

when they click "Submit Reply" the end result is a url like below

http://www.worldstarhiphop.com/video...Jt34Y0079wW9uz

Gabe505 07-27-2015 10:55 PM

Fixed, disregaurd my last post..

Disable New Items? Was set to yes

socialvisionsbcn 08-14-2015 01:27 PM

We just upgraded from 2.5.6.

It's very sad that, after all these years, the youtube definition still doesn't recognize short urls (youtu.be/...) :down:

yotsume 08-29-2015 09:03 PM

Is it possible to edit the Youtube main definition and Youtube Short URL definition so that when a video has finished playing no related videos show at the end?

What edits would I need to make?

letsroll 09-09-2015 02:50 PM

Is this the latest version or is there an upgrade to this I am unaware of? It will be installed onto a VB 4 platform, latest version.

Thanks,
Phil

VBFguy 09-28-2015 04:23 AM

Quote:

Originally Posted by yotsume (Post 2553872)
Is it possible to edit the Youtube main definition and Youtube Short URL definition so that when a video has finished playing no related videos show at the end?

What edits would I need to make?

Yes....Your Youtube replacement HTML should look like this:

<iframe width="$ameinfo[width]" height="$ameinfo[height]" src="http://www.youtube.com/embed/$p1?start=$p2" frameborder="0" allowfullscreen></iframe>

You want to add &amp;rel=0 to that output URL. (rel is the parameter for related, 0 means off).

I added that after the $p2, so it ends up being this:

<iframe width="$ameinfo[width]" height="$ameinfo[height]" src="http://www.youtube.com/embed/$p1?start=$p2&amp;rel=0" frameborder="0" allowfullscreen></iframe>


Make the same change to the Youtube short URL definition.

weindians 10-30-2015 03:28 AM

I have an issue with posting new threads with this add-on after upgrading to 3.8.9 (running php 5.5 or 5.6), new thread is not being taken to thread page, hanging there, but thread is actually posted... i individually disabled each plugins and A.M.E 2.5.7 is the culprit

Triky 10-30-2015 06:56 PM

If I link a youtube video like this, it convert it! And it shound't! Anyway to fix this?

Quote:

Originally Posted by weindians (Post 2557876)
i individually disabled each plugins and A.M.E 2.5.7 is the culprit

Probably it conflicts with other plugins.

weindians 10-31-2015 12:20 PM

Quote:

Originally Posted by Triky (Post 2557945)
Probably it conflicts with other plugins.

But in 3.8.7 they were'nt conflicting though.. Just an upgrade cause that, especially when 3.8.9 only added php 5.5-5.6 supported

Triky 11-01-2015 07:16 PM

Quote:

Originally Posted by weindians (Post 2558000)
But in 3.8.7 they were'nt conflicting though.. Just an upgrade cause that, especially when 3.8.9 only added php 5.5-5.6 supported

I had to unistall this one. I founded another BBcode that does the same and it's more pratical. You can read more here: https://theadminzone.com/threads/gen...eo-tag.136956/

woostar 11-26-2015 09:55 PM

Nice :) A request for any possible future release - Having a box where you can interact with the parts of the Regular Expression in PHP instead of (or as well as) Replacement HTML.

For example:

PHP
Code:

include('curl_parser.php);
Replacement HTML
Code:

<iframe src="http://www.domain.com/?var=$my_variables_from_curl_parser.php"></iframe>

OR

PHP
Code:

include('curl_parser.php);
echo myFunction($p1);


Would made interacting with social media API's a lot easier :)

socialvisionsbcn 01-21-2016 03:05 PM

From the readme:
Quote:

Delete custom definitions specifically for Amazon, Dailymotion, Metacafe, Vimeo and YouTube. (Key names: amazon, dailymotion, metacafe, vimeo and youtube) Theses five definitions are now hard coded into the product
Well, the definition for Vimeo is not installed when installing the product. So, I deleted the old one and no new one was installed :down::down:

Tourmeister 06-06-2016 04:55 PM

The AME definition I have for Google Maps is no longer working. Is there anyone with a working definition that would be willing to share it here? I am not a coder, so I really need to be able to just cut/paste the regular expression and replacement code if possible.

This is what I have for the regular expression that used to work:

Code:

https://maps\.google\.com[\w.]*/[maps]*\?[\w]*=[\w+&;='%,.-]+
and this is the replacement code:

Code:

<iframe width="800" height="600" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="$ameinfo[url]&output=svembed"></iframe>
I know nothing about how this stuff works...

Gabe505 06-30-2016 11:26 PM

Anyone have soundcloud links working?

RapRoyalty 07-11-2016 03:18 PM

Quote:

Originally Posted by Gabe505 (Post 2572656)
Anyone have soundcloud links working?

There may be a better way, but this is what works for us.

1. Register your app to get a client ID number.
2. Replace the previous Soundcloud Replacement expression with this...

Code:


<script src="https://connect.soundcloud.com/sdk/sdk-3.0.0.js"></script>
<script>
  SC.initialize({
    client_id: 'YOUR CLIENT ID NUMBER GOES HERE',
    redirect_uri: 'http://example.com/callback'
  });
</script>




<script src="https://w.soundcloud.com/player/api.js"></script>

<script type="text/javascript">    soundcloud.addEventListener('onPlayerReady', function(player, data) {      player.api_play();    }); </script> 

<div id="putTheWidgetHere"></div>
<script type="text/javascript">
  SC.oEmbed('http://soundcloud.com/$p1/$p2', {
    element: document.getElementById('putTheWidgetHere')
  });
</script>


<span style="text-align:center" class="smallfont">  <a href="$ameinfo[url]">$ameinfo[title]</a></span>

Example: http://www.rap-royalty.com/forum/aud...get-shook.html

You'll have to figure out the customization to what you want with the dimensions and look that you want it to be like, but otherwise, save and enjoy.

Gabe505 07-14-2016 12:38 AM

My problem is the soundcould links are automatically being turned into urls. Also, never had a app.. we've been using a custom bbcode.


All times are GMT. The time now is 04:48 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.01839 seconds
  • Memory Usage 1,846KB
  • 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
  • (6)bbcode_code_printable
  • (16)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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