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)
-   -   BB Code Enhancements - AME3 - Auto Media Embeding and Video Extender (https://vborg.vbsupport.ru/showthread.php?t=230707)

Chicken Racer 01-13-2010 07:11 AM

The Geek, if its not easy ... I have no chance then..lol
I would be very great full if you could help me out as I have searched, read and asked all over the net.
The guys from phpmotion suggested I ask the creator of the mod, I guess it was a little to difficult for them.
I hope you find a fix soon.

Thanks again for your time.

dieKetzer 01-13-2010 08:48 AM

works perfect, just as i expected it would.
thanks mate.

VTXCafe.com 01-13-2010 12:15 PM

Humm....I upgraded to 4.0.1 last night and when I enable this mod the new post and new thread goes to a blank page when trying to submit either. I double checked the file edit on includes/xml/hooks_vbcms.xml and that is still removed.

Anyone else did the upgrade and having this problem?

The Geek 01-13-2010 12:58 PM

1 Attachment(s)
Quote:

Originally Posted by Chicken Racer (Post 1954206)
The Geek, if its not easy ... I have no chance then..lol
I would be very great full if you could help me out as I have searched, read and asked all over the net.
The guys from phpmotion suggested I ask the creator of the mod, I guess it was a little to difficult for them.
I hope you find a fix soon.

Thanks again for your time.

The issue I had wasn't the definition it was a bug I found in a routine. Anyway. Here it is.

The Geek 01-13-2010 01:00 PM

Quote:

Originally Posted by VTXCafe.com (Post 1954345)
Humm....I upgraded to 4.0.1 last night and when I enable this mod the new post and new thread goes to a blank page when trying to submit either. I double checked the file edit on includes/xml/hooks_vbcms.xml and that is still removed.

Anyone else did the upgrade and having this problem?

I've just checked 4.0.1 and all is fine here that I can see. They even fixed the hook_vbcms.xml bug. Can you try a reinstall?

The Geek 01-13-2010 01:04 PM

I have updated the package which takes care of a missing phrase and a potential bug rebuilding templates.

Upgrade as normal by replacing all files and reimporting the product xml.

Note that I am going ahead and releasing as completed as the only real issue was the 4.0.0 bug mentioned in the OP. Since that is now taken care of, I can't really think of anything else to do with it.

Note that upgrading vB MAY replace your custom definitions. If that is the case, use the AME CP > Tools > Restore option thats what its there for! Just note that option restores your definitions up to the last time you saved one. IMO its always a good idea to export your definitions as a backup anyway.

nJoy

The Geek 01-13-2010 01:05 PM

BTW: For those of you that haven't tried the AMEfy addon... you really should. I think it seriously rocks :)

https://vborg.vbsupport.ru/showthread.php?t=231814

Big-Pete 01-13-2010 01:19 PM

Cheers Geek, Much appreciated :up::D

KURTZ 01-13-2010 01:21 PM

Quote:

Originally Posted by The Geek (Post 1954370)
I've just checked 4.0.1 and all is fine here that I can see. They even fixed the hook_vbcms.xml bug. Can you try a reinstall?

with the 4.0.1 and the older version, no troubles here :)

VonDoom 01-13-2010 01:41 PM

Quote:

BTW: For those of you that haven't tried the AMEfy addon... you really should. I think it seriously rocks
thats an understatement. it freaking rocks ba**s :D

Doctor Death 01-13-2010 02:51 PM

Did VB 4.0.1 get rid of the

Quote:

<hook>data_preparse_bbcode_video_start</hook>
issue or does that file still need to be edited???

Thanks, great mod.

The Geek 01-13-2010 03:21 PM

Yup. You only need to do that on versions pre 4.0.1

Doctor Death 01-13-2010 03:22 PM

Excellent news, thank you!

ShawnV 01-13-2010 03:35 PM

Quote:

Originally Posted by VonDoom (Post 1954415)
thats an understatement. it freaking rocks ba**s :D

Agreed, now if we could only get some "Music Playlist" definitions. :D

Chicken Racer 01-13-2010 09:08 PM

The Geek ...you rock , thanks awesome ...works great. I owe you!

VTXCafe.com 01-14-2010 12:17 AM

Quote:

Originally Posted by The Geek (Post 1954370)
I've just checked 4.0.1 and all is fine here that I can see. They even fixed the hook_vbcms.xml bug. Can you try a reinstall?

Geek, I reinstalled and posting works with this mod now. However Youtube and Metacafe seem to work, can't get Viemo, Google, Facebook, or Hulu to convert...it only shows the links.

Any suggestions?

InfoAddict 01-14-2010 04:03 AM

Same here still.

It manages to create the correct code when a YouTube link is posted:

Code:

[video=youtube;NvlbAItBdK4]http://www.youtube.com/watch?v=NvlbAItBdK4[/video]
But just displays it as a link:

http://gamers-underground.com/media-...-released.html

So it's like half working - just not the good half :)

The Geek 01-14-2010 08:42 AM

But vtx just said youtube was working? THat link works for me? If you edit and save does it work?

fishmaster 01-14-2010 09:42 AM

....... ......... .........

The Geek 01-14-2010 11:03 AM

sure

The Geek 01-14-2010 11:20 AM

Peeps, also make sure that your post options to convert URLs and also to convert videos is on.

VTXCafe.com 01-14-2010 01:17 PM

Quote:

Originally Posted by The Geek (Post 1955374)
Peeps, also make sure that your post options to convert URLs and also to convert videos is on.

You are talking about the two check boxes in the posting area? If so they are checked by default. In my case the mod is working but just for a few of the services...any ideas?

The Geek 01-14-2010 01:27 PM

You need to post URLs that aren't working. IIRC there was also a bug in vB4 where the automatically convert URLs wasn't always ticked.

VTXCafe.com 01-14-2010 01:37 PM

Quote:

Originally Posted by The Geek (Post 1955491)
You need to post URLs that aren't working. IIRC there was also a bug in vB4 where the automatically convert URLs wasn't always ticked.


Here is one that will not convert:

http://www.vimeo.com/hd#8677818

The Geek 01-14-2010 01:54 PM

The problem is that vB4 won't parse that. I am assuming it is in a different format than vB4 expects.

If it won't work via the video popup box, it won't work with AME3. A custom definition or altered one will have to be made.

Digital Jedi 01-14-2010 05:12 PM

It's the pound symbol added to the HD links. I doubt the default definition accounted for that, as I never even noticed it when I did the custom one for 2.5. And I spent quite a while on Vimeo checking for alternate URLs.

movslow 01-14-2010 06:33 PM

Just upgraded the forum to 4.0.1, and upgraded AME as well to the lastest version, seems good so far.
:up:

InfoAddict 01-14-2010 07:24 PM

Quote:

Originally Posted by The Geek (Post 1955374)
Peeps, also make sure that your post options to convert URLs and also to convert videos is on.

How do I check this?

Digital Jedi 01-14-2010 07:32 PM

Quote:

Originally Posted by InfoAddict (Post 1955873)
How do I check this?

Right below your text editor.

InfoAddict 01-14-2010 07:40 PM

This post:

http://gamers-underground.com/media-...-released.html

Did not have auto-convert-videos ticked. I ticked it - still no go.

I then removed the link (and it's associated [video] encoding) and reposted it and saved it with the auto-convert-video ticked. It redid the code part:

Code:

[video=youtube;NvlbAItBdK4]http://www.youtube.com/watch?v=NvlbAItBdK4[/video]
But as you can see still displays it as a link rather than an embed.

The Geek 01-14-2010 07:56 PM

I downloaded a fresh 4.0.1 and the exact version of AME uploaded here and installed. Pasted that link and its fine.

If you are getting the video code like above, AME is doing her 'thing'. AME3 takes what WAS a link in a [url] tag and puts it in the correct video tag for vB4 to process. AME3 no longer does the actual parsing.

Can you check your bbcode_video template to ensure that there is the correct youtube dembed code in there?

InfoAddict 01-14-2010 08:46 PM

Here is the relevant section for YouTube:

Code:

<vb:elseif condition="$provider == 'youtube'" />
<object class="restrain" type="application/x-shockwave-flash" width="540" height="325" data="http://www.youtube.com/v/{vb:raw code}">
        <param name="movie" value="http://www.youtube.com/v/{vb:raw code}" />
        <param name="wmode" value="transparent" />
</object>


Digital Jedi 01-14-2010 09:19 PM

1 Attachment(s)
If there are any brave souls out there willing to give this a try, here's a BETA version of my Master XML. But it's COMPLETELY untested. If it imports okay for you, then I'll go ahead and start a new mod thread and we can troubleshoot anything else from there.

Just remember, I don't have vB 4 installed, so I'll need feedback once the new thread is started to sort these things out.

TyPenn613 01-15-2010 05:17 AM

I followed the instructions and everything seems to be correct except my video links don't automatically code themselves.

I took out the line of code, edit the AME and click save. No errors or anything, but no results either. Am I missing something?

SemperFideles 01-15-2010 01:02 PM

I first want to say thank you as I don't want you to believe I am ungrateful for this hack. When I upgraded to v4.0.1, AME still works but I am now receiving a very odd problem related to the Report Post feature of the board.

I reported this as a bug and it could not be reproduced: http://www.vbulletin.com/forum/proje...?issueid=35302

I then disabled all my plugins and the "bug" went away. I proceeded to disable all plugins one at a time and narrowed it down to AME causing the problem.

Without having to go to the link provided, if a user reports a post in which something is surrounded in quotes as "p's" and "q's" then when the reported post appears in the Reported Post forum, escape characters are being inserted.

For instance. If a user reports a post that contains:

Quote:

Mind your "p's" and "q's"
It comes out in Reported Posts as

Quote:

Mind your \"p's\" and \"q's\"
I don't know why AME would interfere with the Reported Post feature but, as I stated, if I disable the plugin, then the problem goes away. In the grand scheme of bugs, it is an annoyance but one I hope you can fix.

SemperFideles 01-15-2010 01:27 PM

Quote:

Originally Posted by Digital Jedi (Post 1956001)
If there are any brave souls out there willing to give this a try, here's a BETA version of my Master XML. But it's COMPLETELY untested. If it imports okay for you, then I'll go ahead and start a new mod thread and we can troubleshoot anything else from there.

Just remember, I don't have vB 4 installed, so I'll need feedback once the new thread is started to sort these things out.

Uploaded, installed and then tried an Amazon link and it didn't work. The link was gone once I saved.

The Geek 01-15-2010 01:56 PM

I think I know what may be causing the issue you mentioned and AME3 is most likely the culprit. I will look into best way to resolve and let you know and/or update the package.

HTHs

Digital Jedi 01-15-2010 04:00 PM

Quote:

Originally Posted by SemperFideles (Post 1956465)
Uploaded, installed and then tried an Amazon link and it didn't work. The link was gone once I saved.

But the file did import okay? Alright, then, I just wanted to make sure it would actually go through first. If it at least a couple of other people can verify they had a successful import, I'll go ahead and start a new thread and handle more specific support questions there, so we don't clog the main AME thread with definition specific questions. Thanks.

jaffaman 01-15-2010 04:27 PM

Trying on a test site and the DJ's Master XML (AME 3) did import ok the test site is running vBulletin? Version 4.0.1

I will try and go through whats working and whats not :) Thanks for your hard work :)

SemperFideles 01-15-2010 04:37 PM

Quote:

Originally Posted by Digital Jedi (Post 1956626)
But the file did import okay?

Just to confirm: Yes, the xml imported properly and all the definitions were available.


All times are GMT. The time now is 11:12 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.03072 seconds
  • Memory Usage 1,831KB
  • 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
  • (3)bbcode_code_printable
  • (16)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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