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)

durham 01-27-2014 04:09 PM

Hi

Since I upgraded to 3.5.7. my Vimeo definitions have stopped working? And Vimeo is not in the definitions list - should it be?

I'm using vb 3.8.5. and vimeo has always worked in the past - but I did delete the definitions as instructed on the install. Perhaps I wasnt in 3.5.6?

Anyway how do I get vimeo back please?

Thanks

Durham

Digital Jedi 02-01-2014 02:46 PM

Quote:

Originally Posted by durham (Post 2477216)
Hi

Since I upgraded to 3.5.7. my Vimeo definitions have stopped working? And Vimeo is not in the definitions list - should it be?

I'm using vb 3.8.5. and vimeo has always worked in the past - but I did delete the definitions as instructed on the install. Perhaps I wasnt in 3.5.6?

Anyway how do I get vimeo back please?

Thanks

Durham

It should have been created during the upgrade. Try re-importing the product as if you were doing an upgrade. It should be created during this process.

daxxer 02-03-2014 03:27 AM

Hello, I first installed 2.5.6 autotagger from vbulletin.org but then saw you had taken it over and done 2.5.7. The 2.5.6 installed and uninstalled fine. However, I have attempted to install your 2.5.7 with no luck. I've downloaded the zip file a couple times and everything is in the correct place with the amecache set at 777 as well. When I import I get the following error:

XML Error: No error at Line 0

Then it hangs with the Importing Product, please wait ...

I am running 3.7.2 and have too many small changes on the templates to take a chance on upgrading vb and overwriting. Maybe this wouldn't be an issue, I don't know? I know just enough to get around and handle mod install and template changes etc. So basically I'm stuck with 3.7.2 and can't get past the above error. Any help is appreciated. Thanks

daxxer 02-03-2014 04:34 AM

Oh, and one thing I forgot. The version of php on my host's server is 5.3.28.

Thanks, Dax

durham 02-05-2014 07:33 PM

Quote:

Originally Posted by Digital Jedi (Post 2478399)
It should have been created during the upgrade. Try re-importing the product as if you were doing an upgrade. It should be created during this process.


I tried again but still not working for me. Should I go back to 2.5.6?

Digital Jedi 02-10-2014 05:53 PM

1 Attachment(s)
Quote:

Originally Posted by daxxer (Post 2478728)
Hello, I first installed 2.5.6 autotagger from vbulletin.org but then saw you had taken it over and done 2.5.7. The 2.5.6 installed and uninstalled fine. However, I have attempted to install your 2.5.7 with no luck. I've downloaded the zip file a couple times and everything is in the correct place with the amecache set at 777 as well. When I import I get the following error:

XML Error: No error at Line 0

Then it hangs with the Importing Product, please wait ...

I am running 3.7.2 and have too many small changes on the templates to take a chance on upgrading vb and overwriting. Maybe this wouldn't be an issue, I don't know? I know just enough to get around and handle mod install and template changes etc. So basically I'm stuck with 3.7.2 and can't get past the above error. Any help is appreciated. Thanks

I've actually only see this happen once before on 3.7.4, and we really couldn't track down a reasonable explanation for it: http://www.theadminzone.com/forums/s...d.php?t=105417

The only thing left that seemed reasonable was a security setting somewhere preventing the import. PHP and vB version don't seem to be the issue.

Quote:

Originally Posted by durham (Post 2479228)
I tried again but still not working for me. Should I go back to 2.5.6?

Going back won't really do anything. The definition doesn't exist in 2.5.6. I'll attach it here, but you should make a mental/physical note that you had to do this to get Vimeo and just keep on eye on the definition if you ever have to do another upgrade.

BirdOPrey5 03-01-2014 04:43 PM

Glad to see this mod get some new life!

I'm still on the older version but looking to update soon and wondering if anyone else has run into an issue and if maybe there is a fix?

I recently setup the VB Mobile Suite for my 3.x forum but any post that uses AME crashes the app. If I disable AME posts work fine, and if I use an actualy youtube BBCode the video embeds, but using AME it just crashes-

Wondering if anyone else out there is using the AME and VB Mobile Suite successfully?

the Sandman 03-01-2014 05:39 PM

I reported some months ago that I couldn't get AME 2.5.7 to work on The Admin Zone, and that after the attempt I could no longer get 2.5.6 working either even though it had worked before. Last week I migrated to a new server and moved Admin Extra over to it. TAZ needed some work first - Logician had to modify the vB 3.7 code to work with PHP 5.4. Once TAZ was moved to the new server, I reinstalled AME 2.5.7 and it seems to be working fine. Must have been the old outdated server hardware and software.

BTW, I've always used AME with the file caching disabled. How do I go about converting to having the file cache enabled?

Digital Jedi 03-06-2014 10:41 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2484476)
Glad to see this mod get some new life!

I'm still on the older version but looking to update soon and wondering if anyone else has run into an issue and if maybe there is a fix?

I recently setup the VB Mobile Suite for my 3.x forum but any post that uses AME crashes the app. If I disable AME posts work fine, and if I use an actualy youtube BBCode the video embeds, but using AME it just crashes-

Wondering if anyone else out there is using the AME and VB Mobile Suite successfully?

Have you observed it crashing with specific media websites, or does it just generally do so? For example, does it crash with games or music media as well? Or just YouTube? I'm unfamiliar with the mobile app and how all that's handled, but if it's basically using it's own templates, you could experiment with the AME conditionals being used in its particular ame_container template.

Quote:

Originally Posted by the Sandman (Post 2484487)
I reported some months ago that I couldn't get AME 2.5.7 to work on The Admin Zone, and that after the attempt I could no longer get 2.5.6 working either even though it had worked before. Last week I migrated to a new server and moved Admin Extra over to it. TAZ needed some work first - Logician had to modify the vB 3.7 code to work with PHP 5.4. Once TAZ was moved to the new server, I reinstalled AME 2.5.7 and it seems to be working fine. Must have been the old outdated server hardware and software.

BTW, I've always used AME with the file caching disabled. How do I go about converting to having the file cache enabled?

I'm glad you got that sorted. For the cache, it's as simple as entering in the path to the cache, making sure it's CHMOD'd 0777 and toggling the option on. You may need to resync the cache via the Tools menu.

the Sandman 03-07-2014 12:03 AM

Quote:

Originally Posted by Digital Jedi (Post 2485546)
I'm glad you got that sorted. For the cache, it's as simple as entering in the path to the cache, making sure it's CHMOD'd 0777 and toggling the option on. You may need to resync the cache via the Tools menu.

I tried that several times, but it breaks all of the existing embedded media. Could it be my XCache?

Also, do you have a link to the code for the youtube shortcut urls?

Digital Jedi 03-07-2014 07:06 AM

Quote:

Originally Posted by the Sandman (Post 2485558)
I tried that several times, but it breaks all of the existing embedded media. Could it be my XCache?

It could be. They should, essentially, be doing the same job. So you likely don't need AME's built in version.

Quote:

Also, do you have a link to the code for the youtube shortcut urls?
Yes, it's linked in the Add-On section for this mod above. I had to break the XML files up into volumes, but YouTube (Short URL) should be located in the final XML file.

the Sandman 03-07-2014 12:04 PM

Quote:

Originally Posted by Digital Jedi (Post 2485643)
Yes, it's linked in the Add-On section for this mod above. I had to break the XML files up into volumes, but YouTube (Short URL) should be located in the final XML file.

Thanks! That worked! :)

BirdOPrey5 03-07-2014 02:50 PM

Quote:

Originally Posted by Digital Jedi (Post 2485546)
Have you observed it crashing with specific media websites, or does it just generally do so? For example, does it crash with games or music media as well? Or just YouTube? I'm unfamiliar with the mobile app and how all that's handled, but if it's basically using it's own templates, you could experiment with the AME conditionals being used in its particular ame_container template.

Seems to be with any post that uses it.

If I make a plugin on postbit_display_complete that replaces all code in $post[message] with just say static "This is a test" it works fine, but if I try to edit the $post[message] array in anyway, say to remove text from it, it still crashes the app.

What is weird is the API log isn't even logging any data when I click on the bad posts, like something perhaps the app loads before I click on a post... Now that I type that out it gives me a better idea where to look.

weindians 03-20-2014 04:28 PM

Quote:

Originally Posted by durham (Post 2477216)
Hi

Since I upgraded to 3.5.7. my Vimeo definitions have stopped working? And Vimeo is not in the definitions list - should it be?

I'm using vb 3.8.5. and vimeo has always worked in the past - but I did delete the definitions as instructed on the install. Perhaps I wasnt in 3.5.6?

Anyway how do I get vimeo back please?

Thanks

Durham

I figured it out (both of us had same probelm). After you upgrading to 2.5.7, vimeo not in definitions list. You are likely end up with this problem if you have imported all definitions from here . One of the denition xml has definitions for embedding 2k videos and one of them has (i donno by mistake or not) vimeo replacement html in it and conflicting with original vimeo definitions and wont display in list or embed vimeo videos. So to check this best is go thru list and find 2k definitions and under key heading it will show vimeo ( i deleted it) and imorted vimeo.xml and everything working fine....

@Digital Jedi will look into this i hope

Digital Jedi 03-20-2014 07:44 PM

Quote:

Originally Posted by weindians (Post 2488586)
I figured it out (both of us had same probelm). After you upgrading to 2.5.7, vimeo not in definitions list. You are likely end up with this problem if you have imported all definitions from here . One of the denition xml has definitions for embedding 2k videos and one of them has (i donno by mistake or not) vimeo replacement html in it and conflicting with original vimeo definitions and wont display in list or embed vimeo videos. So to check this best is go thru list and find 2k definitions and under key heading it will show vimeo ( i deleted it) and imorted vimeo.xml and everything working fine....

@Digital Jedi will look into this i hope

The media repository doesn't have a definition for 2k.com, exactly. I have two for 2kSports.com, but that was for the old domain, and those definitions haven't been updated yet. Neither of those use any Vimeo embed code. With that said, Replacement HTML plays no part in conflicts. Multiple definitions use the same embed code, such as sites who host all their content on YouTube or BrightCove. Conflict results when two regex patterns try to match the same URL. On rare occasion, a URL string within an embed code can trigger an AME match, but as I mentioned, neither 2K Sports defs use any Vimeo code, and certainly shouldn't have vimeo as their key. Either you have definitions from another source, or you're running into a PHP/server configuration problem with vB3. I'm seeing this more the older vB3 gets, and in most cases, the problems only clear up once the site is moved to a new, updated server. I'm hoping it's not that drastic in your case.

weindians 03-21-2014 04:40 PM

but that was exactly the problem.. after importing all definitions i had 3 definitions total for 2ksports and under key information table it showed 'vimeo' and i checked the html replacement before deleting it(definitley vimeo code was there). And after deleting it conflict gone and i could import vimeo.xml you provided in previous page..

You can reproduce it if you are on 3.8.x and upgrade from 2.5.6 to .7 . i deleted all those youtube, vimeo, dailymotion etc before upgrade as advised here. and after upgrade all definitions given from legacy, local and vol 1-5 imported. Definetly there was no vimeo in the lists after full import. Then i decided to import vimceo.xml and i couldnt and i went digging it. Went through definition lists and i noticed for first definition for 2k sports under key area 'vimeo' was showing up. i got curious and opened it and i found vimeo code and i thought of deleting it and try as i dont use it. And then imported vimeo.xml and it worked and vimeo was showing up in posts.. Thats all i did and i thought of sahring it as i found another member @durham also has same issue ans he couldnt fix it

Digital Jedi 03-22-2014 06:38 AM

The link you posted was for 2k.com, and I definitely don't have a definition for that. So I wanted to make that clear first.

To also be clear, the reason you couldn't import the vimeo.xml file was because you had a definition with the same key. Not because of the embed code. Keys are designed to prevent duplicate definitions from importing. Apparently, your 2k Sports definitions merged with Vimeo upon upgrade, and this should not have happened. It certainly never happened during any of my test upgrades. The only thing I can think of is somehow they shared the same ID number in your database, and when you upgraded, it simply wrote in the data into 2k Sports as it would during an upgrade. Keeping part of one and adding in the other. I've not seen this happen on any other installation, so you may want to keep an eye out for any server hiccups.

joeychgo 03-24-2014 06:17 PM

are the regular youtube urls suppose to work?

ie:

Digital Jedi 03-24-2014 10:56 PM

Quote:

Originally Posted by joeychgo (Post 2489312)
are the regular youtube urls suppose to work?

ie:

Of course.

joeychgo 03-25-2014 02:32 AM

not working for me then -- other youtube links work but not the plain url

weindians 03-25-2014 11:57 AM

So that means , deleting the vimeo definitions before upgrade to 2.5.7 didnt work? , when i deleted those definitions, why the merging happen when imported 2.5.7 with overwrite. Do you think deleting didnt happen on server side and vimeo code in 2.5.7 happened to go into 2ksports definition and hide the vimeo in definition list? , then in 2.5.6 deleting definitions was not working properly.. so far no hiccups, may be b'coz i deleted that 2ksports definition already and imported vimeo separate and got it working as it should...

sorry for 2k.com , google gave me 2k.com and forum.2k.com for 2ksports videos search 'term'. i donno or use that , so no idea where the videos are... anyway i got it fixed and somebody else had same problem , thought of sharing ....

Digital Jedi 03-25-2014 04:52 PM

Quote:

Originally Posted by joeychgo (Post 2489399)
not working for me then -- other youtube links work but not the plain url

I tested the link to your Battleship video, and it embedded fine on my installation. By "other links", what type of links are you referring to?

Quote:

Originally Posted by weindians (Post 2489444)
So that means , deleting the vimeo definitions before upgrade to 2.5.7 didnt work? , when i deleted those definitions, why the merging happen when imported 2.5.7 with overwrite. Do you think deleting didnt happen on server side and vimeo code in 2.5.7 happened to go into 2ksports definition and hide the vimeo in definition list? , then in 2.5.6 deleting definitions was not working properly..

No, not at all. What likely happened is when you originally imported the 2K Sports definition the ID number created (ID numbers are how definitions are distinguished in the database) was coincidentally the same as the Vimeo definition that would one day be created during upgrade. AME tries to uninstall any definitions with the same ID numbers as the default set, but it probably missed it because it didn't have the same key. So when it added Vimeo to the database, it simply merged it into existing definition with the same ID. In this case, the 2K Sports def. This shouldn't happen too often, but if I see it reoccuring again, I'll try to adjust the upgrade code to avoid this.

joeychgo 03-25-2014 05:03 PM

Quote:

Originally Posted by Digital Jedi (Post 2489478)
I tested the link to your Battleship video, and it embedded fine on my installation. By "other links", what type of links are you referring to?

If I just use the plain url for the video (https://www.youtube.com/watch?v=_b4mVfTZ-XI) it doesn't come up on the forum, I just get a link.

See: http://www.forabodiesonly.com/mopar/...d.php?t=271282

Digital Jedi 03-25-2014 05:33 PM

Quote:

Originally Posted by joeychgo (Post 2489479)
If I just use the plain url for the video (https://www.youtube.com/watch?v=_b4mVfTZ-XI) it doesn't come up on the forum, I just get a link.

See: http://www.forabodiesonly.com/mopar/...d.php?t=271282

I see you have the Short URL definition from my repository thread. Do you still have the default YouTube definition that came with AME? This is the one that embeds regular YouTube links.

joeychgo 03-25-2014 05:47 PM

I think so -- how do I know? I have one that says You Tube, YouTube (Short URL), YouTube (Playlists), YouTube Playlists (Old)

Digital Jedi 03-25-2014 06:02 PM

It just says YouTube. Check to see if it's toggled on.

joeychgo 03-25-2014 06:12 PM

active, contain extract all checked... Display order 10

Digital Jedi 03-26-2014 04:55 AM

Quote:

Originally Posted by joeychgo (Post 2489508)
active, contain extract all checked... Display order 10

What version of AME are you running? Superficially, this sounds like AME 2.5.6.

joeychgo 03-26-2014 05:08 AM

2.5.7 -- just upgraded. Double checked to make sure

yotsume 03-28-2014 12:56 AM

<font size="3">SSL Certificate Fix:</font>

If your forum is encrypted by a SSL certificate making your entire site secure and using https... You will need to change every definition you use to hard code in https rather then http.

By default the definitions are http so this will show videos on your forum as blank space.

Easy fix! DONE! Now this MOD works on my secure forum.

Instructions for this maybe should be included in the ReadMe...

Gadget_Guy 03-28-2014 05:10 PM

Google maps has stopped working for me.

It looks like google has switched from using maps.google.ca / maps.google.com to www.google.com/maps

D.

yotsume 03-28-2014 05:27 PM

Quote:

Originally Posted by Gadget_Guy (Post 2490077)
Google maps has stopped working for me.

It looks like google has switched from using maps.google.ca / maps.google.com to www.google.com/maps

D.

Can't you just edit the definition and change all the URLs to the new URL to make it work again?

Gadget_Guy 03-28-2014 05:37 PM

Quote:

Originally Posted by yotsume (Post 2490080)
Can't you just edit the definition and change all the URLs to the new URL to make it work again?

I would if I knew how to change it properly.

I did this for the regular expression: Changing the maps\.google to www\.google

[https://]*www\.google\.com[\w.]*/[maps]*\?[\w]*=[\w+&;:='%,.-]+

But I think I now need to account for the /maps/ part in the URL now. Where do I put that?

Does this look right:

[https://]*www\.google\.com[\w.]+/maps\?*/[maps]*\?[\w]*=[\w+&;:='%,.-]+


???

D.

EnemyNSA 03-28-2014 06:14 PM

Installed, everything seems to be running smoothly! Thanks!

McFanski 04-01-2014 04:20 PM

Thanks for this hack

yotsume 04-04-2014 08:38 PM

Is there a way to edit the Youtube definition so that no related videos will show at the end?

Thanks...

joeychgo 04-04-2014 08:44 PM

Quote:

Originally Posted by joeychgo (Post 2489479)
If I just use the plain url for the video (https://www.youtube.com/watch?v=_b4mVfTZ-XI) it doesn't come up on the forum, I just get a link.

See: http://www.forabodiesonly.com/mopar/...d.php?t=271282


Still needing help here

Digital Jedi 04-04-2014 09:14 PM

Quote:

Originally Posted by joeychgo (Post 2491531)
Still needing help here

I'm not going to be online much this week. But I can look into it next week if you can give me temp admin access at that time. I tested the links in your thread, and I don't see any reason why they shouldn't be embedding. They all embedded fine for me.

joeychgo 04-04-2014 09:38 PM

Quote:

Originally Posted by Digital Jedi (Post 2491541)
I'm not going to be online much this week. But I can look into it next week if you can give me temp admin access at that time. I tested the links in your thread, and I don't see any reason why they shouldn't be embedding. They all embedded fine for me.

OK, just let me know when you have time and I'll set it up..

EnemyNSA 04-10-2014 04:16 PM

Quote:

Originally Posted by EnemyNSA (Post 2490088)
Installed, everything seems to be running smoothly! Thanks!

Quick question, since installing the mod.. web pages ending in ".aspx" seem to be crashing the page/post.

When I put in a link that ends in .aspx (for example, http://www.gameinformer.com/b/news/a...d-of-xbox.aspx) it seems like it's trying to convert the link but times out after a bit and doesn't get posted.

I honestly only ever have seen .aspx pages on Game Informer so it's not a huge deal, I tried to write a new definition.. but I am terrible :)

Thanks!


All times are GMT. The time now is 03:24 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.01536 seconds
  • Memory Usage 1,863KB
  • 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
  • (26)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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