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)

Sushubh 01-09-2010 09:29 AM

and we are supposed to use the definitions from the 3.8 section?

The Geek 01-09-2010 09:46 AM

No, those are specific to AME2.5x

Sushubh 01-09-2010 09:52 AM

mmm so where are the definitions for this version for vb4? i am missing something i guess!

The Geek 01-09-2010 09:56 AM

AME is designed to allow users to create, modify and share definitions with one another. AMR3 comes supporting all of the sites vB4 supports and there have been a couple others released in this thread. Whether other users start to create and share more is up to the community, I suspect DJ (who has done ~180 definitions for AME2x) will most likely take the lead on porting many of his over, but until then its up to the community.

Sushubh 01-09-2010 10:01 AM

ah alright thanks! i was trying to import the old ones but of course it did not work out... :) i would try to see if i can make my own for the services that are popular on the forum.

ericgtr 01-09-2010 05:29 PM

Thanks for the update, I have a question regarding embeded MP3 attachments, I would like those to play inline in this version. Does this do that and if so can you direct me on how to implement it?

Digital Jedi 01-09-2010 10:49 PM

One more quick question, Geek. When creating a def through the AME CP you get some empty closed off tags on creation of the XML. e.g. <regex_scrape /> Do those tags need to be there when I create the XML from scratch?

Oh yeah, what was that about semicolons again?

ToNetU 01-09-2010 11:44 PM

why i have to rebuild posts [AME CP > tools] each time i post video link?
i think it should convert automatically after i post the video link without rebuilding it via AME CP?

am the only one who has this issue or it works like this!? [wierd]

thanks for this Mod. Geek

The Geek 01-10-2010 08:20 AM

Why on earth would you need to do that? Did you follow the installation instructions to edit your hook?

KURTZ 01-10-2010 12:29 PM

hi Geek, i've a trouble when i try to cache the ame ... i got this:

Code:

Warning: dir(/cache/) [function.dir]: failed to open dir: No such file or directory in [path]/includes/ame_cache.php on line 95
also i tried to leave blank (obviously i've cmodded 777 the ame folder)

Code:

Cannot write to . Check permissions on folder. File caching disabled until resolved.

VTXCafe.com 01-10-2010 01:45 PM

Cool mod, great work as usual Mr. Geek...I cannot get Hulu to work at all and Metacafe will work if I use tool>rebuild. I read and re-read this thread and the manual and can't see why it would not work. I have a clean install, running 4.0.0, and did the edit of includes/xml/hooks_vbcms.xml.

My question is this, in the title post after that you say "And save. Then Edit the plugin titled: AME - Auto Convert URLs. And click save." What do we edit in that plugin?

KURTZ 01-10-2010 02:06 PM

Quote:

Originally Posted by VTXCafe.com (Post 1951946)
My question is this, in the title post after that you say "And save. Then Edit the plugin titled: AME - Auto Convert URLs. And click save." What do we edit in that plugin?

if i understand correctly no edit is required ...

ToNetU 01-10-2010 02:28 PM

Quote:

Originally Posted by The Geek (Post 1951762)
Why on earth would you need to do that? Did you follow the installation instructions to edit your hook?

i think it's not that hard to install it? i will tell you excatly what i did:
1- uploaded the files.
2- import the xml file from the server.
3- delete: <hook>data_preparse_bbcode_video_start</hook> from includes/xml/hooks_vbcms.xml file!
4- rebuild posts.
done!

after that when i rebuilt posts the mod works fine but after i post another video link [youtube] i have to do the rebuild posts again because it shown the link not the video!

thanks! hope you can help me with this!

kall 01-10-2010 03:16 PM

Quote:

Originally Posted by ToNetU (Post 1951977)
i think it's not that hard to install it? i will tell you excatly what i did:
1- uploaded the files.
2- import the xml file from the server.
3- delete: <hook>data_preparse_bbcode_video_start</hook> from includes/xml/hooks_vbcms.xml file!
4- rebuild posts.
done!

after that when i rebuilt posts the mod works fine but after i post another video link [youtube] i have to do the rebuild posts again because it shown the link not the video!

thanks! hope you can help me with this!

Looks like you missed the step of going into the AME - Auto Convert URLs.

It's in the instructions, so it's probably pretty important.

ericgtr 01-10-2010 03:29 PM

Quote:

Originally Posted by ericgtr (Post 1951287)
Thanks for the update, I have a question regarding embeded MP3 attachments, I would like those to play inline in this version. Does this do that and if so can you direct me on how to implement it?

^ So is that a no?

ToNetU 01-10-2010 03:34 PM

Quote:

Originally Posted by kall (Post 1952014)
Looks like you missed the step of going into the AME - Auto Convert URLs.

It's in the instructions, so it's probably pretty important.

can you tell me excatly please what i have to do?

kall 01-10-2010 04:24 PM

Quote:

Originally Posted by ToNetU (Post 1952032)
can you tell me excatly please what i have to do?

AdminCP - Plugin Manager - find the plugin called "AME - Auto Convert URLs", open it, click Save (no need to edit anything).

(Plugin Manager and Plugins, NOT Product Manager and Products. We are looking for an individual Plugin that belongs to the AME product.)

ToNetU 01-10-2010 04:38 PM

Quote:

Originally Posted by kall (Post 1952069)
AdminCP - Plugin Manager - find the plugin called "AME - Auto Convert URLs", open it, click Save (no need to edit anything).

(Plugin Manager and Plugins, NOT Product Manager and Products. We are looking for an individual Plugin that belongs to the AME product.)

thanks alot mate works perfect now! :up:

Digital Jedi 01-10-2010 09:12 PM

Quote:

Originally Posted by VTXCafe.com (Post 1951946)
Cool mod, great work as usual Mr. Geek...I cannot get Hulu to work at all and Metacafe will work if I use tool>rebuild. I read and re-read this thread and the manual and can't see why it would not work. I have a clean install, running 4.0.0, and did the edit of includes/xml/hooks_vbcms.xml.

My question is this, in the title post after that you say "And save. Then Edit the plugin titled: AME - Auto Convert URLs. And click save." What do we edit in that plugin?

Nothing. You just open it up and then save.


Quote:

Originally Posted by ericgtr (Post 1952026)
^ So is that a no?

Not until a definition for MP3s is developed by someone.

Chicken Racer 01-10-2010 09:19 PM

Hi
I'm having trouble knowing what details to enter for , Regex URL, embed for this phpmotion site, www.realtytube.com.au

Can any one help me out with the correct details to add?
Thanks

Digital Jedi 01-10-2010 09:22 PM

Quote:

Originally Posted by Chicken Racer (Post 1952309)
Hi
I'm having trouble knowing what details to enter for , Regex URL, embed for this phpmotion site, www.realtytube.com.au

Can any one help me out with the correct details to add?
Thanks

There's a good RegEx tutorial at this site that explains the basics of what you need to know to develop Regular Expressions:

http://www.regular-expressions.info/

ericgtr 01-10-2010 09:32 PM

Quote:

Originally Posted by Digital Jedi (Post 1952301)
Not until a definition for MP3s is developed by someone.

Thanks for the response. I will keep an eye out for that.

team76 01-11-2010 09:30 AM

hello

Where is the product XML file?

The Geek 01-11-2010 09:36 AM

includes/product-ame.xml as per the readme.

KURTZ 01-11-2010 10:22 AM

what about my trouble? :)

The Geek 01-11-2010 10:44 AM

Sorry, you hadn't clicked install so I figured you had removed it.

The error is telling you that you have turned on file caching and given a path for the file cache that either doesn't exist or is not writeable (i.e. chmodded 0777 as per the readme).

HTHs

KURTZ 01-11-2010 11:23 AM

i haven't clicked 'install' cause right now i'm playing with my testing board ... :) but i'll use your hack for sure :P

anyways, i cmodded 777 the 'ame' folder ... but i can't cache the files ... (i also tried to create a new folder called 'cache' in the 'ame' folder - also 777 - but nothing to do ... any tip?

another question: what about the old features Geek? have you planned something?

The Geek 01-11-2010 12:01 PM

Then you need to double check the setting for the file cache. It needs to be the full path to the ame folder. That error is from a test I run to see if AME can write to the folder - she is saying she can't.

What other features are you after? For the most part vB4 + AME3 gives you about the same feature set as AME2.5x. As far as definitions, I seldom do those and leave it to the community to do (though its generally DJ that ends up doing them all :D )

Chicken Racer 01-11-2010 12:04 PM

Quote:

Originally Posted by Digital Jedi (Post 1952311)
There's a good RegEx tutorial at this site that explains the basics of what you need to know to develop Regular Expressions:

http://www.regular-expressions.info/

Thanks but 2 hours of reading and a download later I'm still confused as hell.
Can any one please help me out with what I require to enter into the Regex URL and Embed sections?
Site www.realtytube.com.au phpmotionv3

KURTZ 01-11-2010 12:10 PM

in the vB4 in the settings menu ive only the cache option, instead in the vB3 i've all the features ... i mean this ...

however, i just put all the path not only the folder, and it seems to be correct, but when i go to the 'tools' menu and i click 'update cache' i've this 'could not find phrase ame saved'

if you need i can give you an admin account so you can see averything onto my testing board ... :)

The Geek 01-11-2010 12:18 PM

The missing phrase is a known issue and only cosmetic so I have't bothered to update the package as it doesn't affect anything.

As to the other ame2.5x settings, the options really wouldn't work with vB4.

@Chicken - if you want someone to write a custom definition for you, you are best posting the request with a few different URLs and their embed code as examples to work from.

Chicken Racer 01-11-2010 12:28 PM

The Geek
Sorry for my lack of knowledge but I have tried to understand the tutorial but my eyes are burning and clearly it went over my head.
I hope I have pasted the correct details required as examples?

http://www.realtytube.com.au/videos/...ate-kensington

http://www.realtytube.com.au/play.php?vid=16


Code:

<object type="application/x-shockwave-flash" data="http://www.realtytube.com.au/flvplayer.swf" quality="high" width="480" height="336"><param name="movie" value="http://www.realtytube.com.au/flvplayer.swf" /><param name="allowFullScreen" value="true" /><param name="FlashVars" value="file=1rPSvuussPDFbEKJ3Rfc.flv&streamer=http://www.realtytube.com.au/includes/xmoov.php&width=480&height=336&displaywidth=480&displayheight=336&stretching=exactfit&autostart=false&logo=http://www.realtytube.com.au/themes/promotion/images/logo-player.png&image=http://www.realtytube.com.au/uploads/player_thumbs/1rPSvuussPDFbEKJ3Rfc.jpg&backcolor=cccccc&frontcolor=213F20&lightcolor=2f772e&screencolor=666666&plugins=drelated-1&drelated.dxmlpath=http://www.realtytube.com.au/recommendations.php&drelated.dposition=bottom&drelated.dskin=http://www.realtytube.com.au/grayskin.swf&drelated.dtarget=_parent" /><param name="wmode" value="transparent" /><param name="allowScriptAccess" value="always" /></object>

Stryker412 01-11-2010 06:49 PM

Quote:

Originally Posted by The Geek (Post 1950653)
thanks for the heads up. Can you give me the link that was borking out for you?

http://www.hulu.com/watch/112304/fam...rkside-trailer

Digital Jedi 01-11-2010 07:00 PM

Quote:

Originally Posted by The Geek (Post 1952674)
What other features are you after? For the most part vB4 + AME3 gives you about the same feature set as AME2.5x. As far as definitions, I seldom do those and leave it to the community to do (though its generally DJ that ends up doing them all :D )

I don't know what your talking about.

>_>

<_<

>_>

Stop looking at me.

Hey, did you by chance see my last post? I think it got lost in all the concussion.

L-Mane 01-11-2010 07:17 PM

Are there going to be ones for WorldstarHipHop, MTV, OnSmash?

insidedesign 01-11-2010 10:38 PM

If I want to change the video embed display size of all new and existing video embeds, what would be the process of doing this?

I have already updated the display code. What do I do next to fix the videos already in place throughout the forum?

The Geek 01-12-2010 07:38 AM

Edit the definitions you want to change (the embed code). This will change all instances of that definition except for those posts that vB has in its cache (if you have it on). Turn it off and/or rebuild the last weeks worth of posts or what not.

Thanks

@et. all: Should get to any other outstanding issues today.

Chicken Racer 01-12-2010 10:39 AM

Quote:

Originally Posted by Chicken Racer (Post 1952691)
The Geek
Sorry for my lack of knowledge but I have tried to understand the tutorial but my eyes are burning and clearly it went over my head.
I hope I have pasted the correct details required as examples?

http://www.realtytube.com.au/videos/...ate-kensington

http://www.realtytube.com.au/play.php?vid=16


Code:

<object type="application/x-shockwave-flash" data="http://www.realtytube.com.au/flvplayer.swf" quality="high" width="480" height="336"><param name="movie" value="http://www.realtytube.com.au/flvplayer.swf" /><param name="allowFullScreen" value="true" /><param name="FlashVars" value="file=1rPSvuussPDFbEKJ3Rfc.flv&streamer=http://www.realtytube.com.au/includes/xmoov.php&width=480&height=336&displaywidth=480&displayheight=336&stretching=exactfit&autostart=false&logo=http://www.realtytube.com.au/themes/promotion/images/logo-player.png&image=http://www.realtytube.com.au/uploads/player_thumbs/1rPSvuussPDFbEKJ3Rfc.jpg&backcolor=cccccc&frontcolor=213F20&lightcolor=2f772e&screencolor=666666&plugins=drelated-1&drelated.dxmlpath=http://www.realtytube.com.au/recommendations.php&drelated.dposition=bottom&drelated.dskin=http://www.realtytube.com.au/grayskin.swf&drelated.dtarget=_parent" /><param name="wmode" value="transparent" /><param name="allowScriptAccess" value="always" /></object>

Any one? help please with my question?

I'm having trouble knowing what details to enter for , Regex URL, embed for this phpmotion site

KURTZ 01-12-2010 12:22 PM

Quote:

Originally Posted by The Geek (Post 1952685)
The missing phrase is a known issue and only cosmetic so I have't bothered to update the package as it doesn't affect anything.

As to the other ame2.5x settings, the options really wouldn't work with vB4.

@Chicken - if you want someone to write a custom definition for you, you are best posting the request with a few different URLs and their embed code as examples to work from.

so no content box and resize for the vB4? :(

The Geek 01-12-2010 02:52 PM

@Kurt: Nope. There isn't the ability to override vB4's way of displaying the output. You could technically add container code around the output of the bbcode_video template, but it will get overwritten when vB or AME rebuilds the template. Furthermore vB only puls 1 parameter from offsite so you wouldn't be able to pull the title in like AME2.x
Sizes are also limited as vB hard codes these into the embed code, but gets around some of these limitations via CSS. So technically you can override the size via teh CSS technique (this is how AME'fy does it).

@Chicken: This is why I avoid getting into custom definitions. It over takes your life and these aren't always quick and easy to do. Saying that I did one for you but noticed an AME bug in the process that I will need to fix before I release it.


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.01812 seconds
  • Memory Usage 1,847KB
  • 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
  • (4)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