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 :)


All times are GMT. The time now is 07:17 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.01990 seconds
  • Memory Usage 1,755KB
  • 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
  • (10)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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