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)

The Geek 01-02-2010 09:57 AM

Updated package

•Fixed file cache bug when rebuilding
•Prevented turning on cache with empty path setting
•Added ability to rebuild definitions after a vB4 default restore (i.e. an update)
•Fixed a few other bugs

way2xtreme 01-02-2010 08:20 PM

Hello Geek (& DJ):

I have just tried the code. it seems to work on the decoding part:

When previewing, it changes

Code:

http://MySite.com/P/?@4ATsy4DPut@
into

Code:

[video=MySite;@4ATsy4DPut@]http://MySite.com/P/?@4ATsy4DPut@[/video]

However, nothing gets shown as a result and I can't see my embed code in the html source. Actually, there isn't anything at all....

Thanks
WC

ps. I have downloaded the latest files.

Also, I have a bbcode that's working, is there a way to auto convert

Code:

http://MySite.com/P/?@4ATsy4DPut@
to

Code:

[MySite]http://MySite.com/P/?@4ATsy4DPut@[/MySite]
I think that makes more sense.. :)

The Geek 01-02-2010 10:02 PM

That URL doesnt bring up a valid page though? Maybe thats the problem. I used the example you posted earlier and it worked for me then.

way2xtreme 01-02-2010 11:10 PM

Quote:

Originally Posted by The Geek (Post 1945362)
That URL doesnt bring up a valid page though? Maybe thats the problem. I used the example you posted earlier and it worked for me then.

It brings up the page but doesn't show the embed... For example,

I type in

Code:

test 1
http://MySite.com/P/?@4ATsy4DPut@
test 2

and get this when published

Code:

test 1

test 2

When I edit post, I see
Code:

test 1
[video=MySite;@4ATsy4DPut@]http://MySite.com/P/?@4ATsy4DPut@[/video]
test 2


Then I check the html source, there is nothing between "test 1" and "test 2"

I think the decoding part is working, but it's ignoring my embed code (I checked many times to be sure the code is good, as a matter of fact, it is still working on my old forum with older version of AME)

Thanks :)

halino 01-03-2010 01:00 AM

Hi,

how must the code look like when I want to insert Videos from www.Trabzonum.TV with a Link like:
http://www.trabzonum.tv/musicvideo.php?vid=c9442c290

or a Link like:
http://www.trabzonum.tv/toulouse-0-1...c9442c290.html

I try to add a definition for trabzonum.tv to ame.xml, but it doesn't work..
Code:

<def>
                <providerid>9</providerid>
                <tagoption>trabzonumtv</tagoption>
                <provider>trabzonumtv</provider>
                <url>http://www.trabzonum.tv</url>
                <regex_url><![CDATA[http:\/\/www\.trabzonum\.tv\/musicvideo.php\?.*vid=([a-z0-9-_]+)]]></regex_url>
                <regex_scrape />
                <embed><![CDATA[<object type="application/x-shockwave-flash" width="576" height="432" data="http://www.trabzonum.tv/vid/{vb:raw code}">
        <param name="movie" value="http://www.trabzonum.tv/vid/{vb:raw code}" />
        <param name="wmode" value="transparent" />
</object>]]></embed>
                <priority>0</priority>
        </def>


thanks in advance..

Digital Jedi 01-03-2010 01:19 AM

Quote:

Originally Posted by The Geek (Post 1944789)
Try this, I don't have any embed code to go off of, but assume you can tweak if needed.

Note that because of the way vB4 deals with video parameters, you don't want a semi-colon in your parameter.

@DJ - Keep meaning to update the readme with an outline of the new formats, but keep getting side tracked :D

Because its really vB4 doing the video management, we are somewhat limited in some of the things we can do, but not many. The key restriction is that there can be only one parameter (and it can't contain a semicolon!). That parameter can be fetched from another site or from the URL. There are no other parameters that can be used in the embed code other than this parameter, so no titles, sizes, etc...

Il get to writing it soon enough!

One parameter? Does that mean $p2 and up are gone, too? If so, that will nerf more than half of the definitions set. :( Please tell me extraction is still possible.

gg2-hungama 01-03-2010 01:30 AM

i installed it but on forum i see links like this

Code:

[ame="http://www.dailymotion.com/video/xbelda_tum-mile-dvd-rip-part-7_shortfilms"]Dailymotion - Tum Mile *DVD Rip* Part 7 - a Film & TV video@@AMEPARAM@@http://www.dailymotion.com/swf/xbelda@@AMEPARAM@@xbelda[/ame]

dangerin 01-03-2010 07:47 AM

excuse me .. but i've read the instructions to update ame 3 to this last update.
actually i have 3.0.0 Beta 2a and the last is beta 3b correct? i can update directly this or i must find the others? and after in the instructione i read to import a gogo ame xml but i do not find anc in the files there are three xml files cpnav hook and product ( what i must import? )
sorry but is the second time that i try and other time i've crashed the site afetr update and remove .
thanks

The Geek 01-03-2010 10:14 AM

Quote:

Originally Posted by way2xtreme (Post 1945406)
It brings up the page but doesn't show the embed... For example,
Code:

test 1
http://MySite.com/P/?@4ATsy4DPut@
test 2


If you put http://MySite.com/P/?@4ATsy4DPut@ into a browser, it gives you a 404 so how can you be sure its the right embed code?!?

The Geek 01-03-2010 10:15 AM

Quote:

Originally Posted by Digital Jedi (Post 1945479)
One parameter? Does that mean $p2 and up are gone, too? If so, that will nerf more than half of the definitions set. :( Please tell me extraction is still possible.

Extraction is still possible, but only to grab 1 parameter :)

The Geek 01-03-2010 10:18 AM

Quote:

Originally Posted by dangerin (Post 1945720)
excuse me .. but i've read the instructions to update ame 3 to this last update.
actually i have 3.0.0 Beta 2a and the last is beta 3b correct? i can update directly this or i must find the others? and after in the instructione i read to import a gogo ame xml but i do not find anc in the files there are three xml files cpnav hook and product ( what i must import? )
sorry but is the second time that i try and other time i've crashed the site afetr update and remove .
thanks

I don't fully understand what you're saying.

If you are on beta2a, upload all the files from the upload_into_forum folder in your beta 3b zip into your forum (overwriting all existing files).
Go to your product manager and browse to the includes/xml/product-ame.xml file and import (choosing to overwrite).

This is outlined in the readme.

HTHs

The Geek 01-03-2010 10:48 AM

1 Attachment(s)
Quote:

Originally Posted by halino (Post 1945465)
Hi,

how must the code look like when I want to insert Videos from www.Trabzonum.TV with a Link like:

I just spent half an hour doing this one to match both examples you pasted. Please take the 2 seconds required to click install

Big-Pete 01-03-2010 11:01 AM

1 Attachment(s)
Im still getting an error when I update file cache via amecp, the error says could not find phrase 'ame_saved' any ideas what i've done wrong? im on ame 3 beta 3?

Also, when i paste a youtube URL im only getting the video info show as a link not the player as i did with ame 2.5 ??

EDIT: Sorted the player not showing, I had my numpty head on ;) just removed my numpty head and sorted the player out..

The Geek 01-03-2010 11:10 AM

the error is just a missing phrase. Actually, its a misnamed phrase. It won't have any bearing on how the system works.

Do you have AME2x uninstalled? If so have you rebuilt the posts to convert the old ame codes?

jaffaman 01-03-2010 12:17 PM

How do you go about adding break.com ?

I was looking at the old Break xml i have tried but i have no idea what i am doing lol i have tried.


Regex URL.........
Code:

http://]*[a-z]*?[\.]?break\.com/index/([\w-]+)\.html
break emb.........
Code:

<object type="application/x-shockwave-flash" width="400" height="345" data="http://embed.break.com/$p1/{vb:raw code}">
    <param name="movie" value="http://embed.break.com/$p1/{vb:raw code}" />
        <param name="wmode" value="transparent" />


halino 01-03-2010 01:21 PM

Quote:

Originally Posted by The Geek (Post 1945824)
I just spent half an hour doing this one to match both examples you pasted. Please take the 2 seconds required to click install

thanks a lot.. it works fine and now it's marked as installed too :up:

The Geek 01-03-2010 01:36 PM

Quote:

Originally Posted by jaffaman (Post 1945894)
How do you go about adding break.com ?

Just been looking into this. Looks like they have obfuscated the code like a few others recently. That basically means that you cannot get the video 'code' from the URL or the destination page. In other words, its a no go at least as far as I can see. :(

jaffaman 01-03-2010 01:37 PM

Ok thanks for looking in to it for me :)

The Geek 01-03-2010 02:16 PM

1 Attachment(s)
Ok, a bit more creativity and I finally cracked it :)

I clearly don't like being beaten down :D

nJoy

jaffaman 01-03-2010 02:57 PM

Mmmmm not working for me ? the post just shows up blank but when i edit the post the url shows...
Code:

[video=break;1594731]http://www.break.com/index/fat-guy-lake-cannonball-fail.html[/video]

The Geek 01-03-2010 03:23 PM

1 Attachment(s)
The above link works for me?

AME is doing its thing, hence the video code looking like it is. That means AME found it as a match, went to the website and grabbed the ID (1594731) and wrapped it all up for vB4's video parser. So not too sure what to say :(

*edit - attached is a screenie of the video above on my test board. This is editing the message so AME has already wrapped in [video] tags and shows like yours.

HTHs

jaffaman 01-03-2010 03:55 PM

Ok i just checked with I.E and its works but not useing firefox.

Thanks again for your help :)

The Geek 01-03-2010 03:59 PM

Quote:

Originally Posted by jaffaman (Post 1946085)
Ok i just checked with I.E and its works but not useing firefox.

Thanks again for your help :)

Hmmm. Ill check that out.

dangerin 01-03-2010 04:00 PM

hi geek .. i've tried to add another code to display the video of www.libero.it but it do not go ok..
can you help me in this ?
at the same mode i think to realize also yahoo video it's correct?
i've tried to copy and teach how is realized for other player but . . .
thank for all the job that you do. .

The Geek 01-03-2010 04:38 PM

Quote:

Originally Posted by jaffaman (Post 1946085)
Ok i just checked with I.E and its works but not useing firefox.

Thanks again for your help :)

Sorted out the break definition not working in FF. Re-uploaded it into the earlier post.

THanks!

way2xtreme 01-03-2010 04:38 PM

Quote:

Originally Posted by The Geek (Post 1945804)
If you put http://MySite.com/P/?@4ATsy4DPut@ into a browser, it gives you a 404 so how can you be sure its the right embed code?!?

Hi

The url is valid with the our domain name. It links to an embed adobe shockwave file (not flash video). I would love to pay a reasonable fee if you can fix the problem. Let me know if you have a few hours to do this :)

Thanks
WC

The Geek 01-03-2010 04:44 PM

its not really the hours, I just need to see examples of what combinations of URLs there are and what the expected embed code would be. Right now I can't do that based on the information you supplied :(

way2xtreme 01-03-2010 05:13 PM

PM sent, thanks ;)

jaffaman 01-03-2010 05:42 PM

Quote:

Originally Posted by The Geek (Post 1946120)
Sorted out the break definition not working in FF. Re-uploaded it into the earlier post.

THanks!

Thanks alot its working great m8 :)

compact123 01-03-2010 05:47 PM

this is wrong? doesnt work in my forum :)

http://img231.imageshack.us/img231/5172/adszz.png

The Geek 01-03-2010 05:57 PM

Did you follow directions in the read me for installing? i.e. editing the required hook?

compact123 01-03-2010 06:08 PM

yes sir i did, this is wrong? :)

http://img231.imageshack.us/img231/4568/adszys.png

The Geek 01-03-2010 06:20 PM

and you edited the hook mentioned and saved?

If so can you be a little more specific than "doesn't work?" i.e. can you link to a post that should be linking but isn't?

cooltechie 01-04-2010 03:26 PM

Used the 2.x version, uninstalled and now using this version.

Safe to delete the entire old amecache folder now?

Working so far. Thanks!!

macjoshua 01-04-2010 03:47 PM

Hit there,

is there a chance to youse the AME with my own flv-files? What should I do to work with it?

kalliey 01-04-2010 06:48 PM

Hello, thanks for this Hack, it works fine. :)

But where can i find the definitions for myvideo.de ?

The Geek 01-04-2010 09:43 PM

Quote:

Originally Posted by cooltechie (Post 1946984)
Used the 2.x version, uninstalled and now using this version.

Safe to delete the entire old amecache folder now?

Working so far. Thanks!!

Yup. Safe to delete all 2x files. These should all be listed in the ReadMe if you need em.

Quote:

Originally Posted by macjoshua (Post 1946998)
Hit there,

is there a chance to youse the AME with my own flv-files? What should I do to work with it?

I only occasionally do requests and haven't ever done any local hosted content, DJ was the master at that. I suspect he may whip some out soon (if we send him enough love) :)

Quote:

Originally Posted by kalliey (Post 1947136)
Hello, thanks for this Hack, it works fine. :)

But where can i find the definitions for myvideo.de ?

There aren't any that I know of. AME is still in Beta (till vB can fix the bug) and has just come out. Give it some time and the definitions will start to fall like Rain in Blackpool.

wheres me jumpa 01-05-2010 06:21 AM

Installed and working. Many thanks.

wildweaselmi 01-05-2010 03:51 PM

Works great on my site.

Only thing missing is support for local swf files like we had in version 3.8

Anyway that might be coming back and if so a rough idea when? All my QUIZZES utilize locally hosted swf files since no real good test taking mod exists. Using your mod and swf files worked VERY well in 3.8 so I am really really really hoping that locally hosted swf files will still be supported in 4.x

Thanks again for the great work "The Geek!"

Digital Jedi 01-05-2010 04:40 PM

Quote:

Originally Posted by The Geek (Post 1947279)
I only occasionally do requests and haven't ever done any local hosted content, DJ was the master at that. I suspect he may whip some out soon (if we send him enough love) :)

I don't mind doing a new set manually if I have to. The only problem we're going to run into is testing these. I know from doing these for the last year or so that a definition that works the first time is cause for a celebration, or at least a drink. I usually have to test a dozen or so to make sure they're working. Without a vB 4.0/AME 3 test board, it will be tough to make sure they're working and be tough to work out any mistakes in the code or RegExps. I might have to make them all Beta.


All times are GMT. The time now is 12:30 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.02472 seconds
  • Memory Usage 1,845KB
  • 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
  • (13)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